Home
last modified time | relevance | path

Searched refs:vf_id (Results 76 - 100 of 228) sorted by relevance

12345678910

/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.c614 int vf_id) in enetc_msg_pf_set_vf_primary_mac_addr()
616 struct enetc_vf_state *vf_state = &pf->vf_state[vf_id]; in enetc_msg_pf_set_vf_primary_mac_addr()
617 struct enetc_msg_swbd *msg = &pf->rxmsg[vf_id]; in enetc_msg_pf_set_vf_primary_mac_addr()
631 vf_id); in enetc_msg_pf_set_vf_primary_mac_addr()
633 enetc_pf_set_primary_mac_addr(&pf->si->hw, vf_id + 1, addr); in enetc_msg_pf_set_vf_primary_mac_addr()
638 void enetc_msg_handle_rxmsg(struct enetc_pf *pf, int vf_id, u16 *status) in enetc_msg_handle_rxmsg() argument
640 struct enetc_msg_swbd *msg = &pf->rxmsg[vf_id]; in enetc_msg_handle_rxmsg()
651 *status = enetc_msg_pf_set_vf_primary_mac_addr(pf, vf_id); in enetc_msg_handle_rxmsg()
613 enetc_msg_pf_set_vf_primary_mac_addr(struct enetc_pf *pf, int vf_id) enetc_msg_pf_set_vf_primary_mac_addr() argument
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf.h17 int vf_id; member
/kernel/linux/linux-5.10/drivers/scsi/bfa/
H A Dbfa_svc.h140 u16 vf_id; /* vsan tag if applicable */ member
283 u16 vf_id; /* virtual fabric ID */ member
322 u16 vf_id; member
628 u16 vf_id, u8 lp_tag,
H A Dbfa_fcs_lport.c363 aen_entry->aen_data.lport.vf_id = port->fabric->vf_id; in bfa_fcs_lport_aen_post()
397 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_send_ls_rjt()
431 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_send_fcgs_rjt()
576 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_echo()
633 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_rnid()
741 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_abts_acc()
1075 u16 vf_id, struct bfa_fcs_vport_s *vport) in bfa_fcs_lport_attach()
1078 lport->fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lport_attach()
1891 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, por in bfa_fcs_lport_fdmi_send_rhba()
1074 bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_fcs_vport_s *vport) bfa_fcs_lport_attach() argument
5866 bfa_fcs_lookup_port(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t lpwwn) bfa_fcs_lookup_port() argument
6707 bfa_fcs_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_lport_cfg_s *vport_cfg, struct bfad_vport_s *vport_drv) bfa_fcs_vport_create() argument
6757 bfa_fcs_pbc_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_lport_cfg_s *vport_cfg, struct bfad_vport_s *vport_drv) bfa_fcs_pbc_vport_create() argument
6867 bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t vpwwn) bfa_fcs_vport_lookup() argument
[all...]
H A Dbfad_drv.h289 bfa_status_t bfad_vport_create(struct bfad_s *bfad, u16 vf_id,
292 bfa_status_t bfad_vf_create(struct bfad_s *bfad, u16 vf_id,
H A Dbfa_fcs_rport.c1718 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_plogi()
1840 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_plogiacc()
1870 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_adisc()
1940 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_nsdisc()
2091 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_logo()
2125 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_logo_acc()
2195 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_process_prli()
2232 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_process_rpsc()
2264 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, in bfa_fcs_rport_process_adisc()
2284 rport_info.vf_id in bfa_fcs_rport_hal_online()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/bfa/
H A Dbfa_svc.h140 u16 vf_id; /* vsan tag if applicable */ member
283 u16 vf_id; /* virtual fabric ID */ member
322 u16 vf_id; member
628 u16 vf_id, u8 lp_tag,
H A Dbfa_fcs_lport.c363 aen_entry->aen_data.lport.vf_id = port->fabric->vf_id; in bfa_fcs_lport_aen_post()
397 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_send_ls_rjt()
431 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_send_fcgs_rjt()
576 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_echo()
633 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_rnid()
741 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_abts_acc()
1075 u16 vf_id, struct bfa_fcs_vport_s *vport) in bfa_fcs_lport_attach()
1078 lport->fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lport_attach()
1893 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, por in bfa_fcs_lport_fdmi_send_rhba()
1074 bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_fcs_vport_s *vport) bfa_fcs_lport_attach() argument
5874 bfa_fcs_lookup_port(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t lpwwn) bfa_fcs_lookup_port() argument
6715 bfa_fcs_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_lport_cfg_s *vport_cfg, struct bfad_vport_s *vport_drv) bfa_fcs_vport_create() argument
6765 bfa_fcs_pbc_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_lport_cfg_s *vport_cfg, struct bfad_vport_s *vport_drv) bfa_fcs_pbc_vport_create() argument
6875 bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t vpwwn) bfa_fcs_vport_lookup() argument
[all...]
H A Dbfad_drv.h288 bfa_status_t bfad_vport_create(struct bfad_s *bfad, u16 vf_id,
291 bfa_status_t bfad_vf_create(struct bfad_s *bfad, u16 vf_id,
H A Dbfa_fcs_rport.c1718 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_plogi()
1840 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_plogiacc()
1870 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_adisc()
1940 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_nsdisc()
2091 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_logo()
2125 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_logo_acc()
2195 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_process_prli()
2232 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_process_rpsc()
2264 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, in bfa_fcs_rport_process_adisc()
2284 rport_info.vf_id in bfa_fcs_rport_hal_online()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.h94 int hinic_ndo_set_vf_link_state(struct net_device *netdev, int vf_id, int link);
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.h94 int hinic_ndo_set_vf_link_state(struct net_device *netdev, int vf_id, int link);
/kernel/linux/linux-6.6/drivers/vfio/pci/hisilicon/
H A Dhisi_acc_vfio_pci.h111 int vf_id; member
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/pds_core/
H A Dmain.c184 vf->vf_id = pci_iov_vf_id(vf->pdev); in pdsc_init_vf()
191 pf->vfs[vf->vf_id].vf = vf; in pdsc_init_vf()
419 pf->vfs[pdsc->vf_id].vf = NULL; in pdsc_remove()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_debugfs.c388 dev_info(&pf->pdev->dev, " VF ID = %i\n", vsi->vf_id); in i40e_dbg_dump_vsi_seid()
731 * @vf_id: the vf_id from the user
733 static void i40e_dbg_dump_vf(struct i40e_pf *pf, int vf_id) in i40e_dbg_dump_vf() argument
740 } else if ((vf_id >= 0) && (vf_id < pf->num_alloc_vfs)) { in i40e_dbg_dump_vf()
741 vf = &pf->vf[vf_id]; in i40e_dbg_dump_vf()
744 vf_id, vf->lan_vsi_id, vsi->seid, vf->num_queue_pairs); in i40e_dbg_dump_vf()
748 dev_info(&pf->pdev->dev, "invalid VF id %d\n", vf_id); in i40e_dbg_dump_vf()
784 int vf_id; in i40e_dbg_command_write() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_err.c2418 * @vf_id: Index of the virtual function with error
2422 * over_8bd_nfe_err by using command. If vf_id is 0, it means error is
2425 static int hclge_query_over_8bd_err_info(struct hclge_dev *hdev, u16 *vf_id, in hclge_query_over_8bd_err_info() argument
2438 *vf_id = le16_to_cpu(req->over_8bd_no_fe_vf_id); in hclge_query_over_8bd_err_info()
2455 u16 vf_id; in hclge_handle_over_8bd_err() local
2459 ret = hclge_query_over_8bd_err_info(hdev, &vf_id, &q_id); in hclge_handle_over_8bd_err()
2467 vf_id, q_id); in hclge_handle_over_8bd_err()
2469 if (vf_id) { in hclge_handle_over_8bd_err()
2470 if (vf_id >= hdev->num_alloc_vport) { in hclge_handle_over_8bd_err()
2471 dev_err(dev, "invalid vport(%u)\n", vf_id); in hclge_handle_over_8bd_err()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_debugfs.c388 dev_info(&pf->pdev->dev, " VF ID = %i\n", vsi->vf_id); in i40e_dbg_dump_vsi_seid()
731 * @vf_id: the vf_id from the user
733 static void i40e_dbg_dump_vf(struct i40e_pf *pf, int vf_id) in i40e_dbg_dump_vf() argument
740 } else if ((vf_id >= 0) && (vf_id < pf->num_alloc_vfs)) { in i40e_dbg_dump_vf()
741 vf = &pf->vf[vf_id]; in i40e_dbg_dump_vf()
744 vf_id, vf->lan_vsi_id, vsi->seid, vf->num_queue_pairs); in i40e_dbg_dump_vf()
748 dev_info(&pf->pdev->dev, "invalid VF id %d\n", vf_id); in i40e_dbg_dump_vf()
784 int vf_id; in i40e_dbg_command_write() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/
H A Dthunder_bgx.c258 static void bgx_lmac_remove_filters(struct lmac *lmac, u8 vf_id) in bgx_lmac_remove_filters() argument
271 lmac->dmacs[i].vf_map &= ~BIT_ULL(vf_id); in bgx_lmac_remove_filters()
280 static int bgx_lmac_save_filter(struct lmac *lmac, u64 dmac, u8 vf_id) in bgx_lmac_save_filter() argument
296 lmac->dmacs[i].vf_map |= BIT_ULL(vf_id); in bgx_lmac_save_filter()
306 lmac->dmacs[lmac->dmacs_cfg].vf_map = BIT_ULL(vf_id); in bgx_lmac_save_filter()
332 u64 cam_dmac, u8 vf_id) in bgx_set_dmac_cam_filter()
350 bgx_lmac_save_filter(lmac, cam_dmac, vf_id); in bgx_set_dmac_cam_filter()
388 void bgx_reset_xcast_mode(int node, int bgx_idx, int lmacid, u8 vf_id) in bgx_reset_xcast_mode() argument
395 bgx_lmac_remove_filters(&bgx->lmac[lmacid], vf_id); in bgx_reset_xcast_mode()
331 bgx_set_dmac_cam_filter(int node, int bgx_idx, int lmacid, u64 cam_dmac, u8 vf_id) bgx_set_dmac_cam_filter() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_err.c1697 * @vf_id: Index of the virtual function with error
1701 * over_8bd_nfe_err by using command. If vf_id is 0, it means error is
1704 static int hclge_query_over_8bd_err_info(struct hclge_dev *hdev, u16 *vf_id, in hclge_query_over_8bd_err_info() argument
1717 *vf_id = le16_to_cpu(req->over_8bd_no_fe_vf_id); in hclge_query_over_8bd_err_info()
1734 u16 vf_id; in hclge_handle_over_8bd_err() local
1738 ret = hclge_query_over_8bd_err_info(hdev, &vf_id, &q_id); in hclge_handle_over_8bd_err()
1745 dev_err(dev, "PPU_PF_ABNORMAL_INT_ST over_8bd_no_fe found, vf_id(%u), queue_id(%u)\n", in hclge_handle_over_8bd_err()
1746 vf_id, q_id); in hclge_handle_over_8bd_err()
1748 if (vf_id) { in hclge_handle_over_8bd_err()
1749 if (vf_id > in hclge_handle_over_8bd_err()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/thunder/
H A Dthunder_bgx.c258 static void bgx_lmac_remove_filters(struct lmac *lmac, u8 vf_id) in bgx_lmac_remove_filters() argument
271 lmac->dmacs[i].vf_map &= ~BIT_ULL(vf_id); in bgx_lmac_remove_filters()
280 static int bgx_lmac_save_filter(struct lmac *lmac, u64 dmac, u8 vf_id) in bgx_lmac_save_filter() argument
296 lmac->dmacs[i].vf_map |= BIT_ULL(vf_id); in bgx_lmac_save_filter()
306 lmac->dmacs[lmac->dmacs_cfg].vf_map = BIT_ULL(vf_id); in bgx_lmac_save_filter()
332 u64 cam_dmac, u8 vf_id) in bgx_set_dmac_cam_filter()
350 bgx_lmac_save_filter(lmac, cam_dmac, vf_id); in bgx_set_dmac_cam_filter()
388 void bgx_reset_xcast_mode(int node, int bgx_idx, int lmacid, u8 vf_id) in bgx_reset_xcast_mode() argument
395 bgx_lmac_remove_filters(&bgx->lmac[lmacid], vf_id); in bgx_reset_xcast_mode()
331 bgx_set_dmac_cam_filter(int node, int bgx_idx, int lmacid, u64 cam_dmac, u8 vf_id) bgx_set_dmac_cam_filter() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A Dqed_sriov.c66 p_ramrod->vf_id = GET_FIELD(p_vf->concrete_fid, PXP_CONCRETE_FID_VFID); in qed_sp_vf_start()
128 p_ramrod->vf_id = GET_FIELD(concrete_vfid, PXP_CONCRETE_FID_VFID); in qed_sp_vf_stop()
4033 p_vf = qed_sriov_get_vf_from_absid(p_hwfn, p_data->vf_id); in qed_sriov_vfpf_malicious()
4670 int vf_id, struct ifla_vf_info *ivi) in qed_get_vf_config()
4682 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vf_id, true, false)) { in qed_get_vf_config()
4684 "VF index [%d] isn't active\n", vf_id); in qed_get_vf_config()
4688 vf_info = qed_iov_get_public_vf_info(hwfn, vf_id, true); in qed_get_vf_config()
4690 ret = qed_iov_get_link(hwfn, vf_id, NULL, &link, NULL); in qed_get_vf_config()
4695 ivi->vf = vf_id; in qed_get_vf_config()
4703 ivi->spoofchk = qed_iov_spoofchk_get(hwfn, vf_id); in qed_get_vf_config()
4669 qed_get_vf_config(struct qed_dev *cdev, int vf_id, struct ifla_vf_info *ivi) qed_get_vf_config() argument
4787 qed_set_vf_link_state(struct qed_dev *cdev, int vf_id, int link_state) qed_set_vf_link_state() argument
5036 qed_update_mac_for_vf_trust_change(struct qed_hwfn *hwfn, int vf_id) qed_update_mac_for_vf_trust_change() argument
[all...]
H A Dqed_hw.h276 u8 vf_id; member
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A Dqed_sriov.c68 p_ramrod->vf_id = GET_FIELD(p_vf->concrete_fid, PXP_CONCRETE_FID_VFID); in qed_sp_vf_start()
130 p_ramrod->vf_id = GET_FIELD(concrete_vfid, PXP_CONCRETE_FID_VFID); in qed_sp_vf_stop()
4698 int vf_id, struct ifla_vf_info *ivi) in qed_get_vf_config()
4710 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vf_id, true, false)) { in qed_get_vf_config()
4712 "VF index [%d] isn't active\n", vf_id); in qed_get_vf_config()
4716 vf_info = qed_iov_get_public_vf_info(hwfn, vf_id, true); in qed_get_vf_config()
4718 ret = qed_iov_get_link(hwfn, vf_id, NULL, &link, NULL); in qed_get_vf_config()
4723 ivi->vf = vf_id; in qed_get_vf_config()
4731 ivi->spoofchk = qed_iov_spoofchk_get(hwfn, vf_id); in qed_get_vf_config()
4735 ivi->min_tx_rate = qed_iov_get_vf_min_rate(hwfn, vf_id); in qed_get_vf_config()
4697 qed_get_vf_config(struct qed_dev *cdev, int vf_id, struct ifla_vf_info *ivi) qed_get_vf_config() argument
4816 qed_set_vf_link_state(struct qed_dev *cdev, int vf_id, int link_state) qed_set_vf_link_state() argument
5065 qed_update_mac_for_vf_trust_change(struct qed_hwfn *hwfn, int vf_id) qed_update_mac_for_vf_trust_change() argument
[all...]
H A Dqed_hw.h302 u8 vf_id; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_lib.h54 enum ice_vsi_type vsi_type, u16 vf_id);

Completed in 45 milliseconds

12345678910