FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | mlx5dv_cqe_t |
struct | mlx5dv_mini_cqe_t |
struct | mlx5dv_rwq_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 | 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_FLAG_IP_EXT_OPTS 1 |
Definition at line 36 of file rdma_mlx5dv.h.
#define CQE_FLAG_IP_FRAG 7 |
Definition at line 29 of file rdma_mlx5dv.h.
#define CQE_FLAG_L2_OK 8 |
Definition at line 28 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 33 of file rdma_mlx5dv.h.
#define CQE_FLAG_L3_HDR_TYPE_IP4 1 |
Definition at line 34 of file rdma_mlx5dv.h.
#define CQE_FLAG_L3_HDR_TYPE_IP6 2 |
Definition at line 35 of file rdma_mlx5dv.h.
#define CQE_FLAG_L3_HDR_TYPE_MASK (3 << CQE_FLAG_L3_HDR_TYPE_SHIFT) |
Definition at line 32 of file rdma_mlx5dv.h.
#define CQE_FLAG_L3_HDR_TYPE_SHIFT (2) |
Definition at line 31 of file rdma_mlx5dv.h.
#define CQE_FLAG_L3_OK 9 |
Definition at line 27 of file rdma_mlx5dv.h.
#define CQE_FLAG_L4_HDR_TYPE | ( | f | ) | (((f) >> 4) & 7) |
Definition at line 30 of file rdma_mlx5dv.h.
#define CQE_FLAG_L4_OK 10 |
Definition at line 26 of file rdma_mlx5dv.h.
#define foreach_cqe_rx_field |
Definition at line 73 of file rdma_mlx5dv.h.
|
inlinestatic |
Definition at line 137 of file rdma_mlx5dv.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 115 of file rdma_mlx5dv.h.
STATIC_ASSERT_SIZEOF | ( | mlx5dv_cqe_t | , |
64 | |||
) |