Home
last modified time | relevance | path

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

/linux-2.6.39/net/core/
Drtnetlink.c705 int num_vfs = dev_num_vf(dev->dev.parent); in rtnl_vfinfo_size()
735 if (dev_num_vf(dev->dev.parent)) in rtnl_port_size()
737 vf_port_size * dev_num_vf(dev->dev.parent); in rtnl_port_size()
778 for (vf = 0; vf < dev_num_vf(dev->dev.parent); vf++) { in rtnl_vf_ports_fill()
833 if (dev_num_vf(dev->dev.parent)) { in rtnl_port_fill()
917 NLA_PUT_U32(skb, IFLA_NUM_VF, dev_num_vf(dev->dev.parent)); in rtnl_fill_ifinfo()
923 int num_vfs = dev_num_vf(dev->dev.parent); in rtnl_fill_ifinfo()
/linux-2.6.39/include/linux/
Dpci.h682 #define dev_num_vf(d) ((dev_is_pci(d) ? pci_num_vf(to_pci_dev(d)) : 0)) macro
1242 #define dev_num_vf(d) (0) macro