]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
eth: bnxt: always set the queue mgmt ops
authorJakub Kicinski <kuba@kernel.org>
Thu, 22 Jan 2026 00:51:08 +0000 (16:51 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Jan 2026 19:49:01 +0000 (11:49 -0800)
commit1410c7416dc343f15e9b7152eabddbdbe483002d
tree3e38f1a3201671d40de245012e73d38d9892b996
parent56f9058eb3601049c094b76462b77c2ef943100a
eth: bnxt: always set the queue mgmt ops

Core provides a centralized callback for validating per-queue settings
but the callback is part of the queue management ops. Having the ops
conditionally set complicates the parts of the driver which could
otherwise lean on the core to feed it the correct settings.

Always set the queue ops, but provide no restart-related callbacks if
queue ops are not supported by the device. This should maintain current
behavior, the check in netdev_rx_queue_restart() looks both at op struct
and individual ops.

Reviewed-by: Subbaraya Sundeep <sbhatta@marvell.com>
Link: https://patch.msgid.link/20260122005113.2476634-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c