summaryrefslogtreecommitdiff
path: root/include/linux/dynamic_queue_limits.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2026-03-02 21:14:26 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-05 03:54:09 +0300
commit42a101775bc515a77ac0c39de6cef42aa7abb3a7 (patch)
tree55f1aab9c92ea273b766f3afcae99da57dec41b0 /include/linux/dynamic_queue_limits.h
parentc26b8c4e291c55c7b2138d7bcb27348ca3a5ae59 (diff)
downloadlinux-42a101775bc515a77ac0c39de6cef42aa7abb3a7.tar.xz
net: add rps_tag_ptr type and helpers
Add a new rps_tag_ptr type to encode a pointer and a size to a power-of-two table. Three helpers are added converting an rps_tag_ptr to: 1) A log of the size. 2) A mask : (size - 1). 3) A pointer to the array. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com> Link: https://patch.msgid.link/20260302181432.1836150-2-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/dynamic_queue_limits.h')
0 files changed, 0 insertions, 0 deletions