sock: Remove unused spdk_sock::max_iovcnt
Remove unused max_iovcnmt and reorder fields to eliminate hole in spdk_sock structure Change-Id: Ic78d809399ab6ac785565ce8f2e132549361bc8c Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4212 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
86865969ff
commit
d819d1f167
@ -55,18 +55,16 @@ extern "C" {
|
|||||||
struct spdk_sock {
|
struct spdk_sock {
|
||||||
struct spdk_net_impl *net_impl;
|
struct spdk_net_impl *net_impl;
|
||||||
struct spdk_sock_opts opts;
|
struct spdk_sock_opts opts;
|
||||||
int cb_cnt;
|
|
||||||
spdk_sock_cb cb_fn;
|
|
||||||
void *cb_arg;
|
|
||||||
struct spdk_sock_group_impl *group_impl;
|
struct spdk_sock_group_impl *group_impl;
|
||||||
TAILQ_ENTRY(spdk_sock) link;
|
TAILQ_ENTRY(spdk_sock) link;
|
||||||
|
|
||||||
int max_iovcnt;
|
|
||||||
TAILQ_HEAD(, spdk_sock_request) queued_reqs;
|
TAILQ_HEAD(, spdk_sock_request) queued_reqs;
|
||||||
TAILQ_HEAD(, spdk_sock_request) pending_reqs;
|
TAILQ_HEAD(, spdk_sock_request) pending_reqs;
|
||||||
int queued_iovcnt;
|
int queued_iovcnt;
|
||||||
|
int cb_cnt;
|
||||||
|
spdk_sock_cb cb_fn;
|
||||||
|
void *cb_arg;
|
||||||
int placement_id;
|
int placement_id;
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
uint8_t closed : 1;
|
uint8_t closed : 1;
|
||||||
uint8_t reserved : 7;
|
uint8_t reserved : 7;
|
||||||
|
Loading…
Reference in New Issue
Block a user