numam-dpdk/drivers/net/virtio
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
..
virtio_user mem: allow memseg lists to be marked as external 2018-10-11 10:24:29 +02:00
Makefile mk: add experimental tag check 2018-01-29 23:35:29 +01:00
meson.build net/virtio: add to meson build 2018-03-12 16:29:27 +01:00
rte_pmd_virtio_version.map virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_ethdev.c ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
virtio_ethdev.h net/virtio: add missing supported features 2018-09-28 01:41:03 +02:00
virtio_logs.h net/virtio: implement dynamic logging 2018-01-16 18:47:49 +01:00
virtio_pci.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
virtio_pci.h net/virtio: improve offload check performance 2018-07-04 17:03:48 +02:00
virtio_ring.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
virtio_rxtx_simple_neon.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
virtio_rxtx_simple_sse.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
virtio_rxtx_simple.c net/virtio: remove simple Tx path 2018-07-04 17:03:48 +02:00
virtio_rxtx_simple.h net/virtio: remove simple Tx path 2018-07-04 17:03:48 +02:00
virtio_rxtx.c net/virtio: remove unnecessary Rx error assignments 2018-08-02 04:41:51 +02:00
virtio_rxtx.h net/virtio: fix resuming port with Rx vector path 2018-02-13 18:57:59 +01:00
virtio_user_ethdev.c net/virtio-user: fix parameters string 2018-08-02 04:41:58 +02:00
virtqueue.c net/virtio: free in-order descriptors before device start 2018-07-03 01:35:58 +02:00
virtqueue.h net/virtio: free in-order descriptors before device start 2018-07-03 01:35:58 +02:00