2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

dpif-netdev: Add dpif-netdev/pmd-rxq-show appctl command.

This command can be used to check the port/rxq assignment to
pmd threads. For each pmd thread of the datapath shows list
of queue-ids with port names.

Additionally log message from pmd_thread_main() extended with
queue-id, and type of this message changed from INFO to DBG.

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
This commit is contained in:
Ilya Maximets
2016-02-08 10:38:47 +03:00
committed by Daniele Di Proietto
parent e02b8fb02d
commit ce179f1163
6 changed files with 77 additions and 22 deletions

View File

@@ -1815,6 +1815,12 @@ netdev_rxq_get_name(const struct netdev_rxq *rx)
return netdev_get_name(netdev_rxq_get_netdev(rx));
}
int
netdev_rxq_get_queue_id(const struct netdev_rxq *rx)
{
return rx->queue_id;
}
static void
restore_all_flags(void *aux OVS_UNUSED)
{