]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[TG3]: TSO workaround fixes.
authorMichael Chan <mchan@broadcom.com>
Wed, 21 Feb 2007 07:25:40 +0000 (23:25 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 26 Feb 2007 19:42:47 +0000 (11:42 -0800)
commit7f62ad5d37f4e43c841e92c6f159c93dcf2d2cdd
treef8d0e5d2dcc5e7783ace1f966b9e008278357067
parentad930650c0e694233971c56e8de8e78b896e2613
[TG3]: TSO workaround fixes.

1.  Add race condition check after netif_stop_queue().  tg3_tx() runs
    without netif_tx_lock and can race with tg3_start_xmit_dma_bug() ->
    tg3_tso_bug().

2.  Firmware TSO in 5703/5704/5705 also have the same TSO limitation,
    i.e. they cannot handle TSO headers bigger than 80 bytes.  Rename
    TG3_FL2_HW_TSO_1_BUG to TG3_FL2_TSO_BUG and set this flag on
    these chips as well.

3.  Update version to 3.74.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h