[PATCH net v2 0/2] net: dqs: NIC stall detector

From: Breno Leitao
Date: Wed Jan 31 2024 - 05:25:56 EST


This is a patch that was sent by Jakub Kicinski six month ago, and I
am reviving it.

This is still mostly Jakub's code, with some small improvements,
described in the changelog.

Changelog:
----------

v1:
* https://lore.kernel.org/netdev/202306172057.jx7YhLiu-lkp@xxxxxxxxx/T/

v2:
* Fix the documentation file in patch 0001, since patch 0002 will
touch it later.
* Fix the kernel test robot issues, marking functions as statics.
* Use #include <linux/bitops.h> instead of <asm/bitops.h>.
* Added some new comments around, mainly around barriers.
* Format struct `netdev_queue_attribute` assignments to make
checkpatch happy.
* Updated and fixed the path in sysfs-class-net-queues
documentation.

Breno Leitao (1):
net: sysfs: Fix /sys/class/net/<iface> path

Jakub Kicinski (1):
net: dqs: add NIC stall detector based on BQL

.../ABI/testing/sysfs-class-net-queues | 45 ++++++++++----
include/linux/dynamic_queue_limits.h | 35 +++++++++++
include/trace/events/napi.h | 33 ++++++++++
lib/dynamic_queue_limits.c | 58 +++++++++++++++++
net/core/net-sysfs.c | 62 +++++++++++++++++++
5 files changed, 222 insertions(+), 11 deletions(-)

--
2.34.1