Re: [PATCH net-next] net: ethernet: ti: fix netdevice stats for XDP

2021-02-06 Thread Jakub Kicinski
On Wed, 3 Feb 2021 19:06:17 +0100 Lorenzo Bianconi wrote: > Align netdevice statistics when the device is running in XDP mode > to other upstream drivers. In particular reports to user-space rx report > packets even if they are not forwarded to the networking stack > (XDP_PASS) but if they are r

[PATCH net-next] net: ethernet: ti: fix netdevice stats for XDP

2021-02-03 Thread Lorenzo Bianconi
Align netdevice statistics when the device is running in XDP mode to other upstream drivers. In particular reports to user-space rx packets even if they are not forwarded to the networking stack (XDP_PASS) but if they are redirected (XDP_REDIRECT), dropped (XDP_DROP) or sent back using the same int