]> asedeno.scripts.mit.edu Git - linux.git/commit
ixgbe: fix AF_XDP tx byte count
authorWilliam Tu <u9012063@gmail.com>
Thu, 4 Apr 2019 16:36:54 +0000 (09:36 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 5 Jun 2019 20:04:29 +0000 (13:04 -0700)
commit30d5703bceb0c118ef934918074768620efa93e6
tree0212a07490a47ab3757d85da87f738ab85d98efa
parent9ba095a628f77e4c8093cbb2da6f88cf43e55502
ixgbe: fix AF_XDP tx byte count

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@gmail.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c