3921a81c31
This patch fixes two issues with XDP:
1. If the XDP verdict is XDP_ABORTED we break the loop, which results in
us handling one buffer per napi cycle instead of the total budget
(usually 64). To overcome this simply change the xdp_verdict check to
!= XDP_PASS. When the verdict is XDP_PASS, the skb is not expected to
be NULL.
2. Update the residual budget for XDP_DROP and XDP_ABORTED, since
packets are handled in these cases.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
ena_admin_defs.h | ||
ena_com.c | ||
ena_com.h | ||
ena_common_defs.h | ||
ena_eth_com.c | ||
ena_eth_com.h | ||
ena_eth_io_defs.h | ||
ena_ethtool.c | ||
ena_netdev.c | ||
ena_netdev.h | ||
ena_pci_id_tbl.h | ||
ena_regs_defs.h |