From: "Qinghua(Kevin) Ye" <[EMAIL PROTECTED]>
Date: Thu, 7 Jul 2005 17:43:06 -0600
> So the tg3_tx() and tg3_start_xmit do not include any code of reprogramming
> the hardware?
Right, they just process the TX ring.
> What kinds of code can be classifed to reprogramming the hardware? Should
> the
Thanks, David. Some questions are as following:
> It depends, the locking changed significantly in the current
> 2.6.13-rcX version of the driver. But before that:
>
> 1) ->hard_start_xmit() needs to hold the tx_lock with hard IRQs
>disabled, as does tg3_tx(). It uses NETIF_F_LLTX locking,
From: "Qinghua(Kevin) Ye" <[EMAIL PROTECTED]>
Date: Thu, 7 Jul 2005 16:04:40 -0600
> I did some small test showing that polling can improve the packet processing
> throughput a bit. I still need to do more tests. Could anyone give me some
> information about the lock scheme of RX and TX precedure?