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:19:04 +0000 (11:19 -0700)
commit2322af3d415e5149af696193a12a2866f3fd0dff
treea0c7c29361a2616b09587a94232b81dda17a2c74
parent4062928f7efcc6d0d3bc27b434a34503f084c63a
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