summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn.topel@intel.com>2018-08-24 14:21:59 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-08-30 23:53:04 +0300
commitcdec2141c24ef177d929765c5a6f95549c266fb3 (patch)
treebe795e163eda8b15d90b30ff90a88749c703fa35 /tools/perf/scripts/python/stackcollapse.py
parentcfe396991ad7763bd82e3b976b218ef59c777022 (diff)
downloadlinux-cdec2141c24ef177d929765c5a6f95549c266fb3.tar.xz
i40e: report correct statistics when XDP is enabled
When XDP is enabled, the driver will report incorrect statistics. Received frames will reported as transmitted frames. This commits fixes the i40e implementation of ndo_get_stats64 (struct net_device_ops), so that iproute2 will report correct statistics (e.g. when running "ip -stats link show dev eth0") even when XDP is enabled. Reported-by: Jesper Dangaard Brouer <brouer@redhat.com> Fixes: 74608d17fe29 ("i40e: add support for XDP_TX action") Signed-off-by: Björn Töpel <bjorn.topel@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions