Yajun Deng
5247dbf16c
net/core: Introduce netdev_core_stats_inc()
...
Although there is a kfree_skb_reason() helper function that can be used to
find the reason why this skb is dropped, but most callers didn't increase
one of rx_dropped, tx_dropped, rx_nohandler and rx_otherhost_dropped.
For the users, people are more concerned about why the dropped in ip
is increasing.
Introduce netdev_core_stats_inc() for trace the caller of
dev_core_stats_*_inc().
Also, add __code to netdev_core_stats_alloc(), as it's called with small
probability. And add noinline make sure netdev_core_stats_inc was never
inlined.
Signed-off-by: Yajun Deng <yajun.deng@linux.dev >
Suggested-by: Alexander Lobakin <aleksander.lobakin@intel.com >
Reviewed-by: Eric Dumazet <edumazet@google.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2023-10-11 10:07:40 +01:00
..
2023-09-20 09:39:03 +02:00
2023-10-05 09:13:42 -07:00
2023-10-05 21:44:48 +02:00
2023-10-05 13:16:47 -07:00
2023-09-01 09:53:54 -07:00
2023-09-01 09:53:54 -07:00
2023-08-29 17:45:22 -04:00
2023-09-04 13:47:59 -07:00
2023-09-19 23:33:08 -07:00
2023-10-04 14:12:01 +02:00
2023-09-18 09:28:22 +01:00
2023-09-01 08:09:48 -07:00
2023-09-07 16:07:35 -07:00
2023-09-06 22:53:55 +08:00
2023-08-29 14:53:51 -07:00
2023-09-19 18:27:56 +02:00
2023-09-03 10:20:57 -07:00
2023-09-15 15:50:39 -04:00
2023-09-01 09:23:34 -07:00
2023-09-11 15:24:16 -07:00
2023-09-12 13:07:37 +01:00
2023-08-31 01:29:28 +02:00
2023-08-30 17:35:54 +08:00
2023-08-30 17:35:54 +08:00
2023-08-30 17:35:54 +08:00
2023-09-16 09:34:21 -07:00
2023-10-05 13:16:47 -07:00
2023-10-06 16:01:27 -07:00
2023-09-15 12:08:27 -07:00
2023-09-02 11:10:50 -07:00
2023-09-17 10:33:53 -07:00
2023-09-01 15:58:21 -07:00
2023-10-03 12:17:10 -07:00
2023-08-29 20:51:40 +02:00
2023-09-11 08:39:04 -07:00
2023-09-01 09:43:18 -07:00
2023-09-17 11:50:20 +01:00
2023-08-30 13:34:34 -07:00
2023-09-12 17:42:00 +02:00
2023-09-01 00:29:34 +02:00
2023-10-03 07:34:51 -07:00
2023-10-03 12:17:10 -07:00
2023-09-20 18:05:31 +02:00
2023-08-31 10:38:03 +02:00
2023-09-29 17:20:47 -07:00
2023-09-04 11:26:29 -07:00
2023-09-13 10:48:48 +02:00
2023-09-25 10:55:52 +02:00
2023-09-19 16:28:37 +02:00
2023-10-02 11:24:52 -07:00
2023-09-12 17:50:53 +02:00
2023-09-27 16:54:03 +02:00
2023-08-29 20:21:42 -07:00
2023-09-01 16:54:25 -07:00
2023-10-03 15:51:04 -07:00
2023-10-05 13:16:47 -07:00
2023-08-31 13:48:50 -04:00
2023-09-28 21:23:03 +09:00
2023-08-30 09:07:09 -07:00
2023-09-29 17:20:46 -07:00
2023-09-19 13:21:34 -07:00
2023-09-06 20:49:04 -07:00
2023-08-30 13:45:05 -07:00
2023-08-31 12:20:12 -07:00
2023-10-11 10:07:40 +01:00
2023-09-13 11:51:11 -04:00
2023-09-13 11:51:11 -04:00
2023-09-05 05:34:14 -04:00
2023-09-05 13:02:13 -05:00
2023-09-09 08:18:16 -05:00
2023-10-03 12:17:10 -07:00
2023-08-29 14:25:26 -07:00
2023-09-01 09:38:00 -07:00
2023-08-30 20:23:07 -07:00
2023-09-01 08:09:48 -07:00
2023-09-29 17:20:46 -07:00
2023-09-19 17:03:44 +02:00
2023-09-06 07:46:49 +01:00
2023-09-19 13:21:34 -07:00
2023-09-02 15:17:33 -07:00
2023-08-30 10:08:38 +02:00
2023-08-30 09:07:09 -07:00
2023-09-21 08:37:44 +02:00
2023-09-18 11:37:08 +01:00
2023-09-27 11:19:15 +02:00
2023-08-31 12:20:12 -07:00
2023-09-16 13:42:34 +01:00
2023-09-11 17:16:40 +02:00
2023-09-11 18:22:00 -04:00
2023-09-14 16:16:36 +02:00
2023-09-03 18:10:22 -04:00
2023-09-21 12:34:00 +02:00
2023-09-04 13:44:11 -07:00
2023-09-05 19:01:38 -04:00