cxgb3 - Unmap offload packets when they are freed
authorDivy Le Ray <divy@chelsio.com>
Sun, 25 Feb 2007 00:44:06 +0000 (16:44 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 27 Feb 2007 09:27:12 +0000 (04:27 -0500)
commit99d7cf30b99a8b7863090d8a510d6a4d9ad082cf
tree4e217b93f9661c66ab708e8a71c6d133f7b3c88d
parent75d8626fdd172745ebb638c2bf5138071e67a818
cxgb3 - Unmap offload packets when they are freed

Offload packets may be DMAed long after their SGE Tx descriptors are done
so they must remain mapped until they are freed rather than until their
descriptors are freed.  Unmap such packets through an skb destructor.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/cxgb3/sge.c