There is no log about isolated rxq assigment in a pmd today, which sometimes could be useful to trace rxq/pmd pinning, when debugging with log. Ovs-appctl dpif-netdev/pmd-rxq-show reports about it already, but logging is helpful to trace pinning in time.
Reported-at: https://bugzilla.redhat.com/1728616 Signed-off-by: Gowrishankar Muthukrishnan <[email protected]> --- lib/dpif-netdev.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 4546b55e8..7a5afea00 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -4573,6 +4573,10 @@ rxq_scheduling(struct dp_netdev *dp, bool pinned) OVS_REQUIRES(dp->port_mutex) q->pmd = pmd; pmd->isolated = true; dp_netdev_pmd_unref(pmd); + VLOG_INFO("Core %d on numa node %d assigned port \'%s\' " + "rx queue %d.", pmd->core_id, numa_id, + netdev_rxq_get_name(q->rx), + netdev_rxq_get_queue_id(q->rx)); } } else if (!pinned && q->core_id == OVS_CORE_UNSPEC) { uint64_t cycle_hist = 0; -- 2.17.2 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
