nvme: reorder qprio in spdk_nvme_qpair for packing

This lets spdk_nvme_qpair fit in 128 bytes exactly.

Change-Id: I7c42582f22ece72a7f1d651468e63d4fe05babd6
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2016-05-17 14:17:20 -07:00
parent 59ae518add
commit 790b99e863

View File

@ -310,6 +310,8 @@ struct spdk_nvme_qpair {
* Fields below this point should not be touched on the normal I/O happy path. * Fields below this point should not be touched on the normal I/O happy path.
*/ */
uint8_t qprio;
struct spdk_nvme_ctrlr *ctrlr; struct spdk_nvme_ctrlr *ctrlr;
/* List entry for spdk_nvme_ctrlr::free_io_qpairs and active_io_qpairs */ /* List entry for spdk_nvme_ctrlr::free_io_qpairs and active_io_qpairs */
@ -317,8 +319,6 @@ struct spdk_nvme_qpair {
uint64_t cmd_bus_addr; uint64_t cmd_bus_addr;
uint64_t cpl_bus_addr; uint64_t cpl_bus_addr;
uint8_t qprio;
}; };
struct spdk_nvme_ns { struct spdk_nvme_ns {