diff mbox series

[rdma-core,07/11] pyverbs: Add missing device capabilities

Message ID 20190506150738.19477-8-noaos@mellanox.com (mailing list archive)
State Not Applicable
Headers show
Series Add traffic in pyverbs | expand

Commit Message

Noa Osherovich May 6, 2019, 3:07 p.m. UTC
New device extended capabilities are defined outside the enum. Add
them to pyverbs as well.

Signed-off-by: Noa Osherovich <noaos@mellanox.com>
---
 pyverbs/libibverbs_enums.pxd | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/pyverbs/libibverbs_enums.pxd b/pyverbs/libibverbs_enums.pxd
index b76914208074..85b5092c486f 100644
--- a/pyverbs/libibverbs_enums.pxd
+++ b/pyverbs/libibverbs_enums.pxd
@@ -408,6 +408,9 @@  cdef extern from '<infiniband/verbs.h>':
         IBV_RAW_PACKET_CAP_IP_CSUM          = 1 << 2
         IBV_RAW_PACKET_CAP_DELAY_DROP       = 1 << 3
 
+    cdef unsigned long long IBV_DEVICE_RAW_SCATTER_FCS
+    cdef unsigned long long IBV_DEVICE_PCI_WRITE_END_PADDING
+
 
 cdef extern from "<infiniband/tm_types.h>":
     cpdef enum ibv_tmh_op:
@@ -415,3 +418,6 @@  cdef extern from "<infiniband/tm_types.h>":
         IBV_TMH_RNDV          = 1
         IBV_TMH_FIN           = 2
         IBV_TMH_EAGER         = 3
+
+_IBV_DEVICE_RAW_SCATTER_FCS = IBV_DEVICE_RAW_SCATTER_FCS
+_IBV_DEVICE_PCI_WRITE_END_PADDING = IBV_DEVICE_PCI_WRITE_END_PADDING