aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c
diff options
context:
space:
mode:
authorWilliam Tu <u9012063@gmail.com>2019-04-04 09:36:55 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-06-05 13:04:29 -0700
commit1bc1ffb04070d2791d8bc384635094aab7138e98 (patch)
tree98f26bbd69685f40ceb8f1a1a2d8b6339ad71ea7 /drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c
parentixgbe: fix AF_XDP tx byte count (diff)
downloadlinux-dev-1bc1ffb04070d2791d8bc384635094aab7138e98.tar.xz
linux-dev-1bc1ffb04070d2791d8bc384635094aab7138e98.zip
ixgbe: fix AF_XDP tx packet count
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@gmail.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c')
0 files changed, 0 insertions, 0 deletions