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: dongx.yi <dongx.yi@intel.com> Reviewed-on: https://review.gerrithub.io/420735 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
parent
b326e51219
commit
6987057f97
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user