diff options
author | Christoph Hellwig <hch@lst.de> | 2016-01-04 14:15:58 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-01-19 15:25:36 -0500 |
commit | ca281265c02f342fed4927b4e98e377d9318881f (patch) | |
tree | 03c8c6e83e4b22502717921062059bd2e10778e2 /drivers/infiniband/ulp/srpt/ib_srpt.c | |
parent | 39f426553ea30f4449d022577fd6494c265ef3ef (diff) | |
download | linux-ca281265c02f342fed4927b4e98e377d9318881f.tar.gz linux-ca281265c02f342fed4927b4e98e377d9318881f.tar.xz |
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>
Diffstat (limited to 'drivers/infiniband/ulp/srpt/ib_srpt.c')
-rw-r--r-- | drivers/infiniband/ulp/srpt/ib_srpt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c index 105512d7b963..1d78de1f5e83 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.c +++ b/drivers/infiniband/ulp/srpt/ib_srpt.c @@ -455,6 +455,7 @@ static void srpt_mad_send_handler(struct ib_mad_agent *mad_agent, * srpt_mad_recv_handler() - MAD reception callback function. */ static void srpt_mad_recv_handler(struct ib_mad_agent *mad_agent, + struct ib_mad_send_buf *send_buf, struct ib_mad_recv_wc *mad_wc) { struct srpt_port *sport = (struct srpt_port *)mad_agent->context; |