X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=lib%2Fnetdev.h;h=a81989e5d217045f4dd62cb53c37b931fabca1eb;hb=ce179f1163f947fe8dc5afa35a2cdd0756bb53a0;hp=622e2ae2c91fee5fa5f145127823e1f8f9d10579;hpb=3ae91c019019889fbe93aa7dfd6e3747da362b24;p=cascardo%2Fovs.git diff --git a/lib/netdev.h b/lib/netdev.h index 622e2ae2c..a81989e5d 100644 --- a/lib/netdev.h +++ b/lib/netdev.h @@ -142,6 +142,7 @@ bool netdev_is_reserved_name(const char *name); int netdev_n_txq(const struct netdev *netdev); int netdev_n_rxq(const struct netdev *netdev); +int netdev_requested_n_rxq(const struct netdev *netdev); bool netdev_is_pmd(const struct netdev *netdev); /* Open and close. */ @@ -174,6 +175,7 @@ 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 *); +int netdev_rxq_get_queue_id(const struct netdev_rxq *); int netdev_rxq_recv(struct netdev_rxq *rx, struct dp_packet **buffers, int *cnt);