/linux/drivers/net/ethernet/sfc/ |
H A D | ef10_sriov.c | 767 struct ifla_vf_info *ivf) in efx_ef10_sriov_get_vf_config() argument 785 ivf->vf = vf_i; in efx_ef10_sriov_get_vf_config() 786 ivf->min_tx_rate = 0; in efx_ef10_sriov_get_vf_config() 787 ivf->max_tx_rate = 0; in efx_ef10_sriov_get_vf_config() 788 ether_addr_copy(ivf->mac, vf->mac); in efx_ef10_sriov_get_vf_config() 789 ivf->vlan = (vf->vlan == EFX_EF10_NO_VLAN) ? 0 : vf->vlan; in efx_ef10_sriov_get_vf_config() 790 ivf->qos = 0; in efx_ef10_sriov_get_vf_config() 804 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 | 3212 ivf->vf = vf; in mlx4_get_vf_config() 3215 ivf->mac[0] = ((s_info->mac >> (5*8)) & 0xff); in mlx4_get_vf_config() 3220 ivf->mac[5] = ((s_info->mac) & 0xff); in mlx4_get_vf_config() 3222 ivf->vlan = s_info->default_vlan; in mlx4_get_vf_config() 3223 ivf->qos = s_info->default_qos; in mlx4_get_vf_config() 3224 ivf->vlan_proto = s_info->vlan_proto; in mlx4_get_vf_config() 3227 ivf->max_tx_rate = s_info->tx_rate; in mlx4_get_vf_config() 3229 ivf->max_tx_rate = 0; in mlx4_get_vf_config() 3231 ivf->min_tx_rate = 0; in mlx4_get_vf_config() 3232 ivf->spoofchk = s_info->spoofchk; in mlx4_get_vf_config() [all …]
|
H A D | en_netdev.c | 2608 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 2613 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 | 2352 int vf, struct ifla_vf_info *ivf) in ionic_get_vf_config() argument 2368 ivf->vf = vf; in ionic_get_vf_config() 2369 ivf->qos = 0; in ionic_get_vf_config() 2370 ivf->vlan = le16_to_cpu(vfdata->vlanid); in ionic_get_vf_config() 2371 ivf->spoofchk = vfdata->spoofchk; in ionic_get_vf_config() 2372 ivf->linkstate = vfdata->linkstate; in ionic_get_vf_config() 2373 ivf->max_tx_rate = le32_to_cpu(vfdata->maxrate); in ionic_get_vf_config() 2374 ivf->trusted = vfdata->trusted; in ionic_get_vf_config() 2375 ether_addr_copy(ivf->mac, vfdata->macaddr); in ionic_get_vf_config()
|
/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 2045 struct ifla_vf_info *ivf) in ipoib_get_vf_config() argument 2050 err = ib_get_vf_config(priv->ca, vf, priv->port, ivf); in ipoib_get_vf_config() 2054 ivf->vf = vf; in ipoib_get_vf_config() 2055 memcpy(ivf->mac, dev->dev_addr, dev->addr_len); in ipoib_get_vf_config()
|
/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hnae3.h | 763 struct ifla_vf_info *ivf);
|
H A D | hns3_enet.c | 2951 struct ifla_vf_info *ivf) in hns3_nic_get_vf_config() argument 2958 return h->ae_algo->ops->get_vf_config(h, vf, ivf); in hns3_nic_get_vf_config()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 3534 struct ifla_vf_info *ivf) in hclge_get_vf_config() argument 3543 ivf->vf = vf; in hclge_get_vf_config() 3544 ivf->linkstate = vport->vf_info.link_state; in hclge_get_vf_config() 3545 ivf->spoofchk = vport->vf_info.spoofchk; in hclge_get_vf_config() 3546 ivf->trusted = vport->vf_info.trusted; in hclge_get_vf_config() 3547 ivf->min_tx_rate = 0; in hclge_get_vf_config() 3548 ivf->max_tx_rate = vport->vf_info.max_tx_rate; in hclge_get_vf_config() 3549 ivf->vlan = vport->port_base_vlan_cfg.vlan_info.vlan_tag; in hclge_get_vf_config() 3550 ivf->vlan_proto = htons(vport->port_base_vlan_cfg.vlan_info.vlan_proto); in hclge_get_vf_config() 3551 ivf->qos = vport->port_base_vlan_cfg.vlan_info.qos; in hclge_get_vf_config() [all …]
|
/linux/net/core/ |
H A D | rtnetlink.c | 2600 struct ifla_vf_info ivf; in do_setvfinfo() local 2606 err = ops->ndo_get_vf_config(dev, ivt->vf, &ivf); in do_setvfinfo() 2611 ivf.min_tx_rate, ivt->rate); in do_setvfinfo()
|
/linux/include/rdma/ |
H A D | ib_verbs.h | 2520 struct ifla_vf_info *ivf);
|
/linux/include/linux/ |
H A D | netdevice.h | 1433 struct ifla_vf_info *ivf);
|