| /Linux-v5.15/drivers/net/ethernet/sfc/ |
| D | ef10_sriov.c | 773 struct ifla_vf_info *ivf) in efx_ef10_sriov_get_vf_config() argument 791 ivf->vf = vf_i; in efx_ef10_sriov_get_vf_config() 792 ivf->min_tx_rate = 0; in efx_ef10_sriov_get_vf_config() 793 ivf->max_tx_rate = 0; in efx_ef10_sriov_get_vf_config() 794 ether_addr_copy(ivf->mac, vf->mac); in efx_ef10_sriov_get_vf_config() 795 ivf->vlan = (vf->vlan == EFX_EF10_NO_VLAN) ? 0 : vf->vlan; in efx_ef10_sriov_get_vf_config() 796 ivf->qos = 0; in efx_ef10_sriov_get_vf_config() 810 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);
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/ |
| D | cmd.c | 3210 int mlx4_get_vf_config(struct mlx4_dev *dev, int port, int vf, struct ifla_vf_info *ivf) in mlx4_get_vf_config() argument 3224 ivf->vf = vf; in mlx4_get_vf_config() 3227 ivf->mac[0] = ((s_info->mac >> (5*8)) & 0xff); in mlx4_get_vf_config() 3228 ivf->mac[1] = ((s_info->mac >> (4*8)) & 0xff); in mlx4_get_vf_config() 3229 ivf->mac[2] = ((s_info->mac >> (3*8)) & 0xff); in mlx4_get_vf_config() 3230 ivf->mac[3] = ((s_info->mac >> (2*8)) & 0xff); in mlx4_get_vf_config() 3231 ivf->mac[4] = ((s_info->mac >> (1*8)) & 0xff); in mlx4_get_vf_config() 3232 ivf->mac[5] = ((s_info->mac) & 0xff); in mlx4_get_vf_config() 3234 ivf->vlan = s_info->default_vlan; in mlx4_get_vf_config() 3235 ivf->qos = s_info->default_qos; in mlx4_get_vf_config() [all …]
|
| D | en_netdev.c | 2605 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 2610 return mlx4_get_vf_config(mdev->dev, en_priv->port, vf, ivf); in mlx4_en_get_vf_config()
|
| /Linux-v5.15/include/linux/mlx4/ |
| D | cmd.h | 317 int mlx4_get_vf_config(struct mlx4_dev *dev, int port, int vf, struct ifla_vf_info *ivf);
|
| /Linux-v5.15/drivers/net/ethernet/pensando/ionic/ |
| D | ionic_lif.c | 2317 int vf, struct ifla_vf_info *ivf) in ionic_get_vf_config() argument 2331 ivf->vf = vf; in ionic_get_vf_config() 2332 ivf->vlan = le16_to_cpu(ionic->vfs[vf].vlanid); in ionic_get_vf_config() 2333 ivf->qos = 0; in ionic_get_vf_config() 2334 ivf->spoofchk = ionic->vfs[vf].spoofchk; in ionic_get_vf_config() 2335 ivf->linkstate = ionic->vfs[vf].linkstate; in ionic_get_vf_config() 2336 ivf->max_tx_rate = le32_to_cpu(ionic->vfs[vf].maxrate); in ionic_get_vf_config() 2337 ivf->trusted = ionic->vfs[vf].trusted; in ionic_get_vf_config() 2338 ether_addr_copy(ivf->mac, ionic->vfs[vf].macaddr); in ionic_get_vf_config()
|
| /Linux-v5.15/drivers/infiniband/ulp/ipoib/ |
| D | ipoib_main.c | 2017 struct ifla_vf_info *ivf) in ipoib_get_vf_config() argument 2022 err = ib_get_vf_config(priv->ca, vf, priv->port, ivf); in ipoib_get_vf_config() 2026 ivf->vf = vf; in ipoib_get_vf_config() 2027 memcpy(ivf->mac, dev->dev_addr, dev->addr_len); in ipoib_get_vf_config()
|
| /Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/ |
| D | hnae3.h | 694 struct ifla_vf_info *ivf);
|
| D | hns3_enet.c | 2803 struct ifla_vf_info *ivf) in hns3_nic_get_vf_config() argument 2810 return h->ae_algo->ops->get_vf_config(h, vf, ivf); in hns3_nic_get_vf_config()
|
| /Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| D | hclge_main.c | 3272 struct ifla_vf_info *ivf) in hclge_get_vf_config() argument 3281 ivf->vf = vf; in hclge_get_vf_config() 3282 ivf->linkstate = vport->vf_info.link_state; in hclge_get_vf_config() 3283 ivf->spoofchk = vport->vf_info.spoofchk; in hclge_get_vf_config() 3284 ivf->trusted = vport->vf_info.trusted; in hclge_get_vf_config() 3285 ivf->min_tx_rate = 0; in hclge_get_vf_config() 3286 ivf->max_tx_rate = vport->vf_info.max_tx_rate; in hclge_get_vf_config() 3287 ivf->vlan = vport->port_base_vlan_cfg.vlan_info.vlan_tag; in hclge_get_vf_config() 3288 ivf->vlan_proto = htons(vport->port_base_vlan_cfg.vlan_info.vlan_proto); in hclge_get_vf_config() 3289 ivf->qos = vport->port_base_vlan_cfg.vlan_info.qos; in hclge_get_vf_config() [all …]
|
| /Linux-v5.15/net/core/ |
| D | rtnetlink.c | 2386 struct ifla_vf_info ivf; in do_setvfinfo() local 2392 err = ops->ndo_get_vf_config(dev, ivt->vf, &ivf); in do_setvfinfo() 2399 ivf.min_tx_rate, in do_setvfinfo()
|
| /Linux-v5.15/include/rdma/ |
| D | ib_verbs.h | 2511 struct ifla_vf_info *ivf);
|
| /Linux-v5.15/include/linux/ |
| D | netdevice.h | 1419 struct ifla_vf_info *ivf);
|