OSDN Git Service

RDMA/irdma: Add QoS definitions
authorMustafa Ismail <mustafa.ismail@intel.com>
Wed, 2 Jun 2021 20:51:28 +0000 (15:51 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 2 Jun 2021 22:55:17 +0000 (19:55 -0300)
commit3ae331c75128fc65abc5a656eeb22d8a7803762d
treed0f193e0d94fd1919471ef3dd10e172a97a09bd1
parenta3a06db504d30d46875eb4ebc89568dde841d64d
RDMA/irdma: Add QoS definitions

Add definitions for managing the RDMA HW work scheduler (WS) tree.

A WS node is created via a control QP operation with the bandwidth
allocation, arbitration scheme, and traffic class of the QP specified.
The Qset handle returned associates the QoS parameters for the QP.
The Qset is registered with the LAN and an equivalent node is created
in the LAN packet scheduler tree.

Link: https://lore.kernel.org/r/20210602205138.889-7-shiraz.saleem@intel.com
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/irdma/ws.c [new file with mode: 0644]
drivers/infiniband/hw/irdma/ws.h [new file with mode: 0644]