Re: [RFC] Vendor-specific QPs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 02, 2017 at 02:01:58PM -0600, Jason Gunthorpe wrote:
> On Mon, Oct 30, 2017 at 03:23:24PM +0000, Alex Margolin wrote:
>
> > We propose using the "reserved" range of QP types to serve the
> > vendor-specific implementation, both within the Verbs API (API patch
> > below) and the IB subsystem (ib_core). The solution requires minor
> > changes to IB core, namely removing some restrictions that apply to
> > standard QPs at creation, but most of the flow (and the one for
> > modify and destroy) remains identical.
>
> > The changes to support such QPs will remain in the vendor-specific
> > area of the API, i.e. Mellanox "Direct Verbs" portion, and the
> > change in ib_core is to use specific IB_QPT_RESERVED* definitions to
> > cut through some of the required checks (but still using most of the
> > logic, where applicable). No change to libibverbs is required.
>
> Don't like the idea of a generic RESERVED.
>
> Add a type called IB_QPT_DIRECT_VERBS and put any other information

+1
If we go in this route, it will be much easier for me to present QP types.

root@mtr-leonro:~# /mnt/iproute2/rdma/rdma res show qp dev mlx5_1
QPN	DEV	USER/KERNEL	TYPE	STATE	PID	COMM
8	mlx5_1	USER		UD	RESET	1	rdma
7	mlx5_1	USER		UD	RTS	1	rdma
1	mlx5_1	USER		GSI	RTS	1	rdma
1	mlx5_1	USER		GSI	RTS	1	rdma
0	mlx5_1	USER		SMI	RTS	1	rdma

Thanks

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux