numam-dpdk/drivers/net/bonding
David Marchand 46dac7d111 net/bonding: fix socket ID check
Caught by code review, rte_eth_dev_socket_id() returns -1 on error.
The code should behave the same, but still, do not use LCORE_ID_ANY for
something that is not a lcore id.

Fixes: c15c589734 ("net/bonding: avoid allocating mempool on unknown socket")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Chas Williams <chas3@att.com>
2020-07-11 06:18:53 +02:00
..
eth_bond_8023ad_private.h rename private header files 2019-10-27 22:03:06 +01:00
eth_bond_private.h rename private header files 2019-10-27 22:03:06 +01:00
Makefile build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
rte_eth_bond_8023ad.c net/bonding: fix socket ID check 2020-07-11 06:18:53 +02:00
rte_eth_bond_8023ad.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_eth_bond_alb.c rename private header files 2019-10-27 22:03:06 +01:00
rte_eth_bond_alb.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
rte_eth_bond_api.c rename private header files 2019-10-27 22:03:06 +01:00
rte_eth_bond_args.c rename private header files 2019-10-27 22:03:06 +01:00
rte_eth_bond_flow.c rename private header files 2019-10-27 22:03:06 +01:00
rte_eth_bond_pmd.c log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
rte_eth_bond.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
rte_pmd_bond_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00