]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mv643xx_eth: replace array of skbs awaiting transmit completion with a queue
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 28 Aug 2008 03:53:18 +0000 (05:53 +0200)
committerLennert Buytenhek <buytenh@marvell.com>
Sun, 14 Sep 2008 12:09:06 +0000 (14:09 +0200)
commit99ab08e091df65ce8e191d85ebdc23f78b8355cb
tree08ec6a76f90f52858be703210a76b906953ed54a
parenta418950c1378c4a3722baecdbe98df78ea23f231
mv643xx_eth: replace array of skbs awaiting transmit completion with a queue

Get rid of the skb pointer array that we currently use for transmit
reclaim, and replace it with an skb queue, to which skbuffs are appended
when they are passed to the xmit function, and removed from the front
and freed when we do transmit queue reclaim and hit a descriptor with
the 'owned by device' bit clear and 'last descriptor' bit set.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
drivers/net/mv643xx_eth.c