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)
commit3799cf47e3497a472b05f88e7a52a14931597d78
tree401e3f877d501a387b9b15ebcc516ae1f03abe47
parentd23e43658aed286b885d398ff0810f04f6aae97f
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