Home
last modified time | relevance | path

Searched refs:ivf (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/sfc/
Def10_sriov.c778 struct ifla_vf_info *ivf) in efx_ef10_sriov_get_vf_config() argument
796 ivf->vf = vf_i; in efx_ef10_sriov_get_vf_config()
797 ivf->min_tx_rate = 0; in efx_ef10_sriov_get_vf_config()
798 ivf->max_tx_rate = 0; in efx_ef10_sriov_get_vf_config()
799 ether_addr_copy(ivf->mac, vf->mac); in efx_ef10_sriov_get_vf_config()
800 ivf->vlan = (vf->vlan == EFX_EF10_NO_VLAN) ? 0 : vf->vlan; in efx_ef10_sriov_get_vf_config()
801 ivf->qos = 0; in efx_ef10_sriov_get_vf_config()
815 ivf->linkstate = MCDI_DWORD(outbuf, LINK_STATE_MODE_OUT_OLD_MODE); in efx_ef10_sriov_get_vf_config()
Dsiena_sriov.h55 struct ifla_vf_info *ivf);
Def10_sriov.h51 struct ifla_vf_info *ivf);
/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c3199 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 …]
Den_netdev.c2600 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
2605 return mlx4_get_vf_config(mdev->dev, en_priv->port, vf, ivf); in mlx4_en_get_vf_config()
/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c1913 int vf, struct ifla_vf_info *ivf) in ionic_get_vf_config() argument
1927 ivf->vf = vf; in ionic_get_vf_config()
1928 ivf->vlan = le16_to_cpu(ionic->vfs[vf].vlanid); in ionic_get_vf_config()
1929 ivf->qos = 0; in ionic_get_vf_config()
1930 ivf->spoofchk = ionic->vfs[vf].spoofchk; in ionic_get_vf_config()
1931 ivf->linkstate = ionic->vfs[vf].linkstate; in ionic_get_vf_config()
1932 ivf->max_tx_rate = le32_to_cpu(ionic->vfs[vf].maxrate); in ionic_get_vf_config()
1933 ivf->trusted = ionic->vfs[vf].trusted; in ionic_get_vf_config()
1934 ether_addr_copy(ivf->mac, ionic->vfs[vf].macaddr); in ionic_get_vf_config()
/drivers/infiniband/ulp/ipoib/
Dipoib_main.c2008 struct ifla_vf_info *ivf) in ipoib_get_vf_config() argument
2013 err = ib_get_vf_config(priv->ca, vf, priv->port, ivf); in ipoib_get_vf_config()
2017 ivf->vf = vf; in ipoib_get_vf_config()
2018 memcpy(ivf->mac, dev->dev_addr, dev->addr_len); in ipoib_get_vf_config()
/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h622 struct ifla_vf_info *ivf);
Dhns3_enet.c2012 struct ifla_vf_info *ivf) in hns3_nic_get_vf_config() argument
2019 return h->ae_algo->ops->get_vf_config(h, vf, ivf); in hns3_nic_get_vf_config()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c3031 struct ifla_vf_info *ivf) in hclge_get_vf_config() argument
3040 ivf->vf = vf; in hclge_get_vf_config()
3041 ivf->linkstate = vport->vf_info.link_state; in hclge_get_vf_config()
3042 ivf->spoofchk = vport->vf_info.spoofchk; in hclge_get_vf_config()
3043 ivf->trusted = vport->vf_info.trusted; in hclge_get_vf_config()
3044 ivf->min_tx_rate = 0; in hclge_get_vf_config()
3045 ivf->max_tx_rate = vport->vf_info.max_tx_rate; in hclge_get_vf_config()
3046 ivf->vlan = vport->port_base_vlan_cfg.vlan_info.vlan_tag; in hclge_get_vf_config()
3047 ivf->vlan_proto = htons(vport->port_base_vlan_cfg.vlan_info.vlan_proto); in hclge_get_vf_config()
3048 ivf->qos = vport->port_base_vlan_cfg.vlan_info.qos; in hclge_get_vf_config()
[all …]