]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Disable HC coalescing when setting timeout to zero.
authorEilon Greenstein <eilong@broadcom.com>
Sun, 5 Jul 2009 04:18:12 +0000 (04:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jul 2009 01:03:20 +0000 (18:03 -0700)
commitda06b3292893e6ec41f4b29c5a3f8ef3df1a0dbc
tree401e3f877d501a387b9b15ebcc516ae1f03abe47
parent7ee0e6d3e92fecc14b4766691572892dfa5d339f
bnx2x: Disable HC coalescing when setting timeout to zero.

Problem reported by Flavio Leitner <fleitner@redhat.com>:
When setting rx/tx coalescing timeout to the values less than 12 traffic was
stopped.

The FW supports coalescing in 12us granularity, and so value of less then 12
should be interpreted as disabling coalescing

Signed-off-by: Vlad Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c