]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Need to include RDMA rings in bnxt_check_rings().
authorMichael Chan <michael.chan@broadcom.com>
Wed, 11 Apr 2018 15:50:17 +0000 (11:50 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Apr 2018 18:42:00 +0000 (14:42 -0400)
commit14ac4d1522e350ac17d6b25ae26d0d5924aa7b5b
treee0b1d0b960e7544968fdff5b88d5c34ed2f6ee15
parent93f8fd2402f0b9da93fdf67486cc7b610294c2d0
bnxt_en: Need to include RDMA rings in bnxt_check_rings().

With recent changes to reserve both L2 and RDMA rings, we need to include
the RDMA rings in bnxt_check_rings().  Otherwise we will under-estimate
the rings we need during ethtool -L and may lead to failure.

Fixes: 357cd22eb245 ("bnxt_en: Reserve completion rings and MSIX for bnxt_re RDMA driver.")
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