[ofa-general] device attributes

Steve Wise swise at opengridcomputing.com
Wed Jun 4 07:28:05 PDT 2008


Roland/All,

Should the device attributes (for instance max_send_wr) be the max 
supported by the HW or the max supported by the OS or something else?

For instance:  Chelsio's HW can handle very large work queues, but since 
Linux limits the size of contiguous dma coherent memory allocations, the 
actual limits are much smaller.  Which should I be using for the device 
attributes?

Also, the chelsio device uses a single work queue to implement the SQ 
and RQ abstractions.  So the max SQ depth depends on the RQ depth and 
vice versa.  This leads to device max attributes that aren't that useful.

I'm wondering what application writes should glean from these attributes...

Steve




More information about the general mailing list