Searched refs:ivf (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/sfc/ |
D | ef10_sriov.c | 717 struct ifla_vf_info *ivf) in efx_ef10_sriov_get_vf_config() argument 735 ivf->vf = vf_i; in efx_ef10_sriov_get_vf_config() 736 ivf->min_tx_rate = 0; in efx_ef10_sriov_get_vf_config() 737 ivf->max_tx_rate = 0; in efx_ef10_sriov_get_vf_config() 738 ether_addr_copy(ivf->mac, vf->mac); in efx_ef10_sriov_get_vf_config() 739 ivf->vlan = (vf->vlan == EFX_EF10_NO_VLAN) ? 0 : vf->vlan; in efx_ef10_sriov_get_vf_config() 740 ivf->qos = 0; in efx_ef10_sriov_get_vf_config() 754 ivf->linkstate = MCDI_DWORD(outbuf, LINK_STATE_MODE_OUT_OLD_MODE); in efx_ef10_sriov_get_vf_config()
|
D | siena_sriov.h | 55 struct ifla_vf_info *ivf);
|
D | ef10_sriov.h | 51 struct ifla_vf_info *ivf);
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 3199 int mlx4_get_vf_config(struct mlx4_dev *dev, int port, int vf, struct ifla_vf_info *ivf) in mlx4_get_vf_config() argument 3213 ivf->vf = vf; in mlx4_get_vf_config() 3216 ivf->mac[0] = ((s_info->mac >> (5*8)) & 0xff); in mlx4_get_vf_config() 3217 ivf->mac[1] = ((s_info->mac >> (4*8)) & 0xff); in mlx4_get_vf_config() 3218 ivf->mac[2] = ((s_info->mac >> (3*8)) & 0xff); in mlx4_get_vf_config() 3219 ivf->mac[3] = ((s_info->mac >> (2*8)) & 0xff); in mlx4_get_vf_config() 3220 ivf->mac[4] = ((s_info->mac >> (1*8)) & 0xff); in mlx4_get_vf_config() 3221 ivf->mac[5] = ((s_info->mac) & 0xff); in mlx4_get_vf_config() 3223 ivf->vlan = s_info->default_vlan; in mlx4_get_vf_config() 3224 ivf->qos = s_info->default_qos; in mlx4_get_vf_config() [all …]
|
D | en_netdev.c | 2595 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 2600 return mlx4_get_vf_config(mdev->dev, en_priv->port, vf, ivf); in mlx4_en_get_vf_config()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_main.c | 1997 struct ifla_vf_info *ivf) in ipoib_get_vf_config() argument 2002 err = ib_get_vf_config(priv->ca, vf, priv->port, ivf); in ipoib_get_vf_config() 2006 ivf->vf = vf; in ipoib_get_vf_config() 2007 memcpy(ivf->mac, dev->dev_addr, dev->addr_len); in ipoib_get_vf_config()
|