On 17/11/2015 10:03, Or Gerlitz wrote:
On 11/16/2015 6:37 PM, Sagi Grimberg wrote:
  void iser_rcv_completion(struct iser_rx_desc *rx_desc,
-             unsigned long rx_xfer_len,
+             struct ib_wc *wc,
               struct ib_conn *ib_conn)
  {
      struct iser_conn *iser_conn = container_of(ib_conn, struct
iser_conn,
@@ -575,6 +621,7 @@ void iser_rcv_completion(struct iser_rx_desc
*rx_desc,
      struct iscsi_hdr *hdr;
      u64 rx_dma;
      int rx_buflen, outstanding, count, err;
+    unsigned long rx_xfer_len = wc->byte_len;

unrelated small enhancement which has nothing to do with this patch,
remove it from here

It is related, we pass wc to check the invalidate stuff down the road...
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to