bnxt_en: Refactor bnxt_hwrm_set_coal()
authorMichael Chan <michael.chan@broadcom.com>
Tue, 14 Nov 2023 00:16:16 +0000 (16:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Nov 2023 10:07:40 +0000 (10:07 +0000)
commit877edb347323b669c5c9511cc9e097e1192dd31b
tree068d32bfdaf4be3548ea4c7b7d99dc7ea4dcf274
parent5a3c585fa83f9172848c19b1000c6ad3c8b36129
bnxt_en: Refactor bnxt_hwrm_set_coal()

Add 2 helper functions to set coalescing for each RX and TX rings.  This
will make it easier to expand the number of TX rings per MSIX in the
next patches.

Reviewed-by: Andy Gospodarek <andrew.gospodarek@broadcom.com>
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