diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2022-06-14 13:28:55 -0700 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-06-16 10:40:25 +0200 |
commit | 7a8938cd024d383c12bb1e08025db6ea3d551103 (patch) | |
tree | 1eead152c2dfc6a4685fc96ea8323f016d399760 /kernel/regset.c | |
parent | 1566e7d6206fed959258a17c694834a4b801a3b5 (diff) | |
download | linux-7a8938cd024d383c12bb1e08025db6ea3d551103.tar.gz linux-7a8938cd024d383c12bb1e08025db6ea3d551103.tar.bz2 linux-7a8938cd024d383c12bb1e08025db6ea3d551103.zip |
net: mana: Add support of XDP_REDIRECT action
Add a handler of the XDP_REDIRECT return code from a XDP program. The
packets will be flushed at the end of each RX/CQ NAPI poll cycle.
ndo_xdp_xmit() is implemented by sharing the code in mana_xdp_tx().
Ethtool per queue counters are added for XDP redirect and xmit operations.
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'kernel/regset.c')
0 files changed, 0 insertions, 0 deletions