]> Git Repo - linux.git/commit
eth: bnxt: use the RSS context XArray instead of the local list
authorJakub Kicinski <[email protected]>
Thu, 11 Jul 2024 22:07:10 +0000 (15:07 -0700)
committerJakub Kicinski <[email protected]>
Sat, 13 Jul 2024 05:16:22 +0000 (22:16 -0700)
commit20c8ad72eb7f1510d2a802328cd0809b4db9e18a
treedc1c7b19f586922d2667d1295b8d801ff1535a2a
parent63d4769cf74acfc42a3436ff28e92ef4f70e617c
eth: bnxt: use the RSS context XArray instead of the local list

Core already maintains all RSS contexts in an XArray, no need
to keep a second list in the driver.

Remove bnxt_get_max_rss_ctx_ring() completely since core performs
the same check already.

Reviewed-by: Pavan Chebbi <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
This page took 0.057948 seconds and 4 git commands to generate.