Searched refs:ivf (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | ef10_sriov.c | 692 struct ifla_vf_info *ivf) in efx_ef10_sriov_get_vf_config() argument 710 ivf->vf = vf_i; in efx_ef10_sriov_get_vf_config() 711 ivf->min_tx_rate = 0; in efx_ef10_sriov_get_vf_config() 712 ivf->max_tx_rate = 0; in efx_ef10_sriov_get_vf_config() 713 ether_addr_copy(ivf->mac, vf->mac); in efx_ef10_sriov_get_vf_config() 714 ivf->vlan = (vf->vlan == EFX_EF10_NO_VLAN) ? 0 : vf->vlan; in efx_ef10_sriov_get_vf_config() 715 ivf->qos = 0; in efx_ef10_sriov_get_vf_config() 729 ivf->linkstate = MCDI_DWORD(outbuf, LINK_STATE_MODE_OUT_OLD_MODE); in efx_ef10_sriov_get_vf_config()
|
D | siena_sriov.h | 58 struct ifla_vf_info *ivf);
|
D | ef10_sriov.h | 54 struct ifla_vf_info *ivf);
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 3095 int mlx4_get_vf_config(struct mlx4_dev *dev, int port, int vf, struct ifla_vf_info *ivf) in mlx4_get_vf_config() argument 3109 ivf->vf = vf; in mlx4_get_vf_config() 3112 ivf->mac[0] = ((s_info->mac >> (5*8)) & 0xff); in mlx4_get_vf_config() 3113 ivf->mac[1] = ((s_info->mac >> (4*8)) & 0xff); in mlx4_get_vf_config() 3114 ivf->mac[2] = ((s_info->mac >> (3*8)) & 0xff); in mlx4_get_vf_config() 3115 ivf->mac[3] = ((s_info->mac >> (2*8)) & 0xff); in mlx4_get_vf_config() 3116 ivf->mac[4] = ((s_info->mac >> (1*8)) & 0xff); in mlx4_get_vf_config() 3117 ivf->mac[5] = ((s_info->mac) & 0xff); in mlx4_get_vf_config() 3119 ivf->vlan = s_info->default_vlan; in mlx4_get_vf_config() 3120 ivf->qos = s_info->default_qos; in mlx4_get_vf_config() [all …]
|
D | en_netdev.c | 2317 static int mlx4_en_get_vf_config(struct net_device *dev, int vf, struct ifla_vf_info *ivf) in mlx4_en_get_vf_config() argument 2322 return mlx4_get_vf_config(mdev->dev, en_priv->port, vf, ivf); in mlx4_en_get_vf_config()
|
/linux-4.4.14/include/linux/mlx4/ |
D | cmd.h | 315 int mlx4_get_vf_config(struct mlx4_dev *dev, int port, int vf, struct ifla_vf_info *ivf);
|
/linux-4.4.14/net/core/ |
D | rtnetlink.c | 1568 struct ifla_vf_info ivf; in do_setvfinfo() local 1572 err = ops->ndo_get_vf_config(dev, ivt->vf, &ivf); in do_setvfinfo() 1579 ivf.min_tx_rate, in do_setvfinfo()
|
/linux-4.4.14/include/linux/ |
D | netdevice.h | 1122 struct ifla_vf_info *ivf);
|