Skip to content

Commit

Permalink
Merge pull request openucx#4217 from dmitrygx/topic/uct/uct_base_cfg
Browse files Browse the repository at this point in the history
UCT/IB/RDMACM, UCT/SOCKCM: Inherit UCT base config
  • Loading branch information
yosefe authored Sep 23, 2019
2 parents c076f59 + 7ddcf49 commit 18b0018
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/uct/ib/rdmacm/rdmacm_iface.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ enum uct_rdmacm_process_event_flags {
};

static ucs_config_field_t uct_rdmacm_iface_config_table[] = {
{"", "", NULL,
ucs_offsetof(uct_rdmacm_iface_config_t, super),
UCS_CONFIG_TYPE_TABLE(uct_iface_config_table)},

{"BACKLOG", "1024",
"Maximum number of pending connections for an rdma_cm_id.",
ucs_offsetof(uct_rdmacm_iface_config_t, backlog), UCS_CONFIG_TYPE_UINT},
Expand Down
6 changes: 5 additions & 1 deletion src/uct/tcp/sockcm/sockcm_iface.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ enum uct_sockcm_process_event_flags {
UCT_SOCKCM_PROCESS_EVENT_ACK_EVENT_FLAG = UCS_BIT(1)
};

static ucs_config_field_t uct_sockcm_iface_config_table[] = {
static ucs_config_field_t uct_sockcm_iface_config_table[] = {
{"", "", NULL,
ucs_offsetof(uct_sockcm_iface_config_t, super),
UCS_CONFIG_TYPE_TABLE(uct_iface_config_table)},

{"BACKLOG", "1024",
"Maximum number of pending connections for a listening socket.",
ucs_offsetof(uct_sockcm_iface_config_t, backlog), UCS_CONFIG_TYPE_UINT},
Expand Down

0 comments on commit 18b0018

Please sign in to comment.