Home
last modified time | relevance | path

Searched refs:vf_id (Results 1 – 25 of 111) sorted by relevance

12345

/linux/drivers/net/ethernet/huawei/hinic/
A Dhinic_sriov.c69 HW_VF_ID_TO_OS(vf_id), err, in hinic_notify_vf_link_status()
102 u8 qos, int vf_id) in hinic_set_vf_vlan() argument
227 HW_VF_ID_TO_OS(vf_id)); in hinic_init_vf_config()
234 vf_info->pf_qos, vf_id); in hinic_init_vf_config()
237 HW_VF_ID_TO_OS(vf_id)); in hinic_init_vf_config()
294 if (vf_id > nic_io->max_vfs) in hinic_unregister_vf_msg_handler()
313 vf_id); in hinic_change_vf_mtu_msg_handler()
355 HW_VF_ID_TO_OS(vf_id)); in hinic_set_vf_mac_msg_handler()
669 vf_id); in hinic_kill_vf_vlan()
675 HW_VF_ID_TO_OS(vf_id)); in hinic_kill_vf_vlan()
[all …]
A Dhinic_hw_mbox.h67 typedef int (*hinic_pf_mbox_cb)(void *handle, u16 vf_id, u8 cmd, void *buf_in,
126 int (*cmd_msg_handler)(void *hwdev, u16 vf_id,
136 u16 vf_id, u8 cmd, void *buf_in,
171 enum hinic_mod_type mod, u16 vf_id, u8 cmd, void *buf_in,
A Dhinic_hw_mbox.c345 u16 vf_id = 0; in recv_pf_from_vf_mbox_handler() local
360 vf_id = src_func_idx - in recv_pf_from_vf_mbox_handler()
362 ret = cb(func_to_func->hwdev, vf_id, recv_mbox->cmd, in recv_pf_from_vf_mbox_handler()
1090 enum hinic_mod_type mod, u16 vf_id, u8 cmd, void *buf_in, in hinic_mbox_to_vf() argument
1111 if (!vf_id) { in hinic_mbox_to_vf()
1113 "VF id(%d) error!\n", vf_id); in hinic_mbox_to_vf()
1120 dst_func_idx = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_mbox_to_vf()
1240 u16 vf_id, u8 cmd, void *buf_in, in hinic_mbox_check_cmd_valid() argument
1243 u16 src_idx = vf_id + hinic_glb_pf_vf_offset(hwdev->hwif); in hinic_mbox_check_cmd_valid()
1258 vf_id + hinic_glb_pf_vf_offset(hwdev->hwif), cmd); in hinic_mbox_check_cmd_valid()
[all …]
/linux/drivers/net/ethernet/intel/ice/
A Dice_virtchnl_pf.c285 vf->vf_id); in ice_check_vf_init()
673 for (vf_id = 0; vf_id < tmp; vf_id++) { in ice_free_vfs()
1454 vf->vf_id); in ice_vf_rebuild_host_cfg()
1458 vf->vf_id); in ice_vf_rebuild_host_cfg()
1462 vf->vf_id); in ice_vf_rebuild_host_cfg()
1498 vf->vf_id); in ice_vf_rebuild_vsi()
2525 return (vsi && (vsi->vf_id == vf->vf_id)); in ice_vc_isvalid_vsi_id()
4597 vf->vf_id); in ice_vc_repr_ena_vlan_stripping()
4607 vf->vf_id); in ice_vc_repr_dis_vlan_stripping()
4783 vf_id); in ice_vc_process_vf_msg()
[all …]
A Dice_virtchnl_pf.h108 u16 vf_id; /* VF ID in the PF space */ member
159 int ice_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac);
199 ice_get_vf_stats(struct net_device *netdev, int vf_id,
274 int __always_unused vf_id, u8 __always_unused *mac) in ice_set_vf_mac() argument
281 int __always_unused vf_id, in ice_get_vf_cfg() argument
289 int __always_unused vf_id, bool __always_unused trusted) in ice_set_vf_trust() argument
296 int __always_unused vf_id, u16 __always_unused vid, in ice_set_vf_port_vlan() argument
304 int __always_unused vf_id, bool __always_unused ena) in ice_set_vf_spoofchk() argument
311 int __always_unused vf_id, int __always_unused link_state) in ice_set_vf_link_state() argument
318 int __always_unused vf_id, int __always_unused min_tx_rate, in ice_set_vf_bw() argument
[all …]
A Dice_sriov.c232 ice_mbx_detect_malvf(struct ice_hw *hw, u16 vf_id, in ice_mbx_detect_malvf() argument
238 if (vf_id >= snap->mbx_vf.vfcntr_len) in ice_mbx_detect_malvf()
242 snap->mbx_vf.vf_cntr[vf_id]++; in ice_mbx_detect_malvf()
302 struct ice_mbx_data *mbx_data, u16 vf_id, in ice_mbx_vf_state_handler() argument
410 u16 bitmap_len, u16 vf_id, bool *report_malvf) in ice_mbx_report_malvf() argument
420 if (vf_id >= bitmap_len) in ice_mbx_report_malvf()
424 if (!test_and_set_bit(vf_id, all_malvfs)) in ice_mbx_report_malvf()
446 u16 bitmap_len, u16 vf_id) in ice_mbx_clear_malvf() argument
455 if (vf_id >= bitmap_len || vf_id >= snap->mbx_vf.vfcntr_len) in ice_mbx_clear_malvf()
459 clear_bit(vf_id, all_malvfs); in ice_mbx_clear_malvf()
[all …]
A Dice_virtchnl_fdir.c334 vf->vf_id); in ice_vf_start_ctrl_vsi()
341 vf->vf_id); in ice_vf_start_ctrl_vsi()
779 vf->vf_id); in ice_vc_fdir_write_flow_prof()
786 vf->vf_id); in ice_vc_fdir_write_flow_prof()
902 vf->vf_id); in ice_vc_fdir_config_input_set()
1278 vf->vf_id); in ice_vc_fdir_parse_action()
1625 vf->vf_id, in ice_vf_fdir_dump_info()
1662 vf->vf_id); in ice_vf_verify_rx_desc()
1671 vf->vf_id); in ice_vf_verify_rx_desc()
1934 vf->vf_id); in ice_vc_fdir_set_irq_ctx()
[all …]
A Dice_sriov.h24 u16 vf_id, bool *is_mal_vf);
27 u16 bitmap_len, u16 vf_id);
32 u16 bitmap_len, u16 vf_id, bool *report_malvf);
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_virtchnl_pf.c218 vf->vf_id); in i40e_vc_reset_vf()
222 vf->vf_id); in i40e_vc_reset_vf()
237 return (vsi && (vsi->vf_id == vf->vf_id)); in i40e_vc_isvalid_vsi_id()
1714 for (vf_id = 0; vf_id < tmp; vf_id++) { in i40e_free_vfs()
4054 int vf_id; in i40e_vc_process_vflr_event() local
4070 for (vf_id = 0; vf_id < pf->num_alloc_vfs; vf_id++) { in i40e_vc_process_vflr_event()
4158 vf_id); in i40e_ndo_set_vf_mac()
4263 vf_id); in i40e_ndo_set_vf_port_vlan()
4412 vf_id); in i40e_ndo_set_vf_bw()
4584 vf_id); in i40e_ndo_set_vf_spoofchk()
[all …]
A Di40e_virtchnl_pf.h70 s16 vf_id; member
120 int i40e_vc_process_vf_msg(struct i40e_pf *pf, s16 vf_id, u32 v_opcode,
128 int i40e_ndo_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac);
129 int i40e_ndo_set_vf_port_vlan(struct net_device *netdev, int vf_id,
131 int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate,
133 int i40e_ndo_set_vf_trust(struct net_device *netdev, int vf_id, bool setting);
135 int vf_id, struct ifla_vf_info *ivi);
136 int i40e_ndo_set_vf_link_state(struct net_device *netdev, int vf_id, int link);
137 int i40e_ndo_set_vf_spoofchk(struct net_device *netdev, int vf_id, bool enable);
141 int i40e_get_vf_stats(struct net_device *netdev, int vf_id,
A Di40e_client.c17 u32 vf_id, u8 *msg, u16 len);
29 bool is_vf, u32 vf_id,
83 i40e_notify_client_of_vf_msg(struct i40e_vsi *vsi, u32 vf_id, u8 *msg, u16 len) in i40e_notify_client_of_vf_msg() argument
100 vf_id, msg, len); in i40e_notify_client_of_vf_msg()
192 void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id) in i40e_notify_client_of_vf_reset() argument
207 cdev->client->ops->vf_reset(&cdev->lan_info, cdev->client, vf_id); in i40e_notify_client_of_vf_reset()
244 int i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id) in i40e_vf_client_capable() argument
261 vf_id); in i40e_vf_client_capable()
537 u32 vf_id, u8 *msg, u16 len) in i40e_client_virtchnl_send() argument
543 err = i40e_aq_send_msg_to_vf(hw, vf_id, VIRTCHNL_OP_IWARP, in i40e_client_virtchnl_send()
[all …]
/linux/drivers/crypto/marvell/octeontx2/
A Dotx2_cptpf_mbox.c186 mdev = &mbox->dev[vf->vf_id]; in otx2_cptpf_vfpf_mbox_handler()
196 ((vf->vf_id + 1) & RVU_PFVF_FUNC_MASK); in otx2_cptpf_vfpf_mbox_handler()
210 otx2_mbox_msg_send(mbox, vf->vf_id); in otx2_cptpf_vfpf_mbox_handler()
280 int vf_id, int size) in forward_to_vf() argument
297 vf_id--; in forward_to_vf()
298 if (vf_id >= cptpf->enabled_vfs) { in forward_to_vf()
301 vf_id, cptpf->enabled_vfs); in forward_to_vf()
310 "Forwarding to VF%d failed.\n", vf_id); in forward_to_vf()
330 int offset, vf_id, i; in otx2_cptpf_afpf_mbox_handler() local
346 if (vf_id > 0) in otx2_cptpf_afpf_mbox_handler()
[all …]
A Dotx2_cptvf_mbox.c92 cptvf->vf_id = ((msg->pcifunc >> RVU_PFVF_FUNC_SHIFT) in process_pfvf_mbox_mbox_msg()
183 req->hdr.pcifunc = OTX2_CPT_RVU_PFFUNC(cptvf->vf_id, 0); in otx2_cptvf_send_eng_grp_num_msg()
205 req->pcifunc = OTX2_CPT_RVU_PFFUNC(cptvf->vf_id, 0); in otx2_cptvf_send_kvf_limits_msg()
/linux/drivers/scsi/bfa/
A Dbfad_bsg.h176 u16 vf_id; member
292 u16 vf_id; member
300 u16 vf_id; member
308 u16 vf_id; member
316 u16 vf_id; member
326 u16 vf_id; member
337 u16 vf_id; member
346 u16 vf_id; member
358 u16 vf_id; member
376 u16 vf_id; member
[all …]
A Dbfa_fcs.h186 u16 vf_id; /* virtual fabric ID */ member
287 u16 vf_id, wwn_t lpwwn);
313 u16 vf_id, struct bfa_fcs_vport_s *vport);
365 struct bfa_fcs_s *fcs, u16 vf_id,
369 struct bfa_fcs_s *fcs, u16 vf_id,
379 u16 vf_id, wwn_t vpwwn);
794 bfa_fcs_vf_t *bfa_fcs_vf_lookup(struct bfa_fcs_s *fcs, u16 vf_id);
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_sriov.c85 vf = &bp->pf.vf[vf_id]; in bnxt_set_vf_spoofchk()
169 vf = &bp->pf.vf[vf_id]; in bnxt_set_vf_trust()
190 ivi->vf = vf_id; in bnxt_get_vf_config()
191 vf = &bp->pf.vf[vf_id]; in bnxt_get_vf_config()
233 vf = &bp->pf.vf[vf_id]; in bnxt_set_vf_mac()
272 vf = &bp->pf.vf[vf_id]; in bnxt_set_vf_vlan()
302 vf = &bp->pf.vf[vf_id]; in bnxt_set_vf_bw()
306 max_tx_rate, vf_id); in bnxt_set_vf_bw()
343 vf = &bp->pf.vf[vf_id]; in bnxt_set_vf_link_state()
498 vf = &bp->pf.vf[vf_id]; in __bnxt_set_vf_params()
[all …]
/linux/drivers/net/ethernet/cavium/thunder/
A Dnic.h285 u8 vf_id; member
427 u8 vf_id; member
463 u8 vf_id; member
470 u8 vf_id; member
477 u8 vf_id; member
485 u8 vf_id; member
492 u8 vf_id; member
502 u8 vf_id; member
520 u8 vf_id; member
526 u8 vf_id; member
[all …]
A Dnic_main.c165 mbx.nic_cfg.vf_id = vf; in nic_mbx_send_ready()
240 mbx.bgx_stats.vf_id = bgx->vf_id; in nic_get_bgx_stats()
480 vnic = cfg->vf_id; in nic_config_cpi()
504 qset = cfg->vf_id; in nic_config_cpi()
545 nic->cpi_base[cfg->vf_id] = cpi_base; in nic_config_cpi()
581 qset = cfg->vf_id; in nic_config_rss()
749 nic->pqs_vf[sqs_id] = sqs->vf_id; in nic_alloc_sqs()
755 mbx.sqs_alloc.vf_id = sqs->vf_id; in nic_alloc_sqs()
764 if (lbk->vf_id >= nic->num_vf_en) in nic_config_loopback()
1033 lmac = mbx.mac.vf_id; in nic_handle_mbx_intr()
[all …]
A Dnicvf_main.c220 nic->vf_id = mbx.nic_cfg.vf_id & 0x7F; in nicvf_handle_mbx_intr()
306 mbx.mac.vf_id = nic->vf_id; in nicvf_hw_set_mac_addr()
317 mbx.cpi_cfg.vf_id = nic->vf_id; in nicvf_config_cpi()
329 mbx.rss_size.vf_id = nic->vf_id; in nicvf_get_rss_size()
340 mbx.rss_cfg.vf_id = nic->vf_id; in nicvf_config_rss()
413 mbx.sqs_alloc.vf_id = nic->vf_id; in nicvf_request_sqs()
435 mbx.nicvf.vf_id = nic->vf_id; in nicvf_request_sqs()
1432 mbx.frs.vf_id = nic->vf_id; in nicvf_update_hw_max_frs()
1635 mbx.bgx_stats.vf_id = nic->vf_id; in nicvf_update_lmac_stats()
1769 mbx.lbk.vf_id = nic->vf_id; in nicvf_config_loopback()
[all …]
/linux/include/linux/net/intel/
A Di40e_client.h121 u32 vf_id, u8 *msg, u16 len);
134 bool is_vf, u32 vf_id,
157 struct i40e_client *client, u32 vf_id,
162 struct i40e_client *client, u32 vf_id);
170 struct i40e_client *client, u32 vf_id);
/linux/include/linux/qed/
A Dqed_iov_if.h20 int (*get_config) (struct qed_dev *cdev, int vf_id,
23 int (*set_link_state) (struct qed_dev *cdev, int vf_id,
/linux/drivers/crypto/marvell/octeontx/
A Dotx_cptvf_mbox.c60 static void dump_mbox_msg(struct otx_cpt_mbox *mbox_msg, int vf_id) in dump_mbox_msg() argument
66 if (vf_id >= 0) in dump_mbox_msg()
68 get_mbox_opcode_str(mbox_msg->msg), vf_id, in dump_mbox_msg()
A Dotx_cptpf_mbox.c59 static void dump_mbox_msg(struct otx_cpt_mbox *mbox_msg, int vf_id) in dump_mbox_msg() argument
65 if (vf_id >= 0) in dump_mbox_msg()
67 get_mbox_opcode_str(mbox_msg->msg), vf_id, in dump_mbox_msg()
/linux/drivers/net/ethernet/hisilicon/hns/
A Dhns_ae_adapt.c99 for (ae_handle->vf_id = 0; in hns_ae_get_handle()
100 ae_handle->vf_id < vfnum_per_port; ae_handle->vf_id++) { in hns_ae_get_handle()
105 if (ae_handle->vf_id >= vfnum_per_port) { in hns_ae_get_handle()
219 ret = hns_mac_change_vf_addr(mac_cb, handle->vf_id, p); in hns_ae_set_mac_address()
237 return hns_mac_add_uc_addr(mac_cb, handle->vf_id, addr); in hns_ae_add_uc_address()
248 return hns_mac_rm_uc_addr(mac_cb, handle->vf_id, addr); in hns_ae_rm_uc_address()
271 ret = hns_mac_get_inner_port_num(mac_cb, handle->vf_id, &port_num); in hns_ae_set_multicast_one()
291 return hns_mac_clr_multicast(mac_cb, handle->vf_id); in hns_ae_clr_multicast()
/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_vfpf.c194 static int bnx2x_get_vf_id(struct bnx2x *bp, u32 *vf_id) in bnx2x_get_vf_id() argument
230 u32 vf_id; in bnx2x_vfpf_acquire() local
236 if (bnx2x_get_vf_id(bp, &vf_id)) { in bnx2x_vfpf_acquire()
241 req->vfdev_info.vf_id = vf_id; in bnx2x_vfpf_acquire()
399 u32 rc, vf_id; in bnx2x_vfpf_release() local
404 if (bnx2x_get_vf_id(bp, &vf_id)) { in bnx2x_vfpf_release()
409 req->vf_id = vf_id; in bnx2x_vfpf_release()
493 u32 vf_id; in bnx2x_vfpf_close_vf() local
498 if (bnx2x_get_vf_id(bp, &vf_id)) in bnx2x_vfpf_close_vf()
511 req->vf_id = vf_id; in bnx2x_vfpf_close_vf()
[all …]

Completed in 87 milliseconds

12345