numam-dpdk/drivers/net/af_xdp
Ciara Loftus d8a210774e net/af_xdp: support unaligned umem chunks
This patch enables the unaligned chunks feature for AF_XDP which allows
chunks to be placed at arbitrary places in the umem, as opposed to them
being required to be aligned to 2k. This allows for DPDK application
mempools to be mapped directly into the umem and in turn enable zero copy
transfer between umem and the PMD.

This patch replaces the zero copy via external mbuf mechanism introduced
in commit e9ff8bb719 ("net/af_xdp: enable zero copy by external mbuf").
The pmd_zero copy vdev argument is also removed as now the PMD will
auto-detect presence of the unaligned chunks feature and enable it if so
and otherwise fall back to copy mode if not detected.

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
2019-10-23 16:43:10 +02:00
..
af_xdp_deps.h net/af_xdp: introduce AF_XDP PMD 2019-04-05 17:45:22 +02:00
Makefile net/af_xdp: introduce AF_XDP PMD 2019-04-05 17:45:22 +02:00
meson.build build: remove redundant libs from pkgconfig 2019-09-12 18:32:40 +02:00
rte_eth_af_xdp.c net/af_xdp: support unaligned umem chunks 2019-10-23 16:43:10 +02:00
rte_pmd_af_xdp_version.map net/af_xdp: introduce AF_XDP PMD 2019-04-05 17:45:22 +02:00