Commit 790b99e8 authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

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: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 59ae518a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -310,6 +310,8 @@ struct spdk_nvme_qpair {
	 * Fields below this point should not be touched on the normal I/O happy path.
	 */

	uint8_t				qprio;

	struct spdk_nvme_ctrlr		*ctrlr;

	/* 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			cpl_bus_addr;

	uint8_t				qprio;
};

struct spdk_nvme_ns {