IB/mad: pass ib_mad_send_buf explicitly to the recv_handler
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Jan 2016 13:15:58 +0000 (14:15 +0100)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:25:36 +0000 (15:25 -0500)
commitca281265c02f342fed4927b4e98e377d9318881f
tree03c8c6e83e4b22502717921062059bd2e10778e2
parent39f426553ea30f4449d022577fd6494c265ef3ef
IB/mad: pass ib_mad_send_buf explicitly to the recv_handler

Stop abusing wr_id and just pass the parameter explicitly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hal Rosenstock <hal@mellanox.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cm.c
drivers/infiniband/core/mad.c
drivers/infiniband/core/sa_query.c
drivers/infiniband/core/user_mad.c
drivers/infiniband/ulp/srpt/ib_srpt.c
include/rdma/ib_mad.h