On 10/19/2019 12:48 AM, Ye Xiaolong wrote: > On 09/30, Ciara Loftus wrote: >> 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 e9ff8bb71943 ("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.lof...@intel.com> >> Signed-off-by: Kevin Laatz <kevin.la...@intel.com> >> --- >> doc/guides/nics/af_xdp.rst | 2 +- >> doc/guides/rel_notes/release_19_11.rst | 4 + >> drivers/net/af_xdp/rte_eth_af_xdp.c | 402 ++++++++++++++++++++----- >> 3 files changed, 325 insertions(+), 83 deletions(-) >> > > Reviewed-by: Xiaolong Ye <xiaolong...@intel.com> >
We tend to not split patches but since this patch doesn't depend on others, I will get this while the discussion is going on with the other one. Applied to dpdk-next-net/master, thanks.