Re: [net-next PATCH] net/rds: Return proper "tos" value to user-space

2019-03-08 Thread Zhu Yanjun
在 2019/3/9 6:37, Gerd Rausch 写道: On 07/03/2019 17.37, santosh.shilim...@oracle.com wrote: --- a/net/rds/connection.c +++ b/net/rds/connection.c @@ -736,6 +736,7 @@ static int rds_conn_info_visitor(struct rds_conn_path *cp, void *buffer)   cinfo->next_rx_seq = cp->cp_next_rx_seq;   c

Re: [net-next PATCH] net/rds: Return proper "tos" value to user-space

2019-03-08 Thread Santosh Shilimkar
On 3/8/2019 2:37 PM, Gerd Rausch wrote: On 07/03/2019 17.37, santosh.shilim...@oracle.com wrote: --- a/net/rds/connection.c +++ b/net/rds/connection.c @@ -736,6 +736,7 @@ static int rds_conn_info_visitor(struct rds_conn_path *cp, void *buffer)   cinfo->next_rx_seq = cp->cp_next_rx_seq;   

Re: [net-next PATCH] net/rds: Return proper "tos" value to user-space

2019-03-08 Thread Gerd Rausch
On 07/03/2019 17.37, santosh.shilim...@oracle.com wrote: >> --- a/net/rds/connection.c >> +++ b/net/rds/connection.c >> @@ -736,6 +736,7 @@ static int rds_conn_info_visitor(struct rds_conn_path >> *cp, void *buffer) >>   cinfo->next_rx_seq = cp->cp_next_rx_seq; >>   cinfo->laddr = conn->c_

Re: [net-next PATCH] net/rds: Return proper "tos" value to user-space

2019-03-07 Thread santosh.shilim...@oracle.com
On 3/7/19 2:01 PM, Gerd Rausch wrote: The proper "tos" value needs to be returned to user-space (sockopt RDS_INFO_CONNECTIONS). Fixes: 3eb450367d08 ("rds: add type of service(tos) infrastructure") Signed-off-by: Gerd Rausch --- net/rds/connection.c | 1 + 1 file changed, 1 insertion(+) diff

Re: [net-next PATCH] net/rds: Return proper "tos" value to user-space

2019-03-07 Thread Yanjun Zhu
On 2019/3/8 6:01, Gerd Rausch wrote: The proper "tos" value needs to be returned to user-space (sockopt RDS_INFO_CONNECTIONS). Fixes: 3eb450367d08 ("rds: add type of service(tos) infrastructure") Signed-off-by: Gerd Rausch In RDS/IB, tos is set in this function. Do you still use RoCE device