numam-dpdk/drivers/net/ena
Igor Chauskin 29dc10d942 net/ena/base: prevent allocation of zero sized memory
rte_memzone_reserve() will reserve the biggest contiguous memzone
available if received 0 as size param.

Fixes: 9ba7981ec9 ("ena: add communication layer for DPDK")
Cc: stable@dpdk.org

Signed-off-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Guy Tzalik <gtzalik@amazon.com>
2020-04-21 13:57:06 +02:00
..
base net/ena/base: prevent allocation of zero sized memory 2020-04-21 13:57:06 +02:00
ena_ethdev.c net/ena/base: make allocation macros thread-safe 2020-04-21 13:57:06 +02:00
ena_ethdev.h net/ena: ensure Rx buffer size is at least 1400B 2020-04-21 13:57:06 +02:00
ena_logs.h net/ena: change license clause to SPDX tags 2019-10-07 15:00:56 +02:00
ena_platform.h net/ena: change license clause to SPDX tags 2019-10-07 15:00:56 +02: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_pmd_ena_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00