Home
last modified time | relevance | path

Searched refs:vf_vlan (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c105 struct hinic_vf_vlan_config vf_vlan = {0}; in hinic_set_vf_vlan() local
106 u16 out_size = sizeof(vf_vlan); in hinic_set_vf_vlan()
114 vf_vlan.func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_set_vf_vlan()
115 vf_vlan.vlan_id = vid; in hinic_set_vf_vlan()
116 vf_vlan.qos = qos; in hinic_set_vf_vlan()
123 err = hinic_port_msg_cmd(hwdev, cmd, &vf_vlan, in hinic_set_vf_vlan()
124 sizeof(vf_vlan), &vf_vlan, &out_size); in hinic_set_vf_vlan()
125 if (err || !out_size || vf_vlan.status) { in hinic_set_vf_vlan()
127 HW_VF_ID_TO_OS(vf_id), err, vf_vlan.status, out_size); in hinic_set_vf_vlan()
/Linux-v6.6/net/core/
Drtnetlink.c1286 struct ifla_vf_vlan vf_vlan; in rtnl_fill_vfinfo() local
1318 vf_vlan.vf = in rtnl_fill_vfinfo()
1331 vf_vlan.vlan = ivi.vlan; in rtnl_fill_vfinfo()
1332 vf_vlan.qos = ivi.qos; in rtnl_fill_vfinfo()
1348 nla_put(skb, IFLA_VF_VLAN, sizeof(vf_vlan), &vf_vlan) || in rtnl_fill_vfinfo()