]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: mana: Add XDP support
authorHaiyang Zhang <haiyangz@microsoft.com>
Sat, 20 Nov 2021 00:29:53 +0000 (16:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Nov 2021 13:20:19 +0000 (13:20 +0000)
commited5356b53f070dea5dff5a01b740561cb8222199
tree0a6147703e1a8ab67a697389fe379b6807d78541
parentb8ac21d210dff3320366495d9c2dec6f93602e6d
net: mana: Add XDP support

Add support of XDP for the MANA driver.

Supported XDP actions:
XDP_PASS, XDP_TX, XDP_DROP, XDP_ABORTED

XDP actions not yet supported:
XDP_REDIRECT

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microsoft/mana/Makefile
drivers/net/ethernet/microsoft/mana/mana.h
drivers/net/ethernet/microsoft/mana/mana_bpf.c [new file with mode: 0644]
drivers/net/ethernet/microsoft/mana/mana_en.c