diff options
| author | Breno Leitao <[email protected]> | 2024-04-11 19:22:30 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-04-15 18:19:52 +0000 |
| commit | cbe481a1b7410b0f2f303e8fd4867ece388a9729 (patch) | |
| tree | 679238a61ec94049002c27df219671f1554f36e6 /lib/dynamic_queue_limits.c | |
| parent | net: dql: Avoid calling BUG() when WARN() is enough (diff) | |
| download | kernel-cbe481a1b7410b0f2f303e8fd4867ece388a9729.tar.gz kernel-cbe481a1b7410b0f2f303e8fd4867ece388a9729.zip | |
net: dql: Separate queue function responsibilities
The dql_queued() function currently handles both queuing object counts
and populating bitmaps for reporting stalls.
This commit splits the bitmap population into a separate function,
allowing for conditional invocation in scenarios where the feature is
disabled.
This refactor maintains functionality while improving code
organization.
Signed-off-by: Breno Leitao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/dynamic_queue_limits.c')
0 files changed, 0 insertions, 0 deletions
