summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/rdma.c
diff options
context:
space:
mode:
authorJames Smart <james.smart@broadcom.com>2016-10-21 23:33:34 +0300
committerSagi Grimberg <sagi@grimberg.me>2016-12-06 10:17:03 +0200
commit721b3917c4ae222085c6de70c24b73b0e7950b35 (patch)
tree8f105755b31372f079416a31fbc24de13b9e46b2 /drivers/nvme/host/rdma.c
parenta317178e36b52f5f24ad226a77403eeea5ac05c4 (diff)
downloadop-kernel-dev-721b3917c4ae222085c6de70c24b73b0e7950b35.zip
op-kernel-dev-721b3917c4ae222085c6de70c24b73b0e7950b35.tar.gz
nvme-fabrics: set sqe.command_id in core not transports
Currently, core.c sets command_id only on rd/wr commands, leaving it to the transport to set it again to ensure the request had a command id. Move location of set in core so applies to all commands. Remove transport sets. Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Jay Freyensee <james_p_freyensee@linux.intel.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'drivers/nvme/host/rdma.c')
-rw-r--r--drivers/nvme/host/rdma.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c
index f560cd7..b037d0c 100644
--- a/drivers/nvme/host/rdma.c
+++ b/drivers/nvme/host/rdma.c
@@ -1399,7 +1399,6 @@ static int nvme_rdma_queue_rq(struct blk_mq_hw_ctx *hctx,
if (ret != BLK_MQ_RQ_QUEUE_OK)
return ret;
- c->common.command_id = rq->tag;
blk_mq_start_request(rq);
map_len = nvme_map_len(rq);
OpenPOWER on IntegriCloud