]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
gve: Add XDP DROP and TX support for GQI-QPL format
authorPraveen Kaligineedi <pkaligineedi@google.com>
Wed, 15 Mar 2023 23:33:10 +0000 (16:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Mar 2023 08:29:20 +0000 (08:29 +0000)
commit75eaae158b1b7d8d5bde2bafc0bcf778423071d3
treefe472d5dd67f5afddf17feb39479200c7862dd53
parent7fc2bf78a430f975e53f2b1e87e99d8f83cafd11
gve: Add XDP DROP and TX support for GQI-QPL format

Add support for XDP PASS, DROP and TX actions.

This patch contains the following changes:
1) Support installing/uninstalling XDP program
2) Add dedicated XDP TX queues
3) Add support for XDP DROP action
4) Add support for XDP TX action

Signed-off-by: Praveen Kaligineedi <pkaligineedi@google.com>
Reviewed-by: Jeroen de Borst <jeroendb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/google/gve/gve.h
drivers/net/ethernet/google/gve/gve_ethtool.c
drivers/net/ethernet/google/gve/gve_main.c
drivers/net/ethernet/google/gve/gve_rx.c
drivers/net/ethernet/google/gve/gve_tx.c