XDP full jumbo frame support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
We would love to adopt AF_XDP with ZC (with i40e), however, we are a
blocked by the lack of full jumbo frame support (8000-9000 bytes). I
would like to get a feel for the feasibility of implementing support
for this. Looking through the code it seems possible to support this
through huge pages without a huge amount of effort (i may be wrong).
The first thing that came to mind is something like:
(1) Add a page_size (or similar) field to the xdp_umem struct.
(2) During UMEM registration, check if the UMEM is only made up of
huge pages, if so, save the huge page size into the umem page_size
field instead of the default constant PAGE_SIZE value.
(3) Use the umem page size (for dma mapping etc.) instead of the fixed
standard PAGE_SIZE.

Would this be a feasible solution? At least from the user (space)
perspective, this seems like relatively straightforward change: when
allocating the umem buffer, they only need to call mmap with the
appropriate huge page flags if they want to receive packets >
PAGE_SIZE.

Thanks,
Kal



[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux