mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
bnxt_en: Add helper function to return the number of RSS contexts.
On some chips, this varies based on the number of RX rings. Add this helper function and refactor the existing code to use it. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1667cbf6a4
commit
f9f6a3fbb5
2 changed files with 12 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue