net: ena: Account for the number of processed bytes in XDP
authorDavid Arinzon <darinzon@amazon.com>
Thu, 29 Dec 2022 07:30:07 +0000 (07:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Dec 2022 07:43:43 +0000 (07:43 +0000)
commitc7f5e34d906320fdc996afa616676161c029cc02
treeecaf325cc2c6638c9716910f325d57e3b124b6f0
parent9c9e539956fa67efb8a65e32b72a853740b33445
net: ena: Account for the number of processed bytes in XDP

The size of packets that were forwarded or dropped by XDP wasn't added
to the total processed bytes statistic.

Fixes: 548c4940b9f1 ("net: ena: Implement XDP_TX action")
Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: David Arinzon <darinzon@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c