netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Björn Töpel" <bjorn.topel@intel.com>
To: "Junsong Zhao (junszhao)" <junszhao@cisco.com>,
	"magnus.karlsson@intel.com" <magnus.karlsson@intel.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: questions about AF_PACKET V4 and AF_XDP
Date: Thu, 6 Jun 2019 09:47:15 +0200	[thread overview]
Message-ID: <95aaafdc-ef8a-c4b9-6104-a1a753c81820@intel.com> (raw)
In-Reply-To: <77a8123886714daeb9d2518dce45da1e@XCH-ALN-014.cisco.com>

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
> 

           reply	other threads:[~2019-06-06  7:47 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <77a8123886714daeb9d2518dce45da1e@XCH-ALN-014.cisco.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=95aaafdc-ef8a-c4b9-6104-a1a753c81820@intel.com \
    --to=bjorn.topel@intel.com \
    --cc=junszhao@cisco.com \
    --cc=magnus.karlsson@intel.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).