Go to the source code of this file.
◆ af_xdp_device_error
#define af_xdp_device_error |
( |
|
dev, |
|
|
|
fmt, |
|
|
|
... |
|
) |
| |
Value: { \
clib_error_free(err_); \
}
#define clib_error_return_unix(e, args...)
#define clib_atomic_bool_cmp_and_swap(addr, old, new)
Definition at line 44 of file af_xdp.h.
◆ af_xdp_log
#define af_xdp_log |
( |
|
lvl, |
|
|
|
dev, |
|
|
|
f, |
|
|
|
... |
|
) |
| vlib_log(lvl, af_xdp_main.log_class, "%v: " f, (dev)->name, ##__VA_ARGS__) |
◆ AF_XDP_NUM_RX_QUEUES_ALL
#define AF_XDP_NUM_RX_QUEUES_ALL ((u16)-1) |
◆ foreach_af_xdp_device_flags
#define foreach_af_xdp_device_flags |
Value:_(0, INITIALIZED, "initialized") \
_(1, ERROR, "error") \
_(2, ADMIN_UP, "admin-up") \
_(4, LINK_UP, "link-up") \
_(8, ZEROCOPY, "zero-copy") \
Definition at line 30 of file af_xdp.h.
◆ foreach_af_xdp_tx_func_error
#define foreach_af_xdp_tx_func_error |
Value:_(NO_FREE_SLOTS, "no free tx slots") \
_(SENDTO_REQUIRED, "sendto required") \
_(SENDTO_FAILURES, "sendto failures")
Definition at line 164 of file af_xdp.h.
◆ anonymous enum
Enumerator |
---|
foreach_af_xdp_device_flags | |
Definition at line 37 of file af_xdp.h.
◆ af_xdp_mode_t
Enumerator |
---|
AF_XDP_MODE_AUTO | |
AF_XDP_MODE_COPY | |
AF_XDP_MODE_ZERO_COPY | |
Definition at line 121 of file af_xdp.h.
◆ af_xdp_tx_func_error_t
Enumerator |
---|
AF_XDP_TX_N_ERROR | |
Definition at line 169 of file af_xdp.h.
◆ af_xdp_create_if()
◆ af_xdp_delete_if()
◆ af_xdp_device_class
◆ af_xdp_input_node
(constructor) VLIB_REGISTER_NODE (af_xdp_input_node)
Definition at line 349 of file input.c.
◆ af_xdp_main
◆ format_af_xdp_device
◆ format_af_xdp_device_name
◆ format_af_xdp_input_trace
◆ unformat_af_xdp_create_if_args