From: Masakazu Mokuno Date: Fri, 20 Jul 2007 08:24:56 +0000 (+0900) Subject: ps3: tx descriptor handling cleanup X-Git-Tag: v2.6.23-rc2~293^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48544cc267da96a85e4d38aa1999a011229948d6;p=pandora-kernel.git ps3: tx descriptor handling cleanup gelic: TX descriptor handling cleanup - Emitted return value of NETDEV_TX_LOCKED when DMA map or kick failure. Now it would free the skb, update drop packet statistics and return OK. Requested from Jeff Garzik. - Enable tx queue if number of free descriptors are more than 2 - Fixed descriptor leak if dma map for second descriptor failed - Stopped calling xmit handler from interrupt handler in order to recheck tx queue. Instead, call appropriate helper functions. Signed-off-by: Masakazu Mokuno Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed