]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf0f72e98d00faaee50dbcfe54fcb71fd241ec44a
tree4e217b93f9661c66ab708e8a71c6d133f7b3c88d
parenteb1e68184b5620de6f3e7fa0fc65f915e600154b
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