[ofa-general] Re: send max_sge lower than reported by ib_query_device
Michael S. Tsirkin
mst at dev.mellanox.co.il
Thu Sep 27 15:44:52 PDT 2007
> Quoting Roland Dreier <rdreier at cisco.com>:
> Subject: Re: send max_sge lower than reported by ib_query_device
>
> > The same bug exists with mthca. I saw it originally in the kernel doing RDS work, but I just put together a short user space test.
>
> Thanks. The patch below seems to fix this for me. I guess I'll queue
> this for 2.6.24.
I'm not sure this is a good approach: the fact that
user attempts to use the max value from query device
indicates that he really wants to get as large a value
as possible. So lowering this value in query means
we are wasting performance for such an app.
--
MST
More information about the general
mailing list