Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/sfc/
H A Def10_sriov.c767 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 Def10_sriov.h49 struct ifla_vf_info *ivf);
/linux/drivers/net/ethernet/intel/ice/
H A Dice_vsi_vlan_lib.c135 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 Dsiena_sriov.h55 struct ifla_vf_info *ivf);
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dcmd.c3212 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 Den_netdev.c2608 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 Dcmd.h317 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 Dionic_lif.c2352 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 Dipoib_main.c2045 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 Dhnae3.h763 struct ifla_vf_info *ivf);
H A Dhns3_enet.c2951 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 Dhclge_main.c3534 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 Drtnetlink.c2600 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 Dib_verbs.h2520 struct ifla_vf_info *ivf);
/linux/include/linux/
H A Dnetdevice.h1433 struct ifla_vf_info *ivf);