CNDP
22.08.0
|
#include <stdint.h>
#include <sys/types.h>
#include <stdbool.h>
#include <pktmbuf.h>
#include <cne_common.h>
Go to the source code of this file.
Macros | |
#define | LPORT_UNPRIVILEGED (1 << 0) |
#define | LPORT_FORCE_WAKEUP (1 << 1) |
#define | LPORT_SKB_MODE (1 << 2) |
#define | LPORT_BUSY_POLLING (1 << 3) |
#define | LPORT_SHARED_UMEM (1 << 4) |
#define | LPORT_USER_MANAGED_BUFFERS (1 << 5) |
#define | LPORT_UMEM_UNALIGNED_BUFFERS (1 << 6) |
Typedefs | |
typedef struct lport_cfg | lport_cfg_t |
lport configuration structure and information on lports.
Definition in file cne_lport.h.
#define LPORT_UNPRIVILEGED (1 << 0) |
Inhibit Loading the BPF program & config of busy poll
Definition at line 92 of file cne_lport.h.
#define LPORT_FORCE_WAKEUP (1 << 1) |
Force a wakeup, for CVL NICs
Definition at line 93 of file cne_lport.h.
#define LPORT_SKB_MODE (1 << 2) |
Force the SKB_MODE or copy mode
Definition at line 94 of file cne_lport.h.
#define LPORT_BUSY_POLLING (1 << 3) |
Enable busy polling
Definition at line 95 of file cne_lport.h.
#define LPORT_SHARED_UMEM (1 << 4) |
Enable UMEM Shared mode if available
Definition at line 96 of file cne_lport.h.
#define LPORT_USER_MANAGED_BUFFERS (1 << 5) |
Enable Buffer Manager outside of CNDP
Definition at line 97 of file cne_lport.h.
#define LPORT_UMEM_UNALIGNED_BUFFERS (1 << 6) |
Enable unaligned frame UMEM support
Definition at line 98 of file cne_lport.h.
typedef struct lport_cfg lport_cfg_t |
lport_cfg.flags configuration bits