RFC net/af_xdp: shared UMEM support
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest1 patch 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | net/af_xdp: shared UMEM supportdoc/ drivers/ | +252 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [dpdk-dev] [PATCH RFC 0/1] net/af_xdp: shared UMEM support
This RFC integrates shared UMEM support into the AF_XDP PMD. It is based on the WIP kernel series [1] by Magnus Karlsson.
Detailed information on the shared UMEM feature can be found in the final patch in the aforementioned series.
Support for the kernel feature can eventually be detected in DPDK by querying the LINUX_KERNEL_VERSION. As of now the feature is not yet merged upstream, so for this RFC it is assumed the user is using a patched version of v5.8.
Shared UMEM is only available for zero copy mode.
In order to share UMEM information between PMDs, the ethdevs wishing to share must be tracked somehow. The method chosen to do so is similar to methods used in the vHost [2] and vDPA drivers, where pointers to the ethdevs are maintained in an internal list. Proposals for alternate solutions are welcome.
Performance data to follow with the v1.
[1] https://patchwork.ozlabs.org/project/netdev/cover/[email protected]/
[2] https://git.dpdk.org/dpdk/commit/?id=ee584e9710b9abd60ee9faef664e106dcea10085
Ciara Loftus (1):
net/af_xdp: shared UMEM support
doc/guides/nics/af_xdp.rst | 5 +- drivers/net/af_xdp/rte_eth_af_xdp.c | 315 ++++++++++++++++++++++------ 2 files changed, 252 insertions(+), 68 deletions(-)
Signature · 1 line
2.17.1