All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jesper Dangaard Brouer <brouer@redhat.com>
To: Zvi Effron <zeffron@riotgames.com>
Cc: Xdp <xdp-newbies@vger.kernel.org>,
	brouer@redhat.com, "Jeff Kirsher" <jeffrey.t.kirsher@intel.com>,
	"Karlsson, Magnus" <magnus.karlsson@intel.com>,
	"Björn Töpel" <bjorn.topel@intel.com>,
	anirudh.venkataramanan@intel.com,
	"Jesse Brandeburg" <jesse.brandeburg@intel.com>
Subject: Re: Intel 800 series 100Gbe NIC with XDP
Date: Tue, 30 Jul 2019 12:13:49 +0200	[thread overview]
Message-ID: <20190730121349.538b5299@carbon> (raw)
In-Reply-To: <CAC1LvL3xoHQo_oNJEVa4DeZ3G9R6Z61ukScRuMq5UrnRCHWo1g@mail.gmail.com>

On Mon, 29 Jul 2019 16:27:01 -0700
Zvi Effron <zeffron@riotgames.com> wrote:

> Hello all,
> 
> I was wondering if anyone knew if the upcoming 800 series Intel NICs
> with 100gbe support XDP? I don't yet see a new driver for them, but
> they may be reusing the i40e driver, or I may have missed it? If they
> do support it, do they maybe also support hardware mode (as opposed to
> driver mode)?

Good to see that Intel customers are requesting XDP support, for new HW
and associated drivers.

AFAIK Linux kernel driver is called ICE for Intel 800 series NIC[1]
(which supports 100/50/25/10 Gbit/s Ethernet).  (p.s. I don't have this
hardware in my testlab).

It is located in the kernel tree[2]: drivers/net/ethernet/intel/ice/.
Reading and grepping the code for 'xdp', reveals that this driver
doesn't support XDP.  So, I guess you need to buy your 100G hardware
from another vendor, or convince Intel to add XDP support.


Code details: Strangely it looks like this driver always does a memcpy
of the headers into linear part of a 256 bytes SKB, and attach the
payload as a SKB "fragment". (I wonder why this was chosen?)
  It should still be easy to add a XDP step before doing this (in
ice_clean_rx_irq() just after call to ice_get_rx_buf())


[1] https://www.intel.com/content/www/us/en/architecture-and-technology/ethernet/introducing-800-series.html
[2] https://github.com/torvalds/linux/tree/master/drivers/net/ethernet/intel/ice
-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer

  reply	other threads:[~2019-07-30 10:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-29 23:27 Intel 800 series 100Gbe NIC with XDP Zvi Effron
2019-07-30 10:13 ` Jesper Dangaard Brouer [this message]
2019-07-30 16:06   ` Venkataramanan, Anirudh

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=20190730121349.538b5299@carbon \
    --to=brouer@redhat.com \
    --cc=anirudh.venkataramanan@intel.com \
    --cc=bjorn.topel@intel.com \
    --cc=jeffrey.t.kirsher@intel.com \
    --cc=jesse.brandeburg@intel.com \
    --cc=magnus.karlsson@intel.com \
    --cc=xdp-newbies@vger.kernel.org \
    --cc=zeffron@riotgames.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.