[Intel-wired-lan] [2/2] ixgbe: fix AF_XDP tx packet count.

Bowers, AndrewX andrewx.bowers at intel.com
Mon Apr 8 19:41:50 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Jeff Kirsher
> Sent: Thursday, April 4, 2019 9:37 AM
> To: intel-wired-lan at lists.osuosl.org
> Cc: William Tu <u9012063 at gmail.com>
> Subject: [Intel-wired-lan] [2/2] ixgbe: fix AF_XDP tx packet count.
> 
> From: William Tu <u9012063 at gmail.com>
> 
> The total_packets count at ixgbe_clean_xdp_tx_irq is always zero when
> testing with xdpsock -t -N. Set the gso_segs to 1 to make the tx packet count
> correct.
> 
> Signed-off-by: William Tu <u9012063 at gmail.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 1 +
>  1 file changed, 1 insertion(+)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list