[Intel-wired-lan] [1/2] ixgbe: fix AF_XDP tx byte count

Bowers, AndrewX andrewx.bowers at intel.com
Mon Apr 8 19:41:21 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] [1/2] ixgbe: fix AF_XDP tx byte count
> 
> From: William Tu <u9012063 at gmail.com>
> 
> The tx bytecount is done twice.  When running './xdpsock -t -N -i eth3' and 'ip
> -s link show dev eth3'
> The avg packet size is 120 instead of 60. So remove the extra one.
> 
> Signed-off-by: William Tu <u9012063 at gmail.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 1 -
>  1 file changed, 1 deletion(-)

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




More information about the Intel-wired-lan mailing list