FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | mlx5dv_cqe_t |
struct | mlx5dv_mini_cqe_t |
struct | mlx5dv_wqe_ds_t |
struct | mlx5dv_wqe_srq_next_t |
Macros | |
#define | always_inline static_always_inline |
#define | CQE_FLAG_L4_OK 10 |
#define | CQE_FLAG_L3_OK 9 |
#define | CQE_FLAG_L2_OK 8 |
#define | CQE_FLAG_IP_FRAG 7 |
#define | CQE_FLAG_L4_HDR_TYPE(f) (((f) >> 4) & 7) |
#define | CQE_FLAG_L3_HDR_TYPE_SHIFT (2) |
#define | CQE_FLAG_L3_HDR_TYPE_MASK (3 << CQE_FLAG_L3_HDR_TYPE_SHIFT) |
#define | CQE_FLAG_L3_HDR_TYPE(f) (((f) & CQE_FLAG_L3_HDR_TYPE_MASK) >> CQE_FLAG_L3_HDR_TYPE_SHIFT) |
#define | CQE_FLAG_L3_HDR_TYPE_IP4 1 |
#define | CQE_FLAG_L3_HDR_TYPE_IP6 2 |
#define | CQE_FLAG_IP_EXT_OPTS 1 |
#define | CQE_BC_FILLER_MASK (1 << 31) |
#define | CQE_BC_CONSUMED_STRIDES_SHIFT (16) |
#define | CQE_BC_CONSUMED_STRIDES_MASK (0x3fff << CQE_BC_CONSUMED_STRIDES_SHIFT) |
#define | CQE_BC_BYTE_COUNT_MASK (0xffff) |
#define | foreach_cqe_rx_field |
Functions | |
STATIC_ASSERT_SIZEOF (mlx5dv_cqe_t, 64) | |
static u32 | mlx5_get_u32 (void *start, int offset) |
static u64 | mlx5_get_u64 (void *start, int offset) |
static void | mlx5_set_u32 (void *start, int offset, u32 value) |
static void | mlx5_set_u64 (void *start, int offset, u64 value) |
static void | mlx5_set_bits (void *start, int offset, int first, int last, u32 value) |
static u32 | mlx5_get_bits (void *start, int offset, int first, int last) |
#define always_inline static_always_inline |
Definition at line 23 of file rdma_mlx5dv.h.
#define CQE_BC_BYTE_COUNT_MASK (0xffff) |
Definition at line 43 of file rdma_mlx5dv.h.
#define CQE_BC_CONSUMED_STRIDES_MASK (0x3fff << CQE_BC_CONSUMED_STRIDES_SHIFT) |
Definition at line 42 of file rdma_mlx5dv.h.
#define CQE_BC_CONSUMED_STRIDES_SHIFT (16) |
Definition at line 41 of file rdma_mlx5dv.h.
#define CQE_BC_FILLER_MASK (1 << 31) |
Definition at line 40 of file rdma_mlx5dv.h.
#define CQE_FLAG_IP_EXT_OPTS 1 |
Definition at line 37 of file rdma_mlx5dv.h.
#define CQE_FLAG_IP_FRAG 7 |
Definition at line 30 of file rdma_mlx5dv.h.
#define CQE_FLAG_L2_OK 8 |
Definition at line 29 of file rdma_mlx5dv.h.
#define CQE_FLAG_L3_HDR_TYPE | ( | f | ) | (((f) & CQE_FLAG_L3_HDR_TYPE_MASK) >> CQE_FLAG_L3_HDR_TYPE_SHIFT) |
Definition at line 34 of file rdma_mlx5dv.h.
#define CQE_FLAG_L3_HDR_TYPE_IP4 1 |
Definition at line 35 of file rdma_mlx5dv.h.
#define CQE_FLAG_L3_HDR_TYPE_IP6 2 |
Definition at line 36 of file rdma_mlx5dv.h.
#define CQE_FLAG_L3_HDR_TYPE_MASK (3 << CQE_FLAG_L3_HDR_TYPE_SHIFT) |
Definition at line 33 of file rdma_mlx5dv.h.
#define CQE_FLAG_L3_HDR_TYPE_SHIFT (2) |
Definition at line 32 of file rdma_mlx5dv.h.
#define CQE_FLAG_L3_OK 9 |
Definition at line 28 of file rdma_mlx5dv.h.
Definition at line 31 of file rdma_mlx5dv.h.
#define CQE_FLAG_L4_OK 10 |
Definition at line 27 of file rdma_mlx5dv.h.
#define foreach_cqe_rx_field |
Definition at line 89 of file rdma_mlx5dv.h.
|
inlinestatic |
Definition at line 153 of file rdma_mlx5dv.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 131 of file rdma_mlx5dv.h.
STATIC_ASSERT_SIZEOF | ( | mlx5dv_cqe_t | , |
64 | |||
) |