commit | f9f6a3fbb5eb89e738ebdf16ac56437177537b28 | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Wed Jul 08 07:53:56 2020 -0400 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 08 15:21:13 2020 -0700 |
tree | 33351be2caa8632ccc58c531488124d75215be1b | |
parent | 1667cbf6a4ebe0901bd93ef0d6defd35006fd2be [diff] |
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>