On 10/17/2020 2:35 PM, Vladimir Oltean wrote:
DSA needs to push a header onto every packet on TX, and this might cause
reallocation under certain scenarios, which might affect, for example,
performance.

But reallocated packets are not standardized in struct pcpu_sw_netstats,
struct net_device_stats or anywhere else, it seems, so we need to roll
our own extra netdevice statistics and expose them to ethtool.

Signed-off-by: Vladimir Oltean <vladimir.olt...@nxp.com>
---
Reviewed-by: Florian Fainelli <f.faine...@gmail.com>
--
Florian

Reply via email to