]> 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)
commit6662612d370952fc67cad43b5941a94b3eb4fd1b
tree7b7ea797f445749107d3bcf3ad5e1475a97db24d
parent350a0982b2f3f8779d57678129868de2e36d08a3
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