diff options
author | Amar Tumballi <amar@del.gluster.com> | 2009-03-17 18:15:19 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-03-18 08:23:20 +0530 |
commit | b947dc7161427b8c84f47b0a97861a36557f5748 (patch) | |
tree | 00dbfc53dd01b62ecee878883f1831aa0f6b4c14 /transport/ib-verbs/src/ib-verbs.h | |
parent | 0a7f4cfc1c516da573949a9521248744ce97c4e9 (diff) |
ib-verbs recv-size and send-size argument takes SIZET arguments now.
With this patch, to specify recv-size and send-size of ib-verbs to <n>KB, we need not give
the option as integer value of 'n * 1024' value. This is neater to do deployments.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'transport/ib-verbs/src/ib-verbs.h')
-rw-r--r-- | transport/ib-verbs/src/ib-verbs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/transport/ib-verbs/src/ib-verbs.h b/transport/ib-verbs/src/ib-verbs.h index 26d7799d30b..2aa39c0a491 100644 --- a/transport/ib-verbs/src/ib-verbs.h +++ b/transport/ib-verbs/src/ib-verbs.h @@ -45,7 +45,10 @@ struct _ib_verbs_options { int32_t port; char *device_name; enum ibv_mtu mtu; - int32_t send_count, send_size, recv_count, recv_size; + int32_t send_count; + int32_t recv_count; + uint64_t recv_size; + uint64_t send_size; }; typedef struct _ib_verbs_options ib_verbs_options_t; |