File: wq.pxd

package info (click to toggle)
rdma-core 56.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,196 kB
  • sloc: ansic: 171,361; python: 13,724; sh: 2,774; perl: 1,465; makefile: 73
file content (41 lines) | stat: -rw-r--r-- 1,034 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# SPDX-License-Identifier: (GPL-2.0 OR Linux-OpenIB)
# Copyright (c) 2021 Nvidia Inc. All rights reserved. See COPYING file

#cython: language_level=3

from pyverbs.base cimport PyverbsObject, PyverbsCM
from pyverbs.device cimport Context
cimport pyverbs.libibverbs as v
from pyverbs.cq cimport CQ
from pyverbs.pd cimport PD


cdef class WQInitAttr(PyverbsObject):
    cdef v.ibv_wq_init_attr attr
    cdef PD pd
    cdef object cq

cdef class WQAttr(PyverbsObject):
    cdef v.ibv_wq_attr attr

cdef class WQ(PyverbsCM):
    cdef v.ibv_wq *wq
    cdef Context context
    cdef PD pd
    cdef object cq
    cdef object rwq_ind_tables
    cpdef add_ref(self, obj)

cdef class RwqIndTableInitAttr(PyverbsObject):
    cdef v.ibv_rwq_ind_table_init_attr attr
    cdef object wqs_list

cdef class RwqIndTable(PyverbsCM):
    cdef v.ibv_rwq_ind_table *rwq_ind_table
    cdef Context context
    cdef object wqs
    cdef object qps
    cpdef add_ref(self, obj)

cdef class RxHashConf(PyverbsObject):
    cdef v.ibv_rx_hash_conf rx_hash_conf