Home
last modified time | relevance | path

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

/external/iproute2/testsuite/tools/
Dgenerate_nlmsg.c30 struct ifla_vf_vlan vf_vlan = { 0 }; in fill_vf_rate_test() local
72 ATTR_L(IFLA_VF_VLAN, &vf_vlan, sizeof(vf_vlan)); in fill_vf_rate_test()
78 vf_mac.vf = vf_vlan.vf = vf_tx_rate.vf = 1; in fill_vf_rate_test()
83 ATTR_L(IFLA_VF_VLAN, &vf_vlan, sizeof(vf_vlan)); in fill_vf_rate_test()
/external/libnl/lib/route/link/
Dsriov.c154 nl_dump(p, "\t vlan %u", vlan_data[cur].vf_vlan); in dump_sriov_vlans()
311 vlans->vlans[cur].vf_vlan = vi[cur]->vlan ? vi[cur]->vlan : 0; in rtnl_link_vf_vlan_info()
331 vlan.vlan = vinfo[0].vf_vlan; in sriov_fill_vf_vlan()
352 vlan.vlan = vlan_info[cur].vf_vlan; in sriov_fill_vf_vlan_list()
527 struct ifla_vf_vlan *vf_vlan; in rtnl_link_sriov_parse_vflist() local
593 vf_vlan = nla_data(t[IFLA_VF_VLAN]); in rtnl_link_sriov_parse_vflist()
595 if (vf_vlan->vlan) { in rtnl_link_sriov_parse_vflist()
602 vf_vlans->vlans[0].vf_vlan = vf_vlan->vlan; in rtnl_link_sriov_parse_vflist()
603 vf_vlans->vlans[0].vf_vlan_qos = vf_vlan->qos; in rtnl_link_sriov_parse_vflist()
/external/libnl/include/netlink/route/link/
Dsriov.h66 uint32_t vf_vlan; /*!< VLAN number */ member
/external/iproute2/ip/
Dipaddress.c408 struct ifla_vf_vlan *vf_vlan = RTA_DATA(vf[IFLA_VF_VLAN]); in print_vfinfo() local
410 if (vf_vlan->vlan) in print_vfinfo()
414 vf_vlan->vlan); in print_vfinfo()
415 if (vf_vlan->qos) in print_vfinfo()
416 print_int(PRINT_ANY, "qos", ", qos %d", vf_vlan->qos); in print_vfinfo()