diff options
author | Wei Fang <wei.fang@nxp.com> | 2023-06-02 17:46:59 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-04 15:43:45 +0100 |
commit | fdebd850cc065495abf1d64756496050bb22db67 (patch) | |
tree | 437e14df2d4ff31f2343cf028e6f6dc91a84b5bc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7190d0ff0e17690a9b1279d84a06473600ba2060 (diff) |
net: enetc: correct rx_bytes statistics of XDP
The rx_bytes statistics of XDP are always zero, because rx_byte_cnt
is not updated after it is initialized to 0. So fix it.
Fixes: d1b15102dd16 ("net: enetc: add support for XDP_DROP and XDP_PASS")
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions