XDP: Difference between revisions

Tags: Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
Line 33: Line 33:
==AF_XDP==
==AF_XDP==
Getting these packets to userspace is best done with AF_XDP sockets. With driver support, this is a zero-copy operation. Routing to an <tt>AF_XDP</tt> socket is done via <tt>bpf_redirect()</tt>.
Getting these packets to userspace is best done with AF_XDP sockets. With driver support, this is a zero-copy operation. Routing to an <tt>AF_XDP</tt> socket is done via <tt>bpf_redirect()</tt>.
==Driver support==
{|class="wikitable sortable"
! Driver !! Zero-copy? !! Multibuf?
|-
| mvneta || ? || Y
|-
| ixgbe || Y || ?
|-
| mlx5 || ? || ?
|-
| i40e || Y || ?
|-
| ice || ? || ?
|-
|}


==See Also==
==See Also==