dpif-netdev: log port/core affinity
authorMark Kavanagh <mark.b.kavanagh@intel.com>
Tue, 9 Jun 2015 14:49:18 +0000 (07:49 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Thu, 25 Jun 2015 18:21:38 +0000 (11:21 -0700)
commit7dd671f08e03ba2d133389aa25680baffd2ce0d5
treee291ce6ea97db6c4f98d56eda9753ccd2d2d3628
parentdc6ba5dc8b996210f85d4bc6884af469a5244b96
dpif-netdev: log port/core affinity

When using multiple PMDs and numerous ports, a performance gain
may be achieved in some use cases by pinning a PMD/port to a
particular (set of) core(s).

This patch provides a summary of the switch's port/core affinities
each time that the status of the switch's ports is modified.
Based on this information, a user may determine what affinity
modifications are required to optimise performance for their
particular use case.

Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com>
Signed-off-by: Wojciech Andralojc <wojciechx.andralojc@intel.com>
Acked-by: Flavio Leitner <fbl@redhat.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/dpif-netdev.c