Re: [PATCH v2 1/2] ntb_transport: Fix bug with max_mw_size parameter

2018-01-18 Thread Jon Mason
On Mon, Dec 18, 2017 at 11:25:05AM -0700, Logan Gunthorpe wrote: > When using the max_mw_size parameter of ntb_transport to limit the size of > the Memory windows, communication cannot be established and the queues > freeze. > > This is because the mw_size that's reported to the peer is correctly

Re: [PATCH v2 1/2] ntb_transport: Fix bug with max_mw_size parameter

2018-01-18 Thread Jon Mason
On Mon, Dec 18, 2017 at 11:25:05AM -0700, Logan Gunthorpe wrote: > When using the max_mw_size parameter of ntb_transport to limit the size of > the Memory windows, communication cannot be established and the queues > freeze. > > This is because the mw_size that's reported to the peer is correctly

[PATCH v2 1/2] ntb_transport: Fix bug with max_mw_size parameter

2017-12-18 Thread Logan Gunthorpe
When using the max_mw_size parameter of ntb_transport to limit the size of the Memory windows, communication cannot be established and the queues freeze. This is because the mw_size that's reported to the peer is correctly limited but the size used locally is not. So the MW is initialized with a

[PATCH v2 1/2] ntb_transport: Fix bug with max_mw_size parameter

2017-12-18 Thread Logan Gunthorpe
When using the max_mw_size parameter of ntb_transport to limit the size of the Memory windows, communication cannot be established and the queues freeze. This is because the mw_size that's reported to the peer is correctly limited but the size used locally is not. So the MW is initialized with a