X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fnetdev.h;h=432f327d28b37782b3c8ea244ef4ecd30a24df7f;hb=55c955bd8aecc90273ffa93114c1c38f4f9b78ec;hp=0b8def97ab01b6735a9c3d1301cb7ea8f519aef8;hpb=f77917408a404d4660c6fb2cbe4d4c0f9f123cf2;p=sliver-openvswitch.git diff --git a/lib/netdev.h b/lib/netdev.h index 0b8def97a..432f327d2 100644 --- a/lib/netdev.h +++ b/lib/netdev.h @@ -134,6 +134,7 @@ void netdev_wait(void); void netdev_enumerate_types(struct sset *types); bool netdev_is_reserved_name(const char *name); +int netdev_n_rxq(const struct netdev *netdev); bool netdev_is_pmd(const struct netdev *netdev); /* Open and close. */ @@ -159,7 +160,7 @@ int netdev_set_mtu(const struct netdev *, int mtu); int netdev_get_ifindex(const struct netdev *); /* Packet reception. */ -int netdev_rxq_open(struct netdev *, struct netdev_rxq **); +int netdev_rxq_open(struct netdev *, struct netdev_rxq **, int id); void netdev_rxq_close(struct netdev_rxq *); const char *netdev_rxq_get_name(const struct netdev_rxq *);