RDMA/erdma: Add event queue implementation
authorCheng Xu <chengyou@linux.alibaba.com>
Wed, 27 Jul 2022 01:49:21 +0000 (09:49 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 27 Jul 2022 18:54:39 +0000 (15:54 -0300)
commitf2a0a630b953451a59a2612ad8c29246638f0a38
treee6a9ce7b2450165a1c9fe8fe42655d01a432a6d0
parent2af541bf8e32ee73f17fb28e2b3766a96b7311e5
RDMA/erdma: Add event queue implementation

Event queue (EQ) is the main notification way from erdma hardware to its
driver. Each erdma device contains 2 kinds EQs: asynchronous EQ (AEQ) and
completion EQ (CEQ). Per device has 1 AEQ, which used for RDMA async event
report, and max to 32 CEQs (numbered for CEQ0 to CEQ31). CEQ0 is used for
cmdq completion event report, and the rest CEQs are used for RDMA
completion event report.

Link: https://lore.kernel.org/r/20220727014927.76564-6-chengyou@linux.alibaba.com
Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/erdma/erdma_eq.c [new file with mode: 0644]