bnxt_en: Adjust default rings for multi-port NICs.
authorMichael Chan <michael.chan@broadcom.com>
Sat, 31 Mar 2018 17:54:07 +0000 (13:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Apr 2018 03:24:19 +0000 (23:24 -0400)
commit1d3ef13dd48da9177e417379644be9003bc459cc
treedc524fd9cbf09dca1a057be5a9439152a7d4bead
parentd4f52de02f04f0a7dfcb1d0228a2ff58b06aa230
bnxt_en: Adjust default rings for multi-port NICs.

Change the default ring logic to select default number of rings to be up to
8 per port if the default rings x NIC ports <= total CPUs.

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