[ofa-general] cxgb3: MW Support
Steve Wise
swise at opengridcomputing.com
Tue Aug 12 08:49:30 PDT 2008
Philip Frey1 wrote:
>
> Are memory windows supported by the Chelsio T3 adapter? If so, what is
> the verb to bind/unbind them?
>
MWs are supported in ofed-1.4, which is about the beta. The support in
linux/ofed is only for kernel-mode MWs.
Are you doing user mode or kernel mode?
For kernel mode, you allocate a mw with ib_alloc_mw(). And you bind it
with ib_bind_mw(). You can invalidate it by posting a IB_WR_LOCAL_INV
work request to the send queue. Then you can do a subsequent bind.
Deallocate with ib_dealloc_mw().
For user mode, I have a patch series that adds support for MWs, but I
hasn't been submitted yet for group review. Its on my (very long) todo
list. :)
Steve.
More information about the general
mailing list