Re: [patch v3 2/2] RDMA/srp: calculate max_it_iu_size if remote max_it_iu length available

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

 



On Fri, Sep 20, 2019 at 09:18:49AM -0700, Bart Van Assche wrote:
> On 9/18/19 8:50 PM, Honggang LI wrote:
> > From: Honggang Li <honli@xxxxxxxxxx>
> > 
> > The default maximum immediate size is too big for old srp clients,
> > which without immediate data support.
>         ^^^^^^^
>         do not?

OK, will fix it.

> > 
> > According to the SRP and SRP-2 specifications, the IOControllerProfile
> > attributes for SRP target ports contains the maximum initiator to target
> > iu length.
> > 
> > The maximum initiator to target iu length can be get from the subnet
>                                                    ^^^
>                                          retrieved? obtained?

OK, will replace it with 'retrieved'.

> > manager, such as opensm and opafm. We should calculate the
>   ^^^^^^^
> 
> Are you sure that information comes from the subnet manager?
> Isn't the LID passed to get_ioc_prof() in the srp_daemon the LID of the SRP
> target?

Yes, you are right. But srp_daemon/get_ioc_prof() send MAD packet
to subnet manager to obtain the maximum initiator to target iu length.

> 
> Anyway, since the code changes look fine to me, feel free to add:
> 
> Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>



[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