app/testpmd: fix physical port socket initialization
authorPhil Yang <phil.yang@arm.com>
Wed, 17 Oct 2018 01:36:30 +0000 (09:36 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 18 Oct 2018 08:24:39 +0000 (10:24 +0200)
commiteffdb8bbb018bd8a611b2ac86a15739f67ea7cbc
tree1aadd5c21a7d3e090eff663eb166eabbca505415
parent9396ad3346720b424a10dcf6640c919e37a4fcf7
app/testpmd: fix physical port socket initialization

Once the lcore list setting excluded the socket which physical device
attached, it will cause failure. Meanwhile, it will disable Testpmd
cross NUMA scenario.

Fixes: dbfb8ec7094c ("app/testpmd: optimize mbuf pool allocation")
Cc: stable@dpdk.org
Signed-off-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
app/test-pmd/testpmd.c