]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Set up the chip specific RSS table size.
authorMichael Chan <michael.chan@broadcom.com>
Wed, 8 Jul 2020 11:53:53 +0000 (07:53 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2020 22:21:13 +0000 (15:21 -0700)
commit0cee67a35f0563973fc3f848b0fba325f070b41f
tree4787af0019085cf75c0fb184f145ca628ba53e24
parent024f95f7245fe3ecaf25d78077cb884c58f3562e
bnxt_en: Set up the chip specific RSS table size.

Currently, we allocate one page for the hardware DMA RSS indirection
table.  While the size is currently big enough for all chips, future
chip variations may support bigger sizes, so it is better to calculate
and store the chip specific size and allocate accordingly.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h