Lines Matching refs:mbx
1200 struct qed_iov_vf_mbx *mbx = &p_vf->vf_mbx; in qed_iov_send_response() local
1204 mbx->reply_virt->default_resp.hdr.status = status; in qed_iov_send_response()
1206 qed_dp_tlv_list(p_hwfn, mbx->reply_virt); in qed_iov_send_response()
1214 qed_dmae_host2host(p_hwfn, p_ptt, mbx->reply_phys + sizeof(u64), in qed_iov_send_response()
1215 mbx->req_virt->first_tlv.reply_address + in qed_iov_send_response()
1228 qed_dmae_host2host(p_hwfn, p_ptt, mbx->reply_phys, in qed_iov_send_response()
1229 mbx->req_virt->first_tlv.reply_address, in qed_iov_send_response()
1307 struct qed_iov_vf_mbx *mbx = &vf_info->vf_mbx; in qed_iov_prepare_resp() local
1309 mbx->offset = (u8 *)mbx->reply_virt; in qed_iov_prepare_resp()
1311 qed_add_tlv(p_hwfn, &mbx->offset, type, length); in qed_iov_prepare_resp()
1312 qed_add_tlv(p_hwfn, &mbx->offset, CHANNEL_TLV_LIST_END, in qed_iov_prepare_resp()
1539 struct qed_iov_vf_mbx *mbx = &vf->vf_mbx; in qed_iov_vf_mbx_acquire() local
1540 struct pfvf_acquire_resp_tlv *resp = &mbx->reply_virt->acquire_resp; in qed_iov_vf_mbx_acquire()
1542 struct vfpf_acquire_tlv *req = &mbx->req_virt->acquire; in qed_iov_vf_mbx_acquire()
1894 struct qed_iov_vf_mbx *mbx = &vf->vf_mbx; in qed_iov_vf_mbx_start_vport() local
1911 start = &mbx->req_virt->start_vport; in qed_iov_vf_mbx_start_vport()
2017 struct qed_iov_vf_mbx *mbx = &vf->vf_mbx; in qed_iov_vf_mbx_start_rxq_resp() local
2022 mbx->offset = (u8 *)mbx->reply_virt; in qed_iov_vf_mbx_start_rxq_resp()
2033 p_tlv = qed_add_tlv(p_hwfn, &mbx->offset, CHANNEL_TLV_START_RXQ, in qed_iov_vf_mbx_start_rxq_resp()
2035 qed_add_tlv(p_hwfn, &mbx->offset, CHANNEL_TLV_LIST_END, in qed_iov_vf_mbx_start_rxq_resp()
2040 req = &mbx->req_virt->start_rxq; in qed_iov_vf_mbx_start_rxq_resp()
2092 struct qed_iov_vf_mbx *mbx = &vf->vf_mbx; in qed_iov_vf_mbx_start_rxq() local
2101 req = &mbx->req_virt->start_rxq; in qed_iov_vf_mbx_start_rxq()
2303 struct qed_iov_vf_mbx *mbx = &p_vf->vf_mbx; in qed_iov_vf_mbx_update_tunn_param() local
2312 mbx->offset = (u8 *)mbx->reply_virt; in qed_iov_vf_mbx_update_tunn_param()
2315 p_req = &mbx->req_virt->tunn_param_update; in qed_iov_vf_mbx_update_tunn_param()
2372 p_resp = qed_add_tlv(p_hwfn, &mbx->offset, in qed_iov_vf_mbx_update_tunn_param()
2376 qed_add_tlv(p_hwfn, &mbx->offset, CHANNEL_TLV_LIST_END, in qed_iov_vf_mbx_update_tunn_param()
2387 struct qed_iov_vf_mbx *mbx = &p_vf->vf_mbx; in qed_iov_vf_mbx_start_txq_resp() local
2392 mbx->offset = (u8 *)mbx->reply_virt; in qed_iov_vf_mbx_start_txq_resp()
2407 p_tlv = qed_add_tlv(p_hwfn, &mbx->offset, CHANNEL_TLV_START_TXQ, in qed_iov_vf_mbx_start_txq_resp()
2409 qed_add_tlv(p_hwfn, &mbx->offset, CHANNEL_TLV_LIST_END, in qed_iov_vf_mbx_start_txq_resp()
2425 struct qed_iov_vf_mbx *mbx = &vf->vf_mbx; in qed_iov_vf_mbx_start_txq() local
2437 req = &mbx->req_virt->start_txq; in qed_iov_vf_mbx_start_txq()
2568 struct qed_iov_vf_mbx *mbx = &vf->vf_mbx; in qed_iov_vf_mbx_stop_rxqs() local
2578 req = &mbx->req_virt->stop_rxqs; in qed_iov_vf_mbx_stop_rxqs()
2606 struct qed_iov_vf_mbx *mbx = &vf->vf_mbx; in qed_iov_vf_mbx_stop_txqs() local
2616 req = &mbx->req_virt->stop_txqs; in qed_iov_vf_mbx_stop_txqs()
2645 struct qed_iov_vf_mbx *mbx = &vf->vf_mbx; in qed_iov_vf_mbx_update_rxqs() local
2654 req = &mbx->req_virt->update_rxq; in qed_iov_vf_mbx_update_rxqs()
3018 struct qed_iov_vf_mbx *mbx = &vf->vf_mbx; in qed_iov_vf_mbx_vport_update() local
3048 qed_iov_vp_update_act_param(p_hwfn, ¶ms, mbx, &tlvs_mask); in qed_iov_vf_mbx_vport_update()
3049 qed_iov_vp_update_vlan_param(p_hwfn, ¶ms, vf, mbx, &tlvs_mask); in qed_iov_vf_mbx_vport_update()
3050 qed_iov_vp_update_tx_switch(p_hwfn, ¶ms, mbx, &tlvs_mask); in qed_iov_vf_mbx_vport_update()
3051 qed_iov_vp_update_mcast_bin_param(p_hwfn, ¶ms, mbx, &tlvs_mask); in qed_iov_vf_mbx_vport_update()
3052 qed_iov_vp_update_accept_flag(p_hwfn, ¶ms, mbx, &tlvs_mask); in qed_iov_vf_mbx_vport_update()
3053 qed_iov_vp_update_accept_any_vlan(p_hwfn, ¶ms, mbx, &tlvs_mask); in qed_iov_vf_mbx_vport_update()
3055 &sge_tpa_params, mbx, &tlvs_mask); in qed_iov_vf_mbx_vport_update()
3064 mbx, &tlvs_mask, &tlvs_accepted); in qed_iov_vf_mbx_vport_update()
3091 length = qed_iov_prep_vp_update_resp_tlvs(p_hwfn, vf, mbx, status, in qed_iov_vf_mbx_vport_update()
3261 struct qed_iov_vf_mbx *mbx = &vf->vf_mbx; in qed_iov_vf_mbx_ucast_filter() local
3269 req = &mbx->req_virt->ucast_filter; in qed_iov_vf_mbx_ucast_filter()
3408 struct qed_iov_vf_mbx *mbx = &p_vf->vf_mbx; in qed_iov_vf_pf_get_coalesce() local
3418 mbx->offset = (u8 *)mbx->reply_virt; in qed_iov_vf_pf_get_coalesce()
3419 req = &mbx->req_virt->read_coal_req; in qed_iov_vf_pf_get_coalesce()
3463 p_resp = qed_add_tlv(p_hwfn, &mbx->offset, CHANNEL_TLV_COALESCE_READ, in qed_iov_vf_pf_get_coalesce()
3467 qed_add_tlv(p_hwfn, &mbx->offset, CHANNEL_TLV_LIST_END, in qed_iov_vf_pf_get_coalesce()
3477 struct qed_iov_vf_mbx *mbx = &vf->vf_mbx; in qed_iov_vf_pf_set_coalesce() local
3485 req = &mbx->req_virt->update_coalesce; in qed_iov_vf_pf_set_coalesce()
3839 struct qed_iov_vf_mbx *mbx = &p_vf->vf_mbx; in qed_iov_vf_pf_bulletin_update_mac() local
3854 p_req = &mbx->req_virt->bulletin_update_mac; in qed_iov_vf_pf_bulletin_update_mac()
3870 struct qed_iov_vf_mbx *mbx; in qed_iov_process_mbx_req() local
3877 mbx = &p_vf->vf_mbx; in qed_iov_process_mbx_req()
3880 if (!mbx->b_pending_msg) { in qed_iov_process_mbx_req()
3886 mbx->b_pending_msg = false; in qed_iov_process_mbx_req()
3888 mbx->first_tlv = mbx->req_virt->first_tlv; in qed_iov_process_mbx_req()
3892 p_vf->abs_vf_id, mbx->first_tlv.tl.type); in qed_iov_process_mbx_req()
3895 if (qed_iov_tlv_supported(mbx->first_tlv.tl.type) && in qed_iov_process_mbx_req()
3897 switch (mbx->first_tlv.tl.type) { in qed_iov_process_mbx_req()
3950 } else if (qed_iov_tlv_supported(mbx->first_tlv.tl.type)) { in qed_iov_process_mbx_req()
3953 p_vf->abs_vf_id, mbx->first_tlv.tl.type); in qed_iov_process_mbx_req()
3956 mbx->first_tlv.tl.type, in qed_iov_process_mbx_req()
3969 mbx->first_tlv.tl.type, in qed_iov_process_mbx_req()
3970 mbx->first_tlv.tl.length, in qed_iov_process_mbx_req()
3971 mbx->first_tlv.padding, mbx->first_tlv.reply_address); in qed_iov_process_mbx_req()
3977 (mbx->first_tlv.reply_address == in qed_iov_process_mbx_req()
3980 mbx->first_tlv.tl.type, in qed_iov_process_mbx_req()