bnxt_en: reduce timeout on initial HWRM calls
authorAndy Gospodarek <gospo@broadcom.com>
Thu, 26 Apr 2018 21:44:39 +0000 (17:44 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Apr 2018 18:47:30 +0000 (14:47 -0400)
commit9751e8e714872aa650b030e52a9fafbb694a3714
tree2357f154b52ef07e97fb5a71c5696e0c9c321bff
parent05abe4ddf0010e15419f5a6758b5bf44b7790982
bnxt_en: reduce timeout on initial HWRM calls

Testing with DIM enabled on older kernels indicated that firmware calls
were slower than expected.  More detailed analysis indicated that the
default 25us delay was higher than necessary.  Reducing the time spend in
usleep_range() for the first several calls would reduce the overall
latency of firmware calls on newer Intel processors.

Signed-off-by: Andy Gospodarek <gospo@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
drivers/net/ethernet/broadcom/bnxt/bnxt.h