rds: add type of service(tos) infrastructure
RDS Service type (TOS) is user-defined and needs to be configured via RDS IOCTL interface. It must be set before initiating any traffic and once set the TOS can not be changed. All out-going traffic from the socket will be associated with its TOS. Reviewed-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> [yanjun.zhu@oracle.com: Adapted original patch with ipv6 changes] Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
This commit is contained in:
@@ -786,7 +786,7 @@ int rds_ib_cm_handle_connect(struct rdma_cm_id *cm_id,
|
||||
|
||||
/* RDS/IB is not currently netns aware, thus init_net */
|
||||
conn = rds_conn_create(&init_net, daddr6, saddr6,
|
||||
&rds_ib_transport, GFP_KERNEL, ifindex);
|
||||
&rds_ib_transport, 0, GFP_KERNEL, ifindex);
|
||||
if (IS_ERR(conn)) {
|
||||
rdsdebug("rds_conn_create failed (%ld)\n", PTR_ERR(conn));
|
||||
conn = NULL;
|
||||
|
Reference in New Issue
Block a user