Re: [dpdk-dev] [PATCH 1/2] bond: avoid allocating mempool on socket LCORE_ID_ANY

2017-06-28 Thread Jan Blunck
On Wed, Jun 28, 2017 at 11:47 AM, Declan Doherty wrote: > On 26/04/17 22:30, Jan Blunck wrote: >> >> If the numa node is unknown, use the value from rte_socket_id() to avoid >> an allocation failure. >> >> Signed-off-by: Eric Kinzie >> CC: Eric Kinzie >> --- >> drivers/net/bonding/rte_eth_bond

Re: [dpdk-dev] [PATCH 1/2] bond: avoid allocating mempool on socket LCORE_ID_ANY

2017-06-28 Thread Declan Doherty
On 26/04/17 22:30, Jan Blunck wrote: If the numa node is unknown, use the value from rte_socket_id() to avoid an allocation failure. Signed-off-by: Eric Kinzie CC: Eric Kinzie --- drivers/net/bonding/rte_eth_bond_8023ad.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/bon

[dpdk-dev] [PATCH 1/2] bond: avoid allocating mempool on socket LCORE_ID_ANY

2017-04-26 Thread Jan Blunck
If the numa node is unknown, use the value from rte_socket_id() to avoid an allocation failure. Signed-off-by: Eric Kinzie CC: Eric Kinzie --- drivers/net/bonding/rte_eth_bond_8023ad.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/bonding/rte_eth_bond_8023ad.c b/drivers/net