Re: [RFI] ucmatose: No effect to set service type for QoS

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

 



On Fri, Aug 12, 2016 at 09:03:55AM -0400, Hal Rosenstock wrote:

[snip]

> >>>
> >>> It also looks incomplete to me. What invokes rdma_set_service_level ? Is
> >>> it some option in ucma.c:ucma_set_option ?
> >>
> >> The main purpose is for our in house transport kernel module, 
> 
> One more thing:
> 
> How does transport module know which SL to request ?
> 
> In general, SL is based on SM configuration.
> 
> Service ID and QoS Class or Traffic Class are the "higher level" IB
> architected ways to obtain the SL.
>

I agree with Hal here.  ServiceID should be able to define which Path Records
(hence which SLs) are configured by the SM.  In rdmacm applications Service ID
is defined in the IBTA spec

     A11.5 IP PROTOCOL PORTS MAPPING INTO IBTA SERVICE IDS

So it seems if you configure the fabric to be in alignment with this mapping
all should work.

Ira

> 
> >> it
> >> supports all 3 connections
> >> (IPv4, IPv6, and native IB, IB is the default).
> > 
> >>> Current patch doesn't appear to me to be backward compatible. If
> >>> rdma_set_service_level is not called in flow, then SL should not be set
> >>> in SA PR query which is what happens today.
> >>
> >> Good point, I will add check only set SL if not 0,
> > 
> > 0 is a valid SL so an extra bit somewhere is needed to indicate whether
> > a specific SL is being requested.
> > 
> >> but if
> >> rdma_set_service_level is not called,
> >> SL should be 0 as before, shouldn't change SA PR query behavior, or I
> >> missed something?
> > 
> > Component mask for SL in SA PR query is not on currently so that means
> > it's wildcarded rather than 0.
> > 
> >>> Also, if SL is set in query, you probably don't need some of the other
> >>> fields that are being set.
> >>>
> >> Do you mean SL shouldn't be set with other fields, what's the side effect there?
> > 
> > Never mind. It's probably best to leave those other fields as is.
> > 
> --
> 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
--
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