]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bnxt_en: Refactor some basic ring setup and adjustment logic
authorMichael Chan <michael.chan@broadcom.com>
Tue, 31 Mar 2026 06:51:36 +0000 (23:51 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 2 Apr 2026 03:12:56 +0000 (20:12 -0700)
commitceee35e5674aa84cf9e504c2a9dae4587511556c
tree0c49d0dd107e566d4a1fd815ced3e7cdca58f73c
parenta59dc0f871f203f979744b2c414cbc32faed6f48
bnxt_en: Refactor some basic ring setup and adjustment logic

Refactor out the basic code that trims the default rings, sets up and
adjusts XDP TX rings and CP rings.  There is no change in behavior.
This is to prepare for the next bug fix patch.

Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Reviewed-by: Andy Gospodarek <andrew.gospodarek@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20260331065138.948205-2-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c