summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-08-19 14:58:43 +0200
committerChristoph Hellwig <hch@lst.de>2015-10-08 11:09:11 +0100
commit25556ae6b965321c7e7469faa06ddbeae50dac91 (patch)
tree08cc37baf210b0e751aece313fd54109202bcbec /drivers/infiniband
parente622f2f4ad2142d2a613a57fb85f8cf737935ef5 (diff)
downloadop-kernel-dev-25556ae6b965321c7e7469faa06ddbeae50dac91.zip
op-kernel-dev-25556ae6b965321c7e7469faa06ddbeae50dac91.tar.gz
IB: remove xrc_remote_srq_num from struct ib_send_wr
The field is only initialized in mlx, but never used. If we want to add proper XRC support it should be done with a new struct ib_xrc_wr. This shrinks the various WR structures by another 4 bytes. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Tested-by: Haggai Eran <haggaie@mellanox.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/mlx5/qp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c
index d4c36af..9bad688 100644
--- a/drivers/infiniband/hw/mlx5/qp.c
+++ b/drivers/infiniband/hw/mlx5/qp.c
@@ -2627,7 +2627,6 @@ int mlx5_ib_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
switch (ibqp->qp_type) {
case IB_QPT_XRC_INI:
xrc = seg;
- xrc->xrc_srqn = htonl(wr->xrc_remote_srq_num);
seg += sizeof(*xrc);
size += sizeof(*xrc) / 16;
/* fall through */
OpenPOWER on IntegriCloud