Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next
authorDavid S. Miller <davem@davemloft.net>
Tue, 1 Feb 2022 12:53:18 +0000 (12:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Feb 2022 12:53:18 +0000 (12:53 +0000)
commit1d02c0398611b0b74e47b63e9c522894095bc0ea
tree562783e51de968a122a3bec94d07d83c3c928f4e
parent9a90986efcffc7e996f63837b0e84d5e773f2763
parentf322a620be69e95594eda89502b478aa7dbf6ec2
Merge branch '10GbE' of git://git./linux/kernel/git/tnguy/next
-queue

Tony Nguyen says:

====================
10GbE Intel Wired LAN Driver Updates 2022-01-31

Alexander Lobakin says:

This is an interpolation of [0] to other Intel Ethernet drivers
(and is (re)based on its code).
The main aim is to keep XDP metadata not only in case with
build_skb(), but also when we do napi_alloc_skb() + memcpy().

All Intel drivers suffers from the same here:
 - metadata gets lost on XDP_PASS in legacy-rx;
 - excessive headroom allocation on XSK Rx to skbs;
 - metadata gets lost on XSK Rx to skbs.

Those get especially actual in XDP Hints upcoming.
I couldn't have addressed the first one for all Intel drivers due to
that they don't reserve any headroom for now in legacy-rx mode even
with XDP enabled. This is hugely wrong, but requires quite a bunch
of work and a separate series. Luckily, ice doesn't suffer from
that.
igc has 1 and 3 already fixed in [0].

[0] https://lore.kernel.org/netdev/163700856423.565980.10162564921347693758.stgit@firesoul
====================

Signed-off-by: David S. Miller <davem@davemloft.net>