Rafal Kozik 9f32c7e7e6 net/ena: change memory type
ENA_MEM_ALLOC_NODE not need to use contiguous physical memory.
Also using memset without checking if allocation succeed can cause
segmentation fault.

To avoid both issue use rte_zmalloc_socket.

Fixes: 3d3edc265fc8 ("net/ena: make coherent memory allocation NUMA-aware")
Cc: stable@dpdk.org

Signed-off-by: Rafal Kozik <rk@semihalf.com>
Acked-by: Michal Krawczyk <mk@semihalf.com>
2018-06-14 19:27:50 +02:00
..
2018-05-17 19:06:29 +02:00
2018-06-14 19:27:50 +02:00
2018-05-14 22:31:53 +01:00
2018-05-23 00:35:01 +02:00
2018-06-14 19:27:50 +02:00
2018-05-14 22:31:51 +01:00
2018-05-30 12:23:01 +02:00
2018-04-27 15:54:55 +01:00
2018-05-23 00:35:01 +02:00
2018-05-14 22:31:53 +01:00
2018-05-25 17:07:40 +02:00
2018-05-14 22:31:53 +01:00
2018-05-14 22:31:53 +01:00
2018-05-14 22:31:53 +01:00
2018-06-14 19:27:50 +02:00
2018-05-14 22:31:51 +01:00
2018-05-14 22:31:51 +01:00
2018-04-27 15:54:55 +01:00
2018-04-19 14:10:44 +02:00