[ofa-general] mthca max_sge value... ugh.

Roland Dreier rdreier at cisco.com
Fri May 16 11:13:38 PDT 2008


 > Given that you have quite different WQE overheads depending on the transport,
 > a conservative max_sge value that works for all transports wastes one or two
 > entries on some others. Maybe once the QP is created, it could report
 > the actual max_sge value (which may actually be greater than the conservative,
 > transport-independent max_sge estimate of the device).

Is using 27 S/G entries vs, say 29 really a big problem?

The interface exists for the driver to return the actual capabilities
returned, but the mthca code is a bit of a mess and I think it would
require a decent amount of cleanup work to do this sanely.

 - R.



More information about the general mailing list