aboutsummaryrefslogtreecommitdiff
path: root/net/rds/rdma_transport.c
diff options
context:
space:
mode:
authorSowmini Varadhan <sowmini.varadhan@oracle.com>2016-03-16 11:38:12 -0700
committerDavid S. Miller <davem@davemloft.net>2016-03-18 22:25:41 -0400
commitc6a58ffed53612be86b758df1cdb0b0f4305e9cb (patch)
tree07f38d221c7bea9005cadd92bc23e30ac46fddef /net/rds/rdma_transport.c
parent79d3b59a93ba25f3b2c72eb4099c189d41d30204 (diff)
RDS: TCP: Add sysctl tunables for sndbuf/rcvbuf on rds-tcp socket
Add per-net sysctl tunables to set the size of sndbuf and rcvbuf on the kernel tcp socket. The tunables are added at /proc/sys/net/rds/tcp/rds_tcp_sndbuf and /proc/sys/net/rds/tcp/rds_tcp_rcvbuf. These values must be set before accept() or connect(), and there may be an arbitrary number of existing rds-tcp sockets when the tunable is modified. To make sure that all connections in the netns pick up the same value for the tunable, we reset existing rds-tcp connections in the netns, so that they can reconnect with the new parameters. Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/rdma_transport.c')
0 files changed, 0 insertions, 0 deletions