Commit 195f88c
vxlan: Remove generic .ndo_get_stats64
Commit 3e2f544 ("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 <leitao@debian.org>
Reviewed-by: Subbaraya Sundeep <sbhatta@marvell.com>
Link: https://lore.kernel.org/r/20240311112437.3813987-2-leitao@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent e28c5ef commit 195f88c
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3214 | 3214 | | |
3215 | 3215 | | |
3216 | 3216 | | |
3217 | | - | |
3218 | 3217 | | |
3219 | 3218 | | |
3220 | 3219 | | |
| |||
3238 | 3237 | | |
3239 | 3238 | | |
3240 | 3239 | | |
3241 | | - | |
3242 | 3240 | | |
3243 | 3241 | | |
3244 | 3242 | | |
| |||
0 commit comments