numam-dpdk/drivers/net/mlx5
Anatoly Burakov 5282bb1c36 mem: allow memseg lists to be marked as external
When we allocate and use DPDK memory, we need to be able to
differentiate between DPDK hugepage segments and segments that
were made part of DPDK but are externally allocated. Add such
a property to memseg lists.

This breaks the ABI, so document the change in release notes.
This also breaks a few internal assumptions about memory
contiguousness, so adjust malloc code in a few places.

All current calls for memseg walk functions were adjusted to
ignore external segments where it made sense.

Mempools is a special case, because we may be asked to allocate
a mempool on a specific socket, and we need to ignore all page
sizes on other heaps or other sockets. Previously, this
assumption of knowing all page sizes was not a problem, but it
will be now, so we have to match socket ID with page size when
calculating minimum page size for a mempool.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
2018-10-11 10:24:29 +02:00
..
Makefile net/mlx5: avoid stripping the glue library 2018-08-02 12:34:17 +02:00
meson.build net/mlx5: support meson build 2018-09-28 01:41:01 +02:00
mlx5_defs.h net/mlx5: fix minimum number of Multi-Packet RQ buffers 2018-08-05 13:29:34 +02:00
mlx5_ethdev.c net/mlx5: fix invalid network interface index 2018-07-26 14:05:52 +02:00
mlx5_flow.c net/mlx5: fix RSS flow action hash type selection 2018-08-28 15:27:39 +02:00
mlx5_glue.c net/mlx5: fix linkage of glue lib with gcc 4.7.2 2018-07-26 14:05:52 +02:00
mlx5_glue.h net/mlx5: add a function to rdma-core glue 2018-05-14 22:31:52 +01:00
mlx5_mac.c net/mlx5: probe all port representors 2018-07-11 15:37:19 +02:00
mlx5_mr.c net/mlx5: clean-up developer logs 2018-07-03 01:35:57 +02:00
mlx5_mr.h net/mlx5: clean-up developer logs 2018-07-03 01:35:57 +02:00
mlx5_nl_flow.c net/mlx5: fix artificial L4 limitation on switch flow rules 2018-08-28 15:27:39 +02:00
mlx5_nl.c net/mlx5: fix invalid network interface index 2018-07-26 14:05:52 +02:00
mlx5_prm.h net/mlx5: use a macro for the RSS key size 2018-07-12 12:10:03 +02:00
mlx5_rss.c net/mlx5: use a macro for the RSS key size 2018-07-12 12:10:03 +02:00
mlx5_rxmode.c net/mlx5: preserve allmulticast flag for flow isolation mode 2018-08-05 08:47:41 +02:00
mlx5_rxq.c ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
mlx5_rxtx_vec_neon.h net/mlx5: fix assert for Tx completion queue count 2018-07-26 14:05:52 +02:00
mlx5_rxtx_vec_sse.h net/mlx5: fix assert for Tx completion queue count 2018-07-26 14:05:52 +02:00
mlx5_rxtx_vec.c net/mlx5: add Multi-Packet Rx support 2018-05-14 22:31:52 +01:00
mlx5_rxtx_vec.h net/mlx5: fix Rx buffer replenishment threshold 2018-07-03 01:35:58 +02:00
mlx5_rxtx.c net/mlx5: fix interrupt completion queue index wrapping 2018-09-10 13:59:03 +02:00
mlx5_rxtx.h net/mlx5: fix interrupt completion queue index wrapping 2018-09-10 13:59:03 +02:00
mlx5_socket.c net/mlx5: fix secondary process resource leakage 2018-08-02 13:15:27 +02:00
mlx5_stats.c net/mlx5: probe all port representors 2018-07-11 15:37:19 +02:00
mlx5_trigger.c net/mlx5: fix queue rollback when starting device 2018-07-26 14:05:52 +02:00
mlx5_txq.c net/mlx5: support 32-bit systems 2018-07-12 14:34:59 +02:00
mlx5_utils.h net/mlx5: add hardware flow debug dump 2018-04-27 18:00:56 +01:00
mlx5_vlan.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx5.c mem: allow memseg lists to be marked as external 2018-10-11 10:24:29 +02:00
mlx5.h net/mlx5: add bluefield VF support 2018-09-28 01:41:01 +02:00
rte_pmd_mlx5_version.map mlx5: introduce new driver for Mellanox ConnectX-4 adapters 2015-10-30 22:03:42 +01:00