Re: [PATCH RFC] Verbs requirement for GRH when working in GID based addressing

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

 



On Wed, Jan 10, 2018 at 11:59:18PM +0200, Or Gerlitz wrote:
> On Wed, Jan 10, 2018 at 9:28 PM, Alex Rosenbaum <rosenbaumalex@xxxxxxxxx> wrote:
> > RDMA applications require an indication they are operating in an
> > environment which is based on GID addressing, such as SR-IOV IB
> > Virtualization. In this mode, all sent traffic must include a GRH.
> 
> Hi Alex,
> 
> Isn't this the case for RoCE since it's day one? how does it work there? maybe
> a hop limit > 1 is used and the kernel rdma stack tweaks it over RoCE ports?

roce requires GRH because it is roce. Everything should just use
that as the criteria.

The hop limit trick is only for IB and it is only for path records
from the SA. It allows the SA to say 'a GRH is required for this path'
even if the path has local GIDs.

The SA *should* be returning hop limit > 1 for any GID that has
grh_required=1 in this patch, otherwise CM won't work right if the
node is a target.

Presumably the attr is required for non SA based schemes?

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