af_xdp: fix NUMA node parsing 38/29838/2
authorBenoît Ganne <bganne@cisco.com>
Mon, 19 Oct 2020 07:49:09 +0000 (09:49 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 12 Nov 2020 12:33:28 +0000 (12:33 +0000)
commit087d81dafad8ff52e3704357e1ee2d87b0aed694
tree761c5bc06b0ad09aca9a853f48c4e45a1791ae99
parent73a347660205b96693d50cbd754be8d838dd5ae6
af_xdp: fix NUMA node parsing

Non-NUMA systems might report -1 as NUMA node.

Type: fix

Change-Id: I092c817ea670009d6f530cc70ad13d45e15fd363
Signed-off-by: Benoît Ganne <bganne@cisco.com>
(cherry picked from commit 4317b8efb1c4a4163b2585b9abd71ec38cd0862c)
src/plugins/af_xdp/device.c