# SPDX-License-Identifier: (GPL-2.0 OR Linux-OpenIB) # Copyright 2020-2024 Amazon.com, Inc. or its affiliates. All rights reserved. #cython: language_level=3 cimport pyverbs.providers.efa.libefa as dv from pyverbs.addr cimport AH from pyverbs.base cimport PyverbsObject from pyverbs.cq cimport CQEX from pyverbs.device cimport Context from pyverbs.qp cimport QP, QPEx cdef class EfaContext(Context): pass cdef class EfaDVDeviceAttr(PyverbsObject): cdef dv.efadv_device_attr device_attr cdef class EfaAH(AH): pass cdef class EfaDVAHAttr(PyverbsObject): cdef dv.efadv_ah_attr ah_attr cdef class SRDQP(QP): pass cdef class SRDQPEx(QPEx): pass cdef class EfaQPInitAttr(PyverbsObject): cdef dv.efadv_qp_init_attr qp_init_attr cdef class EfaCQ(CQEX): cdef dv.efadv_cq *dv_cq cdef class EfaDVCQInitAttr(PyverbsObject): cdef dv.efadv_cq_init_attr cq_init_attr cdef class EfaDVMRAttr(PyverbsObject): cdef dv.efadv_mr_attr mr_attr