Rasesh Mody 8d6c8b9ade net/bnx2x: fix socket id for slowpath memory
When the DMA allocation routine is invoked in the context of a non-EAL
thread, the API rte_lcore_id() returns -1 and indexing on that in
rte_lcore_to_socket_id() leads to segfault. The fix is to use
SOCKET_ID_ANY as the socket_id for all slowpath memory allocation.

Fixes: 540a211084a7 ("bnx2x: driver core")

Signed-off-by: Rasesh Mody <rasesh.mody@qlogic.com>
2016-10-13 15:30:59 +02:00
..
2015-12-13 01:58:10 +01:00
2015-12-13 01:58:10 +01:00
2015-12-13 01:58:10 +01:00
2015-12-13 01:58:10 +01:00
2015-12-13 01:58:10 +01:00
2015-12-13 01:58:10 +01:00
2015-12-13 01:58:10 +01:00
2015-12-13 01:58:10 +01:00
2015-12-13 01:58:10 +01:00
2015-12-13 01:58:10 +01:00
2015-12-13 01:58:10 +01:00
2015-12-13 01:58:10 +01:00
2015-12-13 01:58:10 +01:00
2016-06-29 11:48:36 +02:00
2015-12-13 01:58:10 +01:00
2015-12-13 01:58:10 +01:00