queue_api: reduce risk of name collision over txq
authorGur Stavi <gur.stavi@huawei.com>
Sun, 18 May 2025 10:00:54 +0000 (13:00 +0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 May 2025 03:09:02 +0000 (20:09 -0700)
commit84b21e61ebd64931d865ce3df49d930db8c9e2cd
tree2b740aee8b4f10d0199aba0fd279f1c166f807bb
parente41703aca2f5ac0634c937e260f79ab8ab0a3f88
queue_api: reduce risk of name collision over txq

Rename local variable in macros from txq to _txq.
When macro parameter get_desc is expended it is likely to have a txq
token that refers to a different txq variable at the caller's site.

Signed-off-by: Gur Stavi <gur.stavi@huawei.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/95b60d218f004308486d92ed17c8cc6f28bac09d.1747559621.git.gur.stavi@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/netdev_queues.h