numam-dpdk/drivers/net/ena/base
Michal Krawczyk 850e1bb1c7 net/ena/base: make IO memzone unique per port
Originally, the ena_com memzone counter was shared by ports, which
caused the memzones to be harder to identify and could potentially
lead to race and because of that the counter had to be atomic.

This atomic counter was global variable and it couldn't work in the
multiprocess implementation.

The memzone is now being identified by the local to port memzone counter
and the port ID - both of those information can be found in the shared
data, so it can be probed easily.

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Dawid Gorecki <dgr@semihalf.com>
Reviewed-by: Shai Brandes <shaibran@amazon.com>
2022-02-23 19:01:03 +01:00
..
ena_defs net/ena: update version to v2.3.0 2021-05-11 15:00:44 +02:00
ena_com.c net/ena/base: remove indirection table from features context 2021-05-11 15:00:44 +02:00
ena_com.h net/ena/base: remove indirection table from features context 2021-05-11 15:00:44 +02:00
ena_eth_com.c net/ena/base: improve style and comments 2021-05-11 15:00:43 +02:00
ena_eth_com.h net/ena/base: add device argument to logging macros 2021-05-11 15:00:43 +02:00
ena_plat_dpdk.h net/ena/base: make IO memzone unique per port 2022-02-23 19:01:03 +01:00
ena_plat.h net/ena: change license clause to SPDX tags 2019-10-07 15:00:56 +02:00