Re: [PATCH] IB/core: Perform modify QP on real one

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 28, 2018 at 01:26:48PM +0200, Leon Romanovsky wrote:
> On Wed, Nov 28, 2018 at 11:58:20AM +0100, Greg KH wrote:
> > On Mon, Oct 29, 2018 at 05:12:23PM +0200, Leon Romanovsky wrote:
> > > From: Parav Pandit <parav@xxxxxxxxxxxx>
> > >
> > > commit b2bedfb39541a7e14798d066b6f8685d84c8fcf5 upstream
> > >
> > > Currently qp->port stores the port number whenever IB_QP_PORT
> > > QP attribute mask is set (during QP state transition to INIT state).
> > > This port number should be stored for the real QP when XRC target QP
> > > is used.
> > >
> > > Follow the ib_modify_qp() implementation and hide the access to ->real_qp.
> > >
> > > This commit is required for proper operation of commit 65be9cbe1224
> > > ("RDMA/uverbs: Expand primary and alt AV port checks") which was added
> > > to 4.14.61.
> > >
> > > Without this commit, XRC qp's do not work.
> > >
> > > Fixes: a512c2fbef9c ("IB/core: Introduce modify QP operation with udata")
> > > Signed-off-by: Jack Morgenstein <jackm@xxxxxxxxxxxxxxxxxx>
> > > Signed-off-by: Parav Pandit <parav@xxxxxxxxxxxx>
> > > Reviewed-by: Daniel Jurgens <danielj@xxxxxxxxxxxx>
> > > Signed-off-by: Leon Romanovsky <leon@xxxxxxxxxx>
> > > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
> > > ---
> > >  drivers/infiniband/core/verbs.c | 5 +++--
> > >  1 file changed, 3 insertions(+), 2 deletions(-)
> >
> > Does not apply to the 4.14.y tree :(
> 
> Can you please try this file patch? I tested it now on 4201a586f1fa
> (tag: v4.14.84, stable/linux-4.14.y) Linux 4.14.8.

That worked, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux