]> www.infradead.org Git - users/dwmw2/linux.git/commit
mvneta driver disallow XDP program on hardware buffer management
authorSven Auhagen <sven.auhagen@voleatech.de>
Sat, 25 Jan 2020 08:07:03 +0000 (08:07 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Feb 2020 09:32:57 +0000 (09:32 +0000)
commitb94c124efc437346e3a4dd65f288fc896b6e475d
treee149bfce05b25c6e20626b2c3c83f6f84b5c09e5
parentdaec376bf35c48f7a126baa2ebc95e7822757941
mvneta driver disallow XDP program on hardware buffer management

[ Upstream commit 79572c98c554dcdb080bca547c871a51716dcdf8 ]

Recently XDP Support was added to the mvneta driver
for software buffer management only.
It is still possible to attach an XDP program if
hardware buffer management is used.
It is not doing anything at that point.

The patch disallows attaching XDP programs to mvneta
if hardware buffer management is used.

I am sorry about that. It is my first submission and I am having
some troubles with the format of my emails.

v4 -> v5:
- Remove extra tabs

v3 -> v4:
- Please ignore v3 I accidentally submitted
  my other patch with git-send-mail and v4 is correct

v2 -> v3:
- My mailserver corrupted the patch
  resubmission with git-send-email

v1 -> v2:
- Fixing the patches indentation

Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/marvell/mvneta.c