mirror of https://gitee.com/openkylin/linux.git
bnx2x: Fix Coalescing configuration
bnx2x drivers configure coalescing incorrectly (e.g., as a result of a call to 'ethtool -c'). Although this is almost invisible to the user (due to NAPI) designated tests will show the configuration is incorrect. Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
31329afdac
commit
6802516edd
|
@ -1621,7 +1621,7 @@ struct bnx2x {
|
|||
u16 rx_ticks_int;
|
||||
u16 rx_ticks;
|
||||
/* Maximal coalescing timeout in us */
|
||||
#define BNX2X_MAX_COALESCE_TOUT (0xf0*12)
|
||||
#define BNX2X_MAX_COALESCE_TOUT (0xff*BNX2X_BTR)
|
||||
|
||||
u32 lin_cnt;
|
||||
|
||||
|
|
Loading…
Reference in New Issue