Home
last modified time | relevance | path

Searched refs:p_vf (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A Dqed_sriov.c28 static u8 qed_vf_calculate_legacy(struct qed_vf_info *p_vf) in qed_vf_calculate_legacy() argument
32 if (p_vf->acquire.vfdev_info.eth_fp_hsi_minor == in qed_vf_calculate_legacy()
36 if (!(p_vf->acquire.vfdev_info.capabilities & in qed_vf_calculate_legacy()
44 static int qed_sp_vf_start(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf) in qed_sp_vf_start() argument
55 init_data.opaque_fid = p_vf->opaque_fid; in qed_sp_vf_start()
66 p_ramrod->vf_id = GET_FIELD(p_vf->concrete_fid, PXP_CONCRETE_FID_VFID); in qed_sp_vf_start()
67 p_ramrod->opaque_fid = cpu_to_le16(p_vf->opaque_fid); in qed_sp_vf_start()
84 fp_minor = p_vf->acquire.vfdev_info.eth_fp_hsi_minor; in qed_sp_vf_start()
90 p_vf->abs_vf_id, in qed_sp_vf_start()
101 p_vf in qed_sp_vf_start()
197 qed_iov_validate_queue_mode(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, u16 qid, enum qed_iov_validate_q_mode mode, bool b_is_tx) qed_iov_validate_queue_mode() argument
226 qed_iov_validate_rxq(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, u16 rx_qid, enum qed_iov_validate_q_mode mode) qed_iov_validate_rxq() argument
242 qed_iov_validate_txq(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, u16 tx_qid, enum qed_iov_validate_q_mode mode) qed_iov_validate_txq() argument
258 qed_iov_validate_sb(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, u16 sb_idx) qed_iov_validate_sb() argument
275 qed_iov_validate_active_rxq(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf) qed_iov_validate_active_rxq() argument
289 qed_iov_validate_active_txq(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf) qed_iov_validate_active_txq() argument
309 struct qed_vf_info *p_vf; qed_iov_post_vf_bulletin() local
764 struct qed_vf_info *p_vf; qed_iov_enable_vf_access_msix() local
942 struct qed_vf_info *p_vf = qed_iov_get_vf_info(p_hwfn, qed_iov_set_link() local
1193 qed_iov_send_response(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *p_vf, u16 length, u8 status) qed_iov_send_response() argument
1256 qed_iov_prep_vp_update_resp_tlvs(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, struct qed_iov_vf_mbx *p_mbx, u8 status, u16 tlvs_mask, u16 tlvs_accepted) qed_iov_prep_vp_update_resp_tlvs() argument
1346 qed_iov_vf_cleanup(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf) qed_iov_vf_cleanup() argument
1391 qed_iov_vf_mbx_acquire_resc_cids(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *p_vf, struct vf_pf_resc_request *p_req, struct pf_vf_resc *p_resp) qed_iov_vf_mbx_acquire_resc_cids() argument
1433 qed_iov_vf_mbx_acquire_resc(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *p_vf, struct vf_pf_resc_request *p_req, struct pf_vf_resc *p_resp) qed_iov_vf_mbx_acquire_resc() argument
1684 __qed_iov_spoofchk_set(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, bool val) __qed_iov_spoofchk_set() argument
1717 qed_iov_reconfigure_unicast_vlan(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf) qed_iov_reconfigure_unicast_vlan() argument
1754 qed_iov_reconfigure_unicast_shadow(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, u64 events) qed_iov_reconfigure_unicast_shadow() argument
1766 qed_iov_configure_vport_forced(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, u64 events) qed_iov_configure_vport_forced() argument
2048 qed_iov_vf_mbx_qid(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, bool b_is_tx) qed_iov_vf_mbx_qid() argument
2296 qed_iov_vf_mbx_update_tunn_param(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *p_vf) qed_iov_vf_mbx_update_tunn_param() argument
2380 qed_iov_vf_mbx_start_txq_resp(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *p_vf, u32 cid, u8 status) qed_iov_vf_mbx_start_txq_resp() argument
2760 qed_iov_vp_update_vlan_param(struct qed_hwfn *p_hwfn, struct qed_sp_vport_update_params *p_data, struct qed_vf_info *p_vf, struct qed_iov_vf_mbx *p_mbx, u16 *tlvs_mask) qed_iov_vp_update_vlan_param() argument
3105 qed_iov_vf_update_vlan_shadow(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, struct qed_filter_ucast *p_params) qed_iov_vf_update_vlan_shadow() argument
3163 qed_iov_vf_update_mac_shadow(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, struct qed_filter_ucast *p_params) qed_iov_vf_update_mac_shadow() argument
3222 qed_iov_vf_update_unicast_shadow(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, struct qed_filter_ucast *p_params) qed_iov_vf_update_unicast_shadow() argument
3385 qed_iov_vf_mbx_release(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *p_vf) qed_iov_vf_mbx_release() argument
3413 qed_iov_vf_pf_get_coalesce(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *p_vf) qed_iov_vf_pf_get_coalesce() argument
3565 qed_iov_vf_flr_poll_dorq(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, struct qed_ptt *p_ptt) qed_iov_vf_flr_poll_dorq() argument
3592 qed_iov_vf_flr_poll_pbf(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, struct qed_ptt *p_ptt) qed_iov_vf_flr_poll_pbf() argument
3639 qed_iov_vf_flr_poll(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, struct qed_ptt *p_ptt) qed_iov_vf_flr_poll() argument
3660 struct qed_vf_info *p_vf; qed_iov_execute_vf_flr_cleanup() local
3761 struct qed_vf_info *p_vf; qed_iov_mark_vf_flr() local
3798 struct qed_vf_info *p_vf = qed_iov_get_vf_info(p_hwfn, qed_iov_get_link() local
3818 qed_iov_vf_pf_bulletin_update_mac(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *p_vf) qed_iov_vf_pf_bulletin_update_mac() argument
3855 struct qed_vf_info *p_vf; qed_iov_process_mbx_req() local
3983 struct qed_vf_info *p_vf; qed_iov_pf_get_pending_events() local
4010 struct qed_vf_info *p_vf = qed_sriov_get_vf_from_absid(p_hwfn, qed_sriov_vfpf_msg() local
4031 struct qed_vf_info *p_vf; qed_sriov_vfpf_malicious() local
4300 struct qed_vf_info *p_vf; qed_iov_bulletin_get_mac() local
4316 struct qed_vf_info *p_vf; qed_iov_bulletin_get_forced_mac() local
4331 struct qed_vf_info *p_vf; qed_iov_bulletin_get_forced_vlan() local
[all...]
H A Dqed_sriov.h187 #define QED_VF_ABS_ID(p_hwfn, p_vf) (QED_PATH_ID(p_hwfn) ? \
188 (p_vf)->abs_vf_id + MAX_NUM_VFS_BB : \
189 (p_vf)->abs_vf_id)
H A Dqed_vf.c1603 struct qed_vf_iov *p_vf; in qed_vf_get_num_vlan_filters() local
1605 p_vf = p_hwfn->vf_iov_info; in qed_vf_get_num_vlan_filters()
1606 *num_vlan_filters = p_vf->acquire_resp.resc.num_vlan_filters; in qed_vf_get_num_vlan_filters()
1611 struct qed_vf_iov *p_vf = p_hwfn->vf_iov_info; in qed_vf_get_num_mac_filters() local
1613 *num_mac_filters = p_vf->acquire_resp.resc.num_mac_filters; in qed_vf_get_num_mac_filters()
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A Dqed_sriov.c30 static u8 qed_vf_calculate_legacy(struct qed_vf_info *p_vf) in qed_vf_calculate_legacy() argument
34 if (p_vf->acquire.vfdev_info.eth_fp_hsi_minor == in qed_vf_calculate_legacy()
38 if (!(p_vf->acquire.vfdev_info.capabilities & in qed_vf_calculate_legacy()
46 static int qed_sp_vf_start(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf) in qed_sp_vf_start() argument
57 init_data.opaque_fid = p_vf->opaque_fid; in qed_sp_vf_start()
68 p_ramrod->vf_id = GET_FIELD(p_vf->concrete_fid, PXP_CONCRETE_FID_VFID); in qed_sp_vf_start()
69 p_ramrod->opaque_fid = cpu_to_le16(p_vf->opaque_fid); in qed_sp_vf_start()
86 fp_minor = p_vf->acquire.vfdev_info.eth_fp_hsi_minor; in qed_sp_vf_start()
92 p_vf->abs_vf_id, in qed_sp_vf_start()
103 p_vf in qed_sp_vf_start()
199 qed_iov_validate_queue_mode(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, u16 qid, enum qed_iov_validate_q_mode mode, bool b_is_tx) qed_iov_validate_queue_mode() argument
228 qed_iov_validate_rxq(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, u16 rx_qid, enum qed_iov_validate_q_mode mode) qed_iov_validate_rxq() argument
244 qed_iov_validate_txq(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, u16 tx_qid, enum qed_iov_validate_q_mode mode) qed_iov_validate_txq() argument
260 qed_iov_validate_sb(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, u16 sb_idx) qed_iov_validate_sb() argument
277 qed_iov_validate_active_rxq(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf) qed_iov_validate_active_rxq() argument
291 qed_iov_validate_active_txq(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf) qed_iov_validate_active_txq() argument
311 struct qed_vf_info *p_vf; qed_iov_post_vf_bulletin() local
766 struct qed_vf_info *p_vf; qed_iov_enable_vf_access_msix() local
944 struct qed_vf_info *p_vf = qed_iov_get_vf_info(p_hwfn, qed_iov_set_link() local
1195 qed_iov_send_response(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *p_vf, u16 length, u8 status) qed_iov_send_response() argument
1258 qed_iov_prep_vp_update_resp_tlvs(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, struct qed_iov_vf_mbx *p_mbx, u8 status, u16 tlvs_mask, u16 tlvs_accepted) qed_iov_prep_vp_update_resp_tlvs() argument
1348 qed_iov_vf_cleanup(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf) qed_iov_vf_cleanup() argument
1393 qed_iov_vf_mbx_acquire_resc_cids(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *p_vf, struct vf_pf_resc_request *p_req, struct pf_vf_resc *p_resp) qed_iov_vf_mbx_acquire_resc_cids() argument
1435 qed_iov_vf_mbx_acquire_resc(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *p_vf, struct vf_pf_resc_request *p_req, struct pf_vf_resc *p_resp) qed_iov_vf_mbx_acquire_resc() argument
1686 __qed_iov_spoofchk_set(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, bool val) __qed_iov_spoofchk_set() argument
1719 qed_iov_reconfigure_unicast_vlan(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf) qed_iov_reconfigure_unicast_vlan() argument
1756 qed_iov_reconfigure_unicast_shadow(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, u64 events) qed_iov_reconfigure_unicast_shadow() argument
1768 qed_iov_configure_vport_forced(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, u64 events) qed_iov_configure_vport_forced() argument
2050 qed_iov_vf_mbx_qid(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, bool b_is_tx) qed_iov_vf_mbx_qid() argument
2298 qed_iov_vf_mbx_update_tunn_param(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *p_vf) qed_iov_vf_mbx_update_tunn_param() argument
2382 qed_iov_vf_mbx_start_txq_resp(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *p_vf, u32 cid, u8 status) qed_iov_vf_mbx_start_txq_resp() argument
2762 qed_iov_vp_update_vlan_param(struct qed_hwfn *p_hwfn, struct qed_sp_vport_update_params *p_data, struct qed_vf_info *p_vf, struct qed_iov_vf_mbx *p_mbx, u16 *tlvs_mask) qed_iov_vp_update_vlan_param() argument
3107 qed_iov_vf_update_vlan_shadow(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, struct qed_filter_ucast *p_params) qed_iov_vf_update_vlan_shadow() argument
3165 qed_iov_vf_update_mac_shadow(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, struct qed_filter_ucast *p_params) qed_iov_vf_update_mac_shadow() argument
3224 qed_iov_vf_update_unicast_shadow(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, struct qed_filter_ucast *p_params) qed_iov_vf_update_unicast_shadow() argument
3387 qed_iov_vf_mbx_release(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *p_vf) qed_iov_vf_mbx_release() argument
3415 qed_iov_vf_pf_get_coalesce(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *p_vf) qed_iov_vf_pf_get_coalesce() argument
3568 qed_iov_vf_flr_poll_dorq(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, struct qed_ptt *p_ptt) qed_iov_vf_flr_poll_dorq() argument
3597 qed_iov_vf_flr_poll_pbf(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, struct qed_ptt *p_ptt) qed_iov_vf_flr_poll_pbf() argument
3667 qed_iov_vf_flr_poll(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf, struct qed_ptt *p_ptt) qed_iov_vf_flr_poll() argument
3688 struct qed_vf_info *p_vf; qed_iov_execute_vf_flr_cleanup() local
3789 struct qed_vf_info *p_vf; qed_iov_mark_vf_flr() local
3826 struct qed_vf_info *p_vf = qed_iov_get_vf_info(p_hwfn, qed_iov_get_link() local
3846 qed_iov_vf_pf_bulletin_update_mac(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *p_vf) qed_iov_vf_pf_bulletin_update_mac() argument
3883 struct qed_vf_info *p_vf; qed_iov_process_mbx_req() local
4011 struct qed_vf_info *p_vf; qed_iov_pf_get_pending_events() local
4038 struct qed_vf_info *p_vf = qed_sriov_get_vf_from_absid(p_hwfn, qed_sriov_vfpf_msg() local
4059 struct qed_vf_info *p_vf; qed_sriov_vfpf_malicious() local
4325 struct qed_vf_info *p_vf; qed_iov_bulletin_get_mac() local
4341 struct qed_vf_info *p_vf; qed_iov_bulletin_get_forced_mac() local
4356 struct qed_vf_info *p_vf; qed_iov_bulletin_get_forced_vlan() local
[all...]
H A Dqed_sriov.h187 #define QED_VF_ABS_ID(p_hwfn, p_vf) (QED_PATH_ID(p_hwfn) ? \
188 (p_vf)->abs_vf_id + MAX_NUM_VFS_BB : \
189 (p_vf)->abs_vf_id)
H A Dqed_vf.c1593 struct qed_vf_iov *p_vf; in qed_vf_get_num_vlan_filters() local
1595 p_vf = p_hwfn->vf_iov_info; in qed_vf_get_num_vlan_filters()
1596 *num_vlan_filters = p_vf->acquire_resp.resc.num_vlan_filters; in qed_vf_get_num_vlan_filters()
1601 struct qed_vf_iov *p_vf = p_hwfn->vf_iov_info; in qed_vf_get_num_mac_filters() local
1603 *num_mac_filters = p_vf->acquire_resp.resc.num_mac_filters; in qed_vf_get_num_mac_filters()

Completed in 13 milliseconds