]> 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)
commit862d7308173a9ab7c10934cbf6f78f053a83ffd7
tree4787af0019085cf75c0fb184f145ca628ba53e24
parentbf59c1968b7eed89543d34769c87763a94bad1e4
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