Re: [PATCH] RDMA/cma: Make CM response timeout and # CM retries configurable

2019-04-12 Thread Leon Romanovsky
On Fri, Apr 12, 2019 at 04:30:24PM -0300, Jason Gunthorpe wrote: > On Mon, Mar 04, 2019 at 06:27:26AM +, Parav Pandit wrote: > > > I think we should use rdma_nl_register(RDMA_NL_RDMA_CM, cma_cb_table) which > > was removed as part of ID stats removal. > > Because of below reasons. > > 1. rdma

Re: [PATCH] RDMA/cma: Make CM response timeout and # CM retries configurable

2019-04-12 Thread Jason Gunthorpe
On Mon, Mar 04, 2019 at 06:27:26AM +, Parav Pandit wrote: > I think we should use rdma_nl_register(RDMA_NL_RDMA_CM, cma_cb_table) which > was removed as part of ID stats removal. > Because of below reasons. > 1. rdma netlink command auto loads the module This is probably the best argument

RE: [PATCH] RDMA/cma: Make CM response timeout and # CM retries configurable

2019-03-03 Thread Parav Pandit
> -Original Message- > From: Leon Romanovsky > Sent: Saturday, February 23, 2019 2:50 AM > To: Doug Ledford > Cc: Steve Wise ; Jason Gunthorpe > ; Håkon Bugge ; Parav Pandit > ; linux-r...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re

Re: [PATCH] RDMA/cma: Make CM response timeout and # CM retries configurable

2019-02-25 Thread Håkon Bugge
> On 23 Feb 2019, at 09:49, Leon Romanovsky wrote: > > On Fri, Feb 22, 2019 at 12:51:55PM -0500, Doug Ledford wrote: >> >> >>> On Feb 22, 2019, at 12:14 PM, Steve Wise >>> wrote: >>> >>> >>> On 2/22/2019 10:36 AM, Jason Gunthorpe wrote: On Sun, Feb 17, 2019 at 06:09:09PM +0100,

Re: [PATCH] RDMA/cma: Make CM response timeout and # CM retries configurable

2019-02-23 Thread Leon Romanovsky
On Fri, Feb 22, 2019 at 12:51:55PM -0500, Doug Ledford wrote: > > > > On Feb 22, 2019, at 12:14 PM, Steve Wise > > wrote: > > > > > > On 2/22/2019 10:36 AM, Jason Gunthorpe wrote: > >> On Sun, Feb 17, 2019 at 06:09:09PM +0100, Håkon Bugge wrote: > >>> During certain workloads, the default CM

Re: [PATCH] RDMA/cma: Make CM response timeout and # CM retries configurable

2019-02-22 Thread Doug Ledford
> On Feb 22, 2019, at 12:14 PM, Steve Wise wrote: > > > On 2/22/2019 10:36 AM, Jason Gunthorpe wrote: >> On Sun, Feb 17, 2019 at 06:09:09PM +0100, Håkon Bugge wrote: >>> During certain workloads, the default CM response timeout is too >>> short, leading to excessive retries. Hence, make it

Re: [PATCH] RDMA/cma: Make CM response timeout and # CM retries configurable

2019-02-22 Thread Steve Wise
On 2/22/2019 10:36 AM, Jason Gunthorpe wrote: > On Sun, Feb 17, 2019 at 06:09:09PM +0100, Håkon Bugge wrote: >> During certain workloads, the default CM response timeout is too >> short, leading to excessive retries. Hence, make it configurable >> through sysctl. While at it, also make number of

Re: [PATCH] RDMA/cma: Make CM response timeout and # CM retries configurable

2019-02-22 Thread Jason Gunthorpe
On Sun, Feb 17, 2019 at 06:09:09PM +0100, Håkon Bugge wrote: > During certain workloads, the default CM response timeout is too > short, leading to excessive retries. Hence, make it configurable > through sysctl. While at it, also make number of CM retries > configurable. > > The defaults are not