[ofa-general] [PATCH] infiniband: add support for invalidate stag

Steve Wise swise at opengridcomputing.com
Mon Apr 30 18:50:16 PDT 2007


Mike, This is a good start!

I suggest:

- posting the libibverbs patch needed to support user mode send/inv
- posting the ammasso patch as an example of how iwarp providers support
this.

Thanks for stepping forward and helping out with the iWARP work!  We
need it.  


Steve.


On Mon, 2007-04-30 at 16:07 -0400, mhagen at iol.unh.edu wrote:
> Patch to add support for the iWARP verbs SEND with INV and SEND with SE
> and INV.
> 
> --- linux-2.6.21.1/include/rdma/ib_verbs.h    2007-04-28
> 15:35:02.677618096 -0400
> +++ linux-2.6.21.1/include/rdma/ib_verbs.h    2007-04-28
> 15:29:16.200290656 -0400
> @@ -611,7 +611,8 @@ enum ib_send_flags {
>      IB_SEND_FENCE        = 1,
>      IB_SEND_SIGNALED    = (1<<1),
>      IB_SEND_SOLICITED    = (1<<2),
> -    IB_SEND_INLINE        = (1<<3)
> +    IB_SEND_INLINE        = (1<<3),
> +    IB_SEND_INVALIDATE    = (1<<4)
>  };
> 
>  struct ib_sge {
> @@ -646,6 +647,9 @@ struct ib_send_wr {
>              u16    pkey_index; /* valid for GSI only */
>              u8    port_num;   /* valid for DR SMPs on switch only */
>          } ud;
> +        struct {
> +            u32    rkey;
> +        } invalidate;
>      } wr;
>  };
> 




More information about the general mailing list