RE: [PATCH] IB/CMA: Initialize hop_limit to a known default macro instead of 1 as is done currently.

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

 



> Just wondering if it'd scale better if we start off with a known bigger
> default hop limit and set it to 1 only if we know that we are _not_ going
> out of the subnet ?

Let me back up.  If this is doing RDMA over IP, then we're no longer RoCE and more significant changes may be needed throughout the stack.  For example, what does it even mean to have a path record over IP?

> In any case, I'm still trying to understand how best to do what you are
> suggesting i.e take into account the src/dst addresses on different subnets
> , and so far the only piece
> Of code that I could find that does something close to that would be the
> ib_init_ah_from_path() , in particular the snippet (and my comment )below.
> Would you suggest modifying it here?  Is my understanding correct or am I
> missing something ?

I would first look at the network stack to see what it does, but I was suggesting something like this:

if (src and dst IP address are on the same subnet)
	hop_limit = 1;
else
	hop_limit = something else;

But it seems that this sort of change needs to be placed in context of some larger patch set that introduces RoIP (or IBoIP), assuming that's what 'routable RoCE' really is.

- Sean
--
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