diff options
author | Chien Tung <ctung@neteffect.com> | 2008-09-26 15:08:10 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-09-30 15:35:48 -0700 |
commit | 168ac8244df5af1a9ab03bf39e4a9d3161dd9f11 (patch) | |
tree | 60460460c69c41cc80931b382d258aae98049753 | |
parent | 0c93ae355ed7301249d932e509f8546977d53376 (diff) | |
download | linux-168ac8244df5af1a9ab03bf39e4a9d3161dd9f11.tar.gz linux-168ac8244df5af1a9ab03bf39e4a9d3161dd9f11.tar.bz2 linux-168ac8244df5af1a9ab03bf39e4a9d3161dd9f11.zip |
RDMA/nes: Correct tso_wqe_length
Signed-off-by: Sweta Bhatt <sweta.bhatt@einfochips.com>
Signed-off-by: Chien Tung <ctung@neteffect.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r-- | drivers/infiniband/hw/nes/nes_nic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/nes/nes_nic.c b/drivers/infiniband/hw/nes/nes_nic.c index 6abd4040340e..852546b67f77 100644 --- a/drivers/infiniband/hw/nes/nes_nic.c +++ b/drivers/infiniband/hw/nes/nes_nic.c @@ -605,6 +605,8 @@ tso_sq_no_longer_full: wqe_fragment_length[wqe_fragment_index] = 0; set_wqe_64bit_value(nic_sqe->wqe_words, NES_NIC_SQ_WQE_FRAG1_LOW_IDX, bus_address); + tso_wqe_length += skb_headlen(skb) - + original_first_length; } while (wqe_fragment_index < 5) { wqe_fragment_length[wqe_fragment_index] = |