Commit 6987057f authored by dongx.yi's avatar dongx.yi Committed by Jim Harris
Browse files

nvmf: update spdk_nvmf_fabric_prop_get_cmd.attrib



NVMF spec lists that the property get commnad and set command
attributes bits 7:3 is reserved, bits 2:0 is used for the size
of property to return.
So update the codes for nvmf specification compliance.

Change-Id: If41cdf2b4b1b17ea6a1c44b13dba2a361d541b48
Signed-off-by: default avatardongx.yi <dongx.yi@intel.com>
Reviewed-on: https://review.gerrithub.io/420735


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
parent b326e512
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -272,8 +272,8 @@ struct spdk_nvmf_fabric_prop_get_cmd {
	uint8_t		fctype;
	uint8_t		reserved2[35];
	struct {
		uint8_t size		: 2;
		uint8_t reserved	: 6;
		uint8_t size		: 3;
		uint8_t reserved	: 5;
	} attrib;
	uint8_t		reserved3[3];
	uint32_t	ofst;
@@ -304,8 +304,8 @@ struct spdk_nvmf_fabric_prop_set_cmd {
	uint8_t		fctype;
	uint8_t		reserved1[35];
	struct {
		uint8_t size		: 2;
		uint8_t reserved	: 6;
		uint8_t size		: 3;
		uint8_t reserved	: 5;
	} attrib;
	uint8_t		reserved2[3];
	uint32_t	ofst;