net/bonding: avoid allocating mempool on unknown socket
authorEric Kinzie <ekinzie@brocade.com>
Fri, 30 Jun 2017 14:34:48 +0000 (15:34 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Jul 2017 13:00:57 +0000 (15:00 +0200)
commitc15c5897340dc30ea11447043b54716f9ddd6428
tree68ea10a870da225b360c570c2faae143c0d76601
parentaab21617502eb90d8b466ef06300ebd6e20e534e
net/bonding: avoid allocating mempool on unknown socket

If the numa node is unknown, use the value from rte_socket_id() to avoid
an allocation failure.

Signed-off-by: Eric Kinzie <ekinzie@brocade.com>
Signed-off-by: Declan Doherty <declan.doherty@intel.com>
drivers/net/bonding/rte_eth_bond_8023ad.c