1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-23 00:20:52 -05:00
linux/net/core
Breno Leitao 3e2f544dd8 net: get stats64 if device if driver is configured
If the network driver is relying in the net core to do stats allocation,
then we want to dev_get_tstats64() instead of netdev_stats_to_stats64(),
since there are per-cpu stats that needs to be taken in consideration.

This will also simplify the drivers in regard to statistics. Once the
driver sets NETDEV_PCPU_STAT_TSTATS, it doesn't not need to allocate the
stacks, neither it needs to set `.ndo_get_stats64 = dev_get_tstats64`
for the generic stats collection function anymore.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-02-29 12:50:13 +01:00
..
bpf_sk_storage.c
datagram.c net: Fix from address in memcpy_to_iter_csum() 2024-02-02 12:21:02 +00:00
dev.c net: get stats64 if device if driver is configured 2024-02-29 12:50:13 +01:00
dev.h net-sysfs: use dev_addr_sem to remove races in address_show() 2024-02-14 11:20:13 +00:00
dev_addr_lists.c
dev_addr_lists_test.c
dev_ioctl.c
drop_monitor.c
dst.c net: dst: Make dst_destroy() static and return void. 2024-02-06 11:45:53 +01:00
dst_cache.c
failover.c
fib_notifier.c
fib_rules.c
filter.c bpf-next-for-netdev 2024-01-26 21:08:22 -08:00
flow_dissector.c
flow_offload.c
gen_estimator.c
gen_stats.c
gro.c
gro_cells.c
gso.c
gso_test.c
hwbm.c
link_watch.c net: add netdev_set_operstate() helper 2024-02-14 11:20:13 +00:00
lwt_bpf.c
lwtunnel.c
Makefile
neighbour.c
net-procfs.c net-procfs: use xarray iterator to implement /proc/net/dev 2024-02-08 19:06:09 -08:00
net-sysfs.c net: sysfs: Do not create sysfs for non BQL device 2024-02-19 12:30:44 -08:00
net-sysfs.h
net-traces.c
net_namespace.c net: use synchronize_rcu_expedited in cleanup_net() 2024-02-12 12:17:03 +00:00
netclassid_cgroup.c
netdev-genl-gen.c
netdev-genl-gen.h
netdev-genl.c
netevent.c
netpoll.c
netprio_cgroup.c
of_net.c
page_pool.c net: page_pool: fix recycle stats for system page_pool allocator 2024-02-19 12:30:27 -08:00
page_pool_priv.h
page_pool_user.c
pktgen.c
ptp_classifier.c
request_sock.c tcp: make sure init the accept_queue's spinlocks once 2024-01-19 21:13:25 -08:00
rtnetlink.c rtnetlink: provide RCU protection to rtnl_fill_prop_list() 2024-02-26 11:46:13 +00:00
scm.c af_unix: Try to run GC async. 2024-01-26 20:34:25 -08:00
secure_seq.c
selftests.c
skbuff.c net: mctp: copy skb ext data when fragmenting 2024-02-22 13:32:55 +01:00
skmsg.c bpf, sockmap: Fix NULL pointer dereference in sk_psock_verdict_data_ready() 2024-02-21 17:15:23 +01:00
sock.c net: make SK_MEMORY_PCPU_RESERV tunable 2024-02-28 09:23:08 +00:00
sock_destructor.h
sock_diag.c sock_diag: remove sock_diag_mutex 2024-01-23 15:13:55 +01:00
sock_map.c
sock_reuseport.c
stream.c
sysctl_net_core.c net: make SK_MEMORY_PCPU_RESERV tunable 2024-02-28 09:23:08 +00:00
timestamping.c
tso.c
utils.c
xdp.c xdp: Remove usage of the deprecated ida_simple_xx() API 2024-01-30 17:51:01 -08:00