netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: questions about AF_PACKET V4 and AF_XDP
       [not found] <77a8123886714daeb9d2518dce45da1e@XCH-ALN-014.cisco.com>
@ 2019-06-06  7:47 ` Björn Töpel
  0 siblings, 0 replies; only message in thread
From: Björn Töpel @ 2019-06-06  7:47 UTC (permalink / raw)
  To: Junsong Zhao (junszhao), magnus.karlsson; +Cc: netdev

On 2019-06-05 19:56, Junsong Zhao (junszhao) wrote:
> Hi Magnus and Bjorn,
> 
> I saw your articles and presentation about AF_PACKET V4. It is exciting 
> to know that the kernel socket can have 40G throughput.
> 
> But it seems the code is not in the 4.19 or 5.1 kernel. Instead there is 
> a new feature AF_XDP in 4.19 kernel and it is kind of similar to 
> AF_PACKET V4.
> 
> Can you clarify if AF_XDP is the successor of AF_PACKET V4? Apart from 
> i40e driver, is there any other driver that supports the feature?
>

AF_PACKET v4 never made it to mainland, instead AF_XDP took that place.

Drivers with zero-copy support are i40e, ixgbe, and soon mlx5 and ice.

There's an LWN article on AF_XDP here: https://lwn.net/Articles/750845/


Thanks,
Björn


> Here is the link to the article:
> 
> https://lwn.net/Articles/737947/
> 
> Regards,
> 
> Junsong Zhao
> 
> Tech Lead
> 
> Stealthwatch
> 
> junszhao@cisco.com
> 
> Mobile: +1-410-530-1036
> 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-06  7:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <77a8123886714daeb9d2518dce45da1e@XCH-ALN-014.cisco.com>
2019-06-06  7:47 ` questions about AF_PACKET V4 and AF_XDP Björn Töpel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).