[ofa-general] srp_sg_tablesize related question

Pradeep Satyanarayana pradeeps at linux.vnet.ibm.com
Mon Oct 1 14:09:58 PDT 2007


Roland Dreier wrote:
>  > I do not see a max value for srp_sg_tablesize. I see an earlier patch limiting it to
>  > 128, but that is not the case in the recent kernels. So, what limits the size of
>  > an IU? Does it depend on the target port limiting it with an SRP_CRED_REQ?
> 
> There's no validation of the value for srp_sg_tablesize, so it is
> probably possible to mess things up by picking too big a value.
> 
>  - R.
> 

Thanks for the information. If that is indeed the case, then why was the check removed? 
I see a patch that limited it to 128; not sure if it was ever applied.

What could one use as a max value which would not mess things up, or is that target 
dependent?

Pradeep




More information about the general mailing list