numam-dpdk/drivers/net/ena
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: 3d3edc265f ("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
..
base net/ena: change memory type 2018-06-14 19:27:50 +02:00
ena_ethdev.c net/ena: update NUMA node 2018-06-14 19:27:50 +02:00
ena_ethdev.h net/ena: adjust error checking and cleaning 2018-06-14 19:27:50 +02:00
ena_logs.h net/ena: implement dynamic logging 2018-01-16 18:47:49 +01:00
ena_platform.h net/ena: implement dynamic logging 2018-01-16 18:47:49 +01:00
Makefile net/ena: add watchdog and keep alive AENQ handler 2018-06-14 19:27:50 +02:00
rte_pmd_ena_version.map ena: add polling-mode driver 2016-03-25 18:56:43 +01:00