aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/brocade/bna/bnad.h
diff options
context:
space:
mode:
authorRasesh Mody <rmody@brocade.com>2013-12-17 17:07:40 -0800
committerDavid S. Miller <davem@davemloft.net>2013-12-18 00:30:34 -0500
commit24f5d33d42d648bce9ae7d3c115816c20ae48217 (patch)
tree4ef97fd9e4e9679f67fac3f414792f325b3a6bbf /drivers/net/ethernet/brocade/bna/bnad.h
parentbna: Handle the TX Setup Failures (diff)
downloadlinux-dev-24f5d33d42d648bce9ae7d3c115816c20ae48217.tar.xz
linux-dev-24f5d33d42d648bce9ae7d3c115816c20ae48217.zip
bna: Embed SKB Length in TX Vector
- Store the length of the skb buffer mapped along with the handle and use it while unmapping the buffer. Signed-off-by: Rasesh Mody <rmody@brocade.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/brocade/bna/bnad.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/brocade/bna/bnad.h b/drivers/net/ethernet/brocade/bna/bnad.h
index 5816a6e7a238..586f6ddfc14b 100644
--- a/drivers/net/ethernet/brocade/bna/bnad.h
+++ b/drivers/net/ethernet/brocade/bna/bnad.h
@@ -222,6 +222,7 @@ struct bnad_rx_info {
struct bnad_tx_vector {
DEFINE_DMA_UNMAP_ADDR(dma_addr);
+ DEFINE_DMA_UNMAP_LEN(dma_len);
};
struct bnad_tx_unmap {