nvmf: remove unused spdk_nvmf_capsule_rsp
It is the same as spdk_nvme_cpl, aside from reserved fields. Change-Id: I62b0718dd58c998b4d26a0d1b44ee16d37eff25d Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
8999f448ef
commit
73a701d7d0
@ -56,15 +56,6 @@ struct spdk_nvmf_capsule_cmd {
|
|||||||
};
|
};
|
||||||
SPDK_STATIC_ASSERT(sizeof(struct spdk_nvmf_capsule_cmd) == 64, "Incorrect size");
|
SPDK_STATIC_ASSERT(sizeof(struct spdk_nvmf_capsule_cmd) == 64, "Incorrect size");
|
||||||
|
|
||||||
struct spdk_nvmf_capsule_rsp {
|
|
||||||
uint8_t fabric_specific[8];
|
|
||||||
uint16_t sqhd;
|
|
||||||
uint8_t reserved1[2];
|
|
||||||
uint16_t cid;
|
|
||||||
struct spdk_nvme_status status;
|
|
||||||
};
|
|
||||||
SPDK_STATIC_ASSERT(sizeof(struct spdk_nvmf_capsule_rsp) == 16, "Incorrect size");
|
|
||||||
|
|
||||||
/* Fabric Command Set */
|
/* Fabric Command Set */
|
||||||
#define SPDK_NVME_OPC_FABRIC 0x7f
|
#define SPDK_NVME_OPC_FABRIC 0x7f
|
||||||
|
|
||||||
|
@ -47,7 +47,6 @@ union nvmf_h2c_msg {
|
|||||||
SPDK_STATIC_ASSERT(sizeof(union nvmf_h2c_msg) == 64, "Incorrect size");
|
SPDK_STATIC_ASSERT(sizeof(union nvmf_h2c_msg) == 64, "Incorrect size");
|
||||||
|
|
||||||
union nvmf_c2h_msg {
|
union nvmf_c2h_msg {
|
||||||
struct spdk_nvmf_capsule_rsp nvmf_rsp;
|
|
||||||
struct spdk_nvme_cpl nvme_cpl;
|
struct spdk_nvme_cpl nvme_cpl;
|
||||||
struct spdk_nvmf_fabric_prop_set_rsp prop_set_rsp;
|
struct spdk_nvmf_fabric_prop_set_rsp prop_set_rsp;
|
||||||
struct spdk_nvmf_fabric_prop_get_rsp prop_get_rsp;
|
struct spdk_nvmf_fabric_prop_get_rsp prop_get_rsp;
|
||||||
|
Loading…
Reference in New Issue
Block a user