DPDK patches and discussions
 help / color / Atom feed
* [dpdk-dev] [PATCH v2 0/1] net/af_xdp: shared UMEM support
@ 2020-09-18 11:28 Ciara Loftus
  2020-09-18 11:28 ` [dpdk-dev] [PATCH v2 1/1] " Ciara Loftus
  0 siblings, 1 reply; 2+ messages in thread
From: Ciara Loftus @ 2020-09-18 11:28 UTC (permalink / raw)
  To: dev; +Cc: Ciara Loftus

This patch integrates support for shared UMEMs into the AF_XDP PMD.
The feature is currently available in the linux-next tree [1] and
should be available in the v5.10 kernel.

Detailed information on the shared UMEM feature can be found in the
kernel documentation.

Support for the kernel feature is detected in DPDK by querying the
LINUX_KERNEL_VERSION and ensuring a kernel >= 5.10.0. Since this
kernel is not yet released, if one wishes to test this patch now it
is suggested to use the aforementioned linux-next tree and modify the
version check to align with the version of that tree. Once the kernel
is released (~December) this will no longer be necessary.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=acabf32805f7

Ciara Loftus (1):
  net/af_xdp: shared UMEM support

 doc/guides/nics/af_xdp.rst          |   6 +-
 drivers/net/af_xdp/compat.h         |  41 ++++
 drivers/net/af_xdp/meson.build      |   4 +
 drivers/net/af_xdp/rte_eth_af_xdp.c | 302 ++++++++++++++++++++++------
 4 files changed, 288 insertions(+), 65 deletions(-)
 create mode 100644 drivers/net/af_xdp/compat.h

-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18 11:28 [dpdk-dev] [PATCH v2 0/1] net/af_xdp: shared UMEM support Ciara Loftus
2020-09-18 11:28 ` [dpdk-dev] [PATCH v2 1/1] " Ciara Loftus

DPDK patches and discussions

Archives are clonable:
	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/ public-inbox