]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Update interrupt coalescing logic.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 14 Oct 2018 11:02:40 +0000 (07:02 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 05:44:31 +0000 (22:44 -0700)
commita4cdff3aded64dfba909a289c2045bfeea01eb79
tree7b7ea797f445749107d3bcf3ad5e1475a97db24d
parentfc8548723fc04387292fbeb04f314fcbfa4b84a3
bnxt_en: Update interrupt coalescing logic.

New firmware spec. allows interrupt coalescing parameters, such as
maximums, timer units, supported features to be queried.  Update
the driver to make use of the new call to query these parameters
and provide the legacy defaults if the call is not available.

Replace the hard-coded values with these parameters.

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