> 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to