summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2024-03-04 21:38:07 +0300
committerJakub Kicinski <kuba@kernel.org>2024-03-06 05:32:33 +0300
commit46f480ec145886641374c4c4bdc7e6b56bc97adb (patch)
tree8688bef5906083d391365df25e8c9a0c2a7fd082 /tools/perf/scripts/python
parent60d06425e04558be21634a719b5c60c9bd862c34 (diff)
downloadlinux-46f480ec145886641374c4c4bdc7e6b56bc97adb.tar.xz
net: tuntap: Leverage core stats allocator
With commit 34d21de99cea9 ("net: Move {l,t,d}stats allocation to core and convert veth & vrf"), stats allocation could be done on net core instead of in this driver. With this new approach, the driver doesn't have to bother with error handling (allocation failure checking, making sure free happens in the right spot, etc). This is core responsibility now. Remove the allocation in the tun/tap driver and leverage the network core allocation instead. Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://lore.kernel.org/r/20240304183810.1474883-1-leitao@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions