| /linux/drivers/net/ethernet/sfc/ |
| H A D | ef10_sriov.c | 766 struct ifla_vf_info *ivf) in efx_ef10_sriov_get_vf_config() argument 784 ivf->vf = vf_i; in efx_ef10_sriov_get_vf_config() 785 ivf->min_tx_rate = 0; in efx_ef10_sriov_get_vf_config() 786 ivf->max_tx_rate = 0; in efx_ef10_sriov_get_vf_config() 787 ether_addr_copy(ivf->mac, vf->mac); in efx_ef10_sriov_get_vf_config() 788 ivf->vlan = (vf->vlan == EFX_EF10_NO_VLAN) ? 0 : vf->vlan; in efx_ef10_sriov_get_vf_config() 789 ivf->qos = 0; in efx_ef10_sriov_get_vf_config() 803 ivf->linkstate = MCDI_DWORD(outbuf, LINK_STATE_MODE_OUT_OLD_MODE); in efx_ef10_sriov_get_vf_config()
|
| H A D | ef10_sriov.h | 49 struct ifla_vf_info *ivf);
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_vsi_vlan_lib.c | 135 u8 *ivf; in ice_vsi_manage_vlan_stripping() local 148 ivf = &ctxt->info.inner_vlan_flags; in ice_vsi_manage_vlan_stripping() 156 *ivf = FIELD_PREP(ICE_AQ_VSI_INNER_VLAN_EMODE_M, in ice_vsi_manage_vlan_stripping() 160 *ivf = FIELD_PREP(ICE_AQ_VSI_INNER_VLAN_EMODE_M, in ice_vsi_manage_vlan_stripping() 165 *ivf |= ICE_AQ_VSI_INNER_VLAN_TX_MODE_ALL; in ice_vsi_manage_vlan_stripping()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | siena_sriov.h | 55 struct ifla_vf_info *ivf);
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | cmd.c | 3191 int mlx4_get_vf_config(struct mlx4_dev *dev, int port, int vf, struct ifla_vf_info *ivf) in mlx4_get_vf_config() argument 3205 ivf->vf = vf; in mlx4_get_vf_config() 3208 ivf->mac[0] = ((s_info->mac >> (5*8)) & 0xff); in mlx4_get_vf_config() 3209 ivf->mac[1] = ((s_info->mac >> (4*8)) & 0xff); in mlx4_get_vf_config() 3210 ivf->mac[2] = ((s_info->mac >> (3*8)) & 0xff); in mlx4_get_vf_config() 3211 ivf->mac[3] = ((s_info->mac >> (2*8)) & 0xff); in mlx4_get_vf_config() 3212 ivf->mac[4] = ((s_info->mac >> (1*8)) & 0xff); in mlx4_get_vf_config() 3213 ivf->mac[5] = ((s_info->mac) & 0xff); in mlx4_get_vf_config() 3215 ivf->vlan = s_info->default_vlan; in mlx4_get_vf_config() 3216 ivf->qos = s_info->default_qos; in mlx4_get_vf_config() [all …]
|
| H A D | en_netdev.c | 2594 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 2599 return mlx4_get_vf_config(mdev->dev, en_priv->port, vf, ivf); in mlx4_en_get_vf_config()
|
| /linux/include/linux/mlx4/ |
| H A D | cmd.h | 317 int mlx4_get_vf_config(struct mlx4_dev *dev, int port, int vf, struct ifla_vf_info *ivf);
|
| /linux/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_lif.c | 2339 int vf, struct ifla_vf_info *ivf) in ionic_get_vf_config() argument 2355 ivf->vf = vf; in ionic_get_vf_config() 2356 ivf->qos = 0; in ionic_get_vf_config() 2357 ivf->vlan = le16_to_cpu(vfdata->vlanid); in ionic_get_vf_config() 2358 ivf->spoofchk = vfdata->spoofchk; in ionic_get_vf_config() 2359 ivf->linkstate = vfdata->linkstate; in ionic_get_vf_config() 2360 ivf->max_tx_rate = le32_to_cpu(vfdata->maxrate); in ionic_get_vf_config() 2361 ivf->trusted = vfdata->trusted; in ionic_get_vf_config() 2362 ether_addr_copy(ivf->mac, vfdata->macaddr); in ionic_get_vf_config()
|
| /linux/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_main.c | 2108 struct ifla_vf_info *ivf) in ipoib_get_vf_config() argument 2113 err = ib_get_vf_config(priv->ca, vf, priv->port, ivf); in ipoib_get_vf_config() 2117 ivf->vf = vf; in ipoib_get_vf_config() 2118 memcpy(ivf->mac, dev->dev_addr, dev->addr_len); in ipoib_get_vf_config()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_main.c | 3524 struct ifla_vf_info *ivf) in hclge_get_vf_config() argument 3533 ivf->vf = vf; in hclge_get_vf_config() 3534 ivf->linkstate = vport->vf_info.link_state; in hclge_get_vf_config() 3535 ivf->spoofchk = vport->vf_info.spoofchk; in hclge_get_vf_config() 3536 ivf->trusted = vport->vf_info.trusted; in hclge_get_vf_config() 3537 ivf->min_tx_rate = 0; in hclge_get_vf_config() 3538 ivf->max_tx_rate = vport->vf_info.max_tx_rate; in hclge_get_vf_config() 3539 ivf->vlan = vport->port_base_vlan_cfg.vlan_info.vlan_tag; in hclge_get_vf_config() 3540 ivf->vlan_proto = htons(vport->port_base_vlan_cfg.vlan_info.vlan_proto); in hclge_get_vf_config() 3541 ivf->qos = vport->port_base_vlan_cfg.vlan_info.qos; in hclge_get_vf_config() [all …]
|
| /linux/net/core/ |
| H A D | rtnetlink.c | 2825 struct ifla_vf_info ivf; in do_setvfinfo() local 2831 err = ops->ndo_get_vf_config(dev, ivt->vf, &ivf); in do_setvfinfo() 2836 ivf.min_tx_rate, ivt->rate); in do_setvfinfo()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_enet.c | 2968 struct ifla_vf_info *ivf) in hns3_nic_get_vf_config() argument 2975 return h->ae_algo->ops->get_vf_config(h, vf, ivf); in hns3_nic_get_vf_config()
|
| /linux/include/rdma/ |
| H A D | ib_verbs.h | 2606 struct ifla_vf_info *ivf);
|
| /linux/include/linux/ |
| H A D | netdevice.h | 1494 struct ifla_vf_info *ivf);
|