blob: 8c37c2033c5d336791d623ef17db997c8e13ecb0 [file] [log] [blame] [edit]
# SPDX-License-Identifier: (GPL-2.0 OR Linux-OpenIB)
# Copyright (c) 2019 Mellanox Technologies, Inc. All rights reserved. See COPYING file
#cython: language_level=3
from .base cimport PyverbsCM
from pyverbs cimport libibverbs as v
cdef class SGE(PyverbsCM):
cdef v.ibv_sge *sge
cpdef read(self, length, offset)
cdef class RecvWR(PyverbsCM):
cdef v.ibv_recv_wr recv_wr
cdef class SendWR(PyverbsCM):
cdef v.ibv_send_wr send_wr
cdef object ah
cdef copy_sg_array(v.ibv_sge *dst, sg, num_sge)