[ofa-general] [PATCH RFC v4 1/2] RDMA/Core: MEM_MGT_EXTENSIONS support

James Lentini jlentini at netapp.com
Wed May 28 14:24:20 PDT 2008



On Tue, 27 May 2008, Steve Wise wrote:

> >  enum ib_send_flags {
> > @@ -676,6 +683,19 @@ struct ib_send_wr {
> >  			u16	pkey_index; /* valid for GSI only */
> >  			u8	port_num;   /* valid for DR SMPs on switch
> > only */
> >  		} ud;
> > +		struct {
> > +			u64				iova_start;
> > +			struct ib_mr 			*mr;
> > +			struct ib_fast_reg_page_list	*page_list;
> > +			unsigned int			page_shift;
> > +			unsigned int			page_list_len;
> > +			unsigned int			first_byte_offset;
> > +			u32				length;
> > +			int				access_flags;
> > +		} fast_reg;
> > +		struct {
> > +			struct ib_mr 	*mr;
> > +		} local_inv;
> >  	} wr;
> >  };
> 
> Ok, while writing a test case for all this jazz, 

Could you post the test case when it is ready? An example of how to 
use this API would be useful. Of course, I realize you are revising 
the API at the moment...



More information about the general mailing list