diff options
author | Breno Leitao <leitao@debian.org> | 2024-02-28 14:31:22 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-02-29 14:50:13 +0300 |
commit | fa0cd90213695b928410484264b38982757a5c28 (patch) | |
tree | 94ec4ece55e2b22686dd0642bd861ce4e7406464 /Documentation | |
parent | 3e2f544dd8a33b2f650b32920b9bef103da2a7cd (diff) | |
download | linux-fa0cd90213695b928410484264b38982757a5c28.tar.xz |
net: sit: Do not set .ndo_get_stats64
If the driver is using the network core allocation mechanism, by setting
NETDEV_PCPU_STAT_TSTATS, as this driver is, then, it doesn't need to set
the dev_get_tstats64() generic .ndo_get_stats64 function pointer. Since
the network core calls it automatically, and .ndo_get_stats64 should
only be set if the driver needs special treatment.
This simplifies the driver, since all the generic statistics is now
handled by core.
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions