Re: [PATCH rdma-next] IB/ipoib: Fix wqe initialized param on ipoib set mode to connected

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

 



On Wed, Mar 14, 2018 at 03:22:59PM +0200, Erez Shitrit wrote:

> Perhaps just to take that line ("priv->tx_wr.wr.opcode = IB_WR_SEND;")
> few lines below, after the call for ipoib_flush_paths(dev) will solve
> the race.
>
> (Because after the call for ipoib_flush_paths() we can be sure that no
> packets from LSO type will be sent)

But we've already enabled CM mode so we can't be sure a CM packet
wasn't sent using the wrong wr opcode, so we are back to having the
original race.

Could CM and !CM use different priv->tx_wr structs? That would solve
the problem as well.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux