diff options
-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: | |||
605 | wqe_fragment_length[wqe_fragment_index] = 0; | 605 | wqe_fragment_length[wqe_fragment_index] = 0; |
606 | set_wqe_64bit_value(nic_sqe->wqe_words, NES_NIC_SQ_WQE_FRAG1_LOW_IDX, | 606 | set_wqe_64bit_value(nic_sqe->wqe_words, NES_NIC_SQ_WQE_FRAG1_LOW_IDX, |
607 | bus_address); | 607 | bus_address); |
608 | tso_wqe_length += skb_headlen(skb) - | ||
609 | original_first_length; | ||
608 | } | 610 | } |
609 | while (wqe_fragment_index < 5) { | 611 | while (wqe_fragment_index < 5) { |
610 | wqe_fragment_length[wqe_fragment_index] = | 612 | wqe_fragment_length[wqe_fragment_index] = |