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>
这个提交包含在:
@@ -115,6 +115,7 @@ static int rds_rdma_cm_event_handler_cmn(struct rdma_cm_id *cm_id,
|
||||
pr_warn("RDS/RDMA: conn <%pI6c, %pI6c> rejected, dropping connection\n",
|
||||
&conn->c_laddr, &conn->c_faddr);
|
||||
conn->c_proposed_version = RDS_PROTOCOL_COMPAT_VERSION;
|
||||
conn->c_tos = 0;
|
||||
rds_conn_drop(conn);
|
||||
}
|
||||
rdsdebug("Connection rejected: %s\n",
|
||||
|
在新工单中引用
屏蔽一个用户