All of lore.kernel.org
 help / color / mirror / Atom feed
* Intel 800 series 100Gbe NIC with XDP
@ 2019-07-29 23:27 Zvi Effron
  2019-07-30 10:13 ` Jesper Dangaard Brouer
  0 siblings, 1 reply; 3+ messages in thread
From: Zvi Effron @ 2019-07-29 23:27 UTC (permalink / raw)
  To: Xdp

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)?

Thanks!
--Zvi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Intel 800 series 100Gbe NIC with XDP
  2019-07-29 23:27 Intel 800 series 100Gbe NIC with XDP Zvi Effron
@ 2019-07-30 10:13 ` Jesper Dangaard Brouer
  2019-07-30 16:06   ` Venkataramanan, Anirudh
  0 siblings, 1 reply; 3+ messages in thread
From: Jesper Dangaard Brouer @ 2019-07-30 10:13 UTC (permalink / raw)
  To: Zvi Effron
  Cc: Xdp, brouer, Jeff Kirsher, Karlsson, Magnus,
	Björn Töpel, anirudh.venkataramanan, Jesse Brandeburg

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Intel 800 series 100Gbe NIC with XDP
  2019-07-30 10:13 ` Jesper Dangaard Brouer
@ 2019-07-30 16:06   ` Venkataramanan, Anirudh
  0 siblings, 0 replies; 3+ messages in thread
From: Venkataramanan, Anirudh @ 2019-07-30 16:06 UTC (permalink / raw)
  To: zeffron, brouer
  Cc: Topel, Bjorn, xdp-newbies, Kirsher, Jeffrey T, Karlsson, Magnus,
	Brandeburg, Jesse, Nguyen, Anthony L

[-- Attachment #1: Type: text/plain, Size: 2083 bytes --]

On Tue, 2019-07-30 at 12:13 +0200, Jesper Dangaard Brouer wrote:
> 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.

We had pushed patches that add XDP and AF_XDP support for ice to Jeff
Kirsher's next-queue tree (links below), but it appears that some
rework is required before we can push it to net-next. This is being
worked on right now.

https://patchwork.ozlabs.org/patch/1123016/
https://patchwork.ozlabs.org/patch/1123017/

Please note that the above patches are for reference only. Final
patches will be posted when available.

Best,
Ani

> 
> 
> 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

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3301 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-30 16:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-29 23:27 Intel 800 series 100Gbe NIC with XDP Zvi Effron
2019-07-30 10:13 ` Jesper Dangaard Brouer
2019-07-30 16:06   ` Venkataramanan, Anirudh

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.