diff options
author | Rasesh Mody <rmody@brocade.com> | 2013-12-18 05:07:40 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-18 09:30:34 +0400 |
commit | 24f5d33d42d648bce9ae7d3c115816c20ae48217 (patch) | |
tree | 4ef97fd9e4e9679f67fac3f414792f325b3a6bbf /drivers/net/ethernet/brocade/bna/bnad.h | |
parent | f29eeb79ac993a7f1d9e1be5f8c7c3684be0721d (diff) | |
download | linux-24f5d33d42d648bce9ae7d3c115816c20ae48217.tar.xz |
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 'drivers/net/ethernet/brocade/bna/bnad.h')
-rw-r--r-- | drivers/net/ethernet/brocade/bna/bnad.h | 1 |
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 { |