declare use_send_zc field anyway
parent
a52cc2d5d4
commit
2444eac6ce
|
|
@ -47,10 +47,7 @@ SFGlobalVariables g_sf_global_vars = {
|
|||
{0, 0}, NULL, {NULL, 0}
|
||||
};
|
||||
|
||||
SFContext g_sf_context = {{'\0'}, NULL, 0, false, false,
|
||||
#if IOEVENT_USE_URING
|
||||
false,
|
||||
#endif
|
||||
SFContext g_sf_context = {{'\0'}, NULL, 0, false, false, false,
|
||||
sf_address_family_auto, {{AF_UNSPEC, {{true, fc_comm_type_sock},
|
||||
{false, fc_comm_type_rdma}}},
|
||||
{AF_UNSPEC, {{true, fc_comm_type_sock}, {false, fc_comm_type_rdma}}}},
|
||||
|
|
|
|||
|
|
@ -182,9 +182,7 @@ typedef struct sf_context {
|
|||
|
||||
bool is_client; //since v1.2.5
|
||||
bool use_io_uring; //since v1.2.9
|
||||
#if IOEVENT_USE_URING
|
||||
bool use_send_zc; //since v1.2.9
|
||||
#endif
|
||||
SFAddressFamily address_family;
|
||||
SFAddressFamilyHandler handlers[SF_ADDRESS_FAMILY_COUNT];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue