diff options
| author | Breno Leitao <[email protected]> | 2024-03-04 18:38:08 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-03-06 02:32:33 +0000 |
| commit | 4166204d7ec26aee3d1f26847e88e4e41841fbe3 (patch) | |
| tree | a599f33142de3611eb55ce6f116c765d2cfe179d /tools/net/ynl/cli.py | |
| parent | net: tuntap: Leverage core stats allocator (diff) | |
| download | kernel-4166204d7ec26aee3d1f26847e88e4e41841fbe3.tar.gz kernel-4166204d7ec26aee3d1f26847e88e4e41841fbe3.zip | |
net: tap: Remove generic .ndo_get_stats64
Commit 3e2f544dd8a33 ("net: get stats64 if device if driver is
configured") moved the callback to dev_get_tstats64() to net core, so,
unless the driver is doing some custom stats collection, it does not
need to set .ndo_get_stats64.
Since this driver is now relying in NETDEV_PCPU_STAT_TSTATS, then, it
doesn't need to set the dev_get_tstats64() generic .ndo_get_stats64
function pointer.
Signed-off-by: Breno Leitao <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/cli.py')
0 files changed, 0 insertions, 0 deletions
