RDS: TCP: Enable multipath RDS for TCP
Use RDS probe-ping to compute how many paths may be used with the peer, and to synchronously start the multiple paths. If mprds is supported, hash outgoing traffic to one of multiple paths in rds_sendmsg() when multipath RDS is supported by the transport. CC: Santosh Shilimkar <santosh.shilimkar@oracle.com> Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
ac3615e7f3
commit
5916e2c155
@@ -38,7 +38,6 @@
|
||||
#include <net/net_namespace.h>
|
||||
#include <net/netns/generic.h>
|
||||
|
||||
#include "rds_single_path.h"
|
||||
#include "rds.h"
|
||||
#include "tcp.h"
|
||||
|
||||
@@ -358,6 +357,7 @@ struct rds_transport rds_tcp_transport = {
|
||||
.t_name = "tcp",
|
||||
.t_type = RDS_TRANS_TCP,
|
||||
.t_prefer_loopback = 1,
|
||||
.t_mp_capable = 1,
|
||||
};
|
||||
|
||||
static int rds_tcp_netid;
|
||||
|
Reference in New Issue
Block a user