On Thu, Jul 04, 2024 at 10:31:18AM +0000, Omer Shpigelman wrote: > On 6/13/24 11:22, Omer Shpigelman wrote: > > Add direct verbs (DV) uAPI. > > The added operations are: > > query_port: query vendor specific port attributes. > > set_port_ex: set port extended settings. > > usr_fifo: set user FIFO object for triggering HW doorbells. > > encap: set port encapsulation (UDP/IPv4). > > > > Signed-off-by: Omer Shpigelman <oshpigelman@xxxxxxxxx> > > Co-developed-by: Abhilash K V <kvabhilash@xxxxxxxxx> > > Signed-off-by: Abhilash K V <kvabhilash@xxxxxxxxx> > > Co-developed-by: Andrey Agranovich <aagranovich@xxxxxxxxx> > > Signed-off-by: Andrey Agranovich <aagranovich@xxxxxxxxx> > > Co-developed-by: Bharat Jauhari <bjauhari@xxxxxxxxx> > > Signed-off-by: Bharat Jauhari <bjauhari@xxxxxxxxx> > > Co-developed-by: David Meriin <dmeriin@xxxxxxxxx> > > Signed-off-by: David Meriin <dmeriin@xxxxxxxxx> > > Co-developed-by: Sagiv Ozeri <sozeri@xxxxxxxxx> > > Signed-off-by: Sagiv Ozeri <sozeri@xxxxxxxxx> > > Co-developed-by: Zvika Yehudai <zyehudai@xxxxxxxxx> > > Signed-off-by: Zvika Yehudai <zyehudai@xxxxxxxxx> > > --- > > <..> > > Hi Leon, > > I'd like to ask if it will be possible to add a DV for dumping a QP. The > standard way to dump a QP is with rdma resource tool but it might not be > available for us on all environments. Hence it will be best for us to add > a direct uAPI for exposing this info, similarly to our query port DV. > Will that be acceptable? or maybe is there any other way we can achieve > this ability? I don't know, new rdma-core library with new API will be available, but stdnalone tool which can be statically linked won't. How is it possible? Thanks > > Thanks