rdma.c (8613dec04e746f698418e9b8344acf19efff4997) | rdma.c (6887fc6495f2dfd55e088c982e983815278ee453) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * NVMe over Fabrics RDMA host code. 4 * Copyright (c) 2015-2016 HGST, a Western Digital Company. 5 */ 6#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 7#include <linux/module.h> 8#include <linux/init.h> --- 2026 unchanged lines hidden (view full) --- 2035 2036 ib_dma_sync_single_for_cpu(dev, sqe->dma, 2037 sizeof(struct nvme_command), DMA_TO_DEVICE); 2038 2039 ret = nvme_setup_cmd(ns, rq); 2040 if (ret) 2041 goto unmap_qe; 2042 | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * NVMe over Fabrics RDMA host code. 4 * Copyright (c) 2015-2016 HGST, a Western Digital Company. 5 */ 6#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 7#include <linux/module.h> 8#include <linux/init.h> --- 2026 unchanged lines hidden (view full) --- 2035 2036 ib_dma_sync_single_for_cpu(dev, sqe->dma, 2037 sizeof(struct nvme_command), DMA_TO_DEVICE); 2038 2039 ret = nvme_setup_cmd(ns, rq); 2040 if (ret) 2041 goto unmap_qe; 2042 |
2043 blk_mq_start_request(rq); | 2043 nvme_start_request(rq); |
2044 2045 if (IS_ENABLED(CONFIG_BLK_DEV_INTEGRITY) && 2046 queue->pi_support && 2047 (c->common.opcode == nvme_cmd_write || 2048 c->common.opcode == nvme_cmd_read) && 2049 nvme_ns_has_pi(ns)) 2050 req->use_sig_mr = true; 2051 else --- 417 unchanged lines hidden --- | 2044 2045 if (IS_ENABLED(CONFIG_BLK_DEV_INTEGRITY) && 2046 queue->pi_support && 2047 (c->common.opcode == nvme_cmd_write || 2048 c->common.opcode == nvme_cmd_read) && 2049 nvme_ns_has_pi(ns)) 2050 req->use_sig_mr = true; 2051 else --- 417 unchanged lines hidden --- |