nvme_rdma: rearrange spdk_nvme_rdma_req.

This allows it to fit on three cachelines instead of four.

Change-Id: I2510b50ffcefb77fa570e738b2c6588749f30a00
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1143
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
Seth Howell 2020-03-04 15:08:20 -07:00 committed by Tomasz Zawadzki
parent fae0356697
commit 1850842461

View File

@ -188,6 +188,8 @@ struct nvme_rdma_qpair {
struct spdk_nvme_rdma_req {
int id;
bool request_ready_to_put;
struct ibv_send_wr send_wr;
struct nvme_request *req;
@ -195,8 +197,6 @@ struct spdk_nvme_rdma_req {
struct ibv_sge send_sgl[NVME_RDMA_DEFAULT_TX_SGE];
TAILQ_ENTRY(spdk_nvme_rdma_req) link;
bool request_ready_to_put;
};
static const char *rdma_cm_event_str[] = {