Searched refs:vfnum (Results 1 - 10 of 10) sorted by relevance

/freebsd-11-stable/sys/dev/ixl/
H A Dixl_pf_iov.h52 int ixl_add_vf(device_t dev, uint16_t vfnum, const nvlist_t *params);
H A Dixl_pf_iov.c1844 ixl_add_vf(device_t dev, uint16_t vfnum, const nvlist_t *params) argument
1855 vf = &pf->vfs[vfnum];
1858 vf->vf_num = vfnum;
1897 snprintf(sysctl_name, sizeof(sysctl_name), "vf%d", vfnum);
/freebsd-11-stable/sys/dev/ixgbe/
H A Dif_sriov.c142 ixgbe_vf_que_index(int mode, int vfnum, int num) argument
144 return ((vfnum * ixgbe_vf_queues(mode)) + num);
857 ixgbe_add_vf(device_t dev, u16 vfnum, const nvlist_t *config) argument
865 KASSERT(vfnum < adapter->num_vfs, ("VF index %d is out of range %d",
866 vfnum, adapter->num_vfs));
869 vf = &adapter->vfs[vfnum];
870 vf->pool= vfnum;
872 /* RAR[0] is used by the PF so use vfnum + 1 for VF RAR. */
873 vf->rar_index = vfnum + 1;
907 ixgbe_vf_que_index(int mode, int vfnum, in argument
[all...]
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_main.c1812 mlx5_iov_add_vf(device_t dev, uint16_t vfnum, const nvlist_t *vf_config) argument
1826 if (vfnum + 1 >= priv->eswitch->total_vports)
1833 vfnum + 1, __DECONST(u8 *, mac));
1837 vfnum + 1, error);
1843 error = -mlx5_modify_nic_vport_node_guid(core_dev, vfnum + 1,
1848 vfnum + 1, error);
1854 error = -mlx5_modify_nic_vport_port_guid(core_dev, vfnum + 1,
1859 vfnum + 1, error);
1863 error = -mlx5_eswitch_set_vport_state(priv->eswitch, vfnum + 1,
1868 vfnum
[all...]
/freebsd-11-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_pci.c311 linux_pci_iov_add_vf(device_t dev, uint16_t vfnum, const nvlist_t *vf_config) argument
319 error = pdev->pdrv->bsd_iov_add_vf(dev, vfnum, vf_config);
/freebsd-11-stable/sys/dev/vnic/
H A Dnic_main.c297 nicpf_iov_add_vf(device_t dev, uint16_t vfnum, const nvlist_t *params) argument
309 if (vfnum > (nic->num_vf_en - 1))
314 bgx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[vfnum]);
315 lmac = NIC_GET_LMAC_FROM_VF_LMAC_MAP(nic->vf_lmac_map[vfnum]);
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_iov.c287 t4iov_add_vf(device_t dev, uint16_t vfnum, const struct nvlist *config) argument
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c175 static int qlnx_iov_add_vf(device_t dev, uint16_t vfnum, const nvlist_t *params);
8402 qlnx_iov_add_vf(device_t dev, uint16_t vfnum, const nvlist_t *params) argument
8415 QL_DPRINT2(ha," dev = %p enter vfnum = %d\n", dev, vfnum);
8417 if (vfnum > (ha->num_vfs - 1)) {
8419 vfnum, (ha->num_vfs - 1));
8422 vf_attr = &ha->vf_attr[vfnum];
8435 vfnum);
8438 QL_DPRINT2(ha," dev = %p exit vfnum = %d\n", dev, vfnum);
[all...]
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dpci.h209 int (*bsd_iov_add_vf)(device_t dev, uint16_t vfnum,
/freebsd-11-stable/sys/net/
H A Diflib.c4704 iflib_device_iov_add_vf(device_t dev, uint16_t vfnum, const nvlist_t *params) argument
4710 error = IFDI_IOV_VF_ADD(ctx, vfnum, params);

Completed in 131 milliseconds