Go to the source code of this file.
|
static const struct rte_flow_attr | ingress = {.ingress = 1 } |
|
◆ BIT_IS_SET
#define BIT_IS_SET |
( |
|
v, |
|
|
|
b |
|
) |
| ((v) & (u64)1<<(b)) |
◆ FLOW_HAS_VLAN_TAG
#define FLOW_HAS_VLAN_TAG |
( |
|
f | ) |
|
Value:((f->type == VNET_FLOW_TYPE_IP4_N_TUPLE_TAGGED) || \
(f->type == VNET_FLOW_TYPE_IP6_N_TUPLE_TAGGED))
Definition at line 50 of file flow.c.
◆ FLOW_IS_ETHERNET_CLASS
#define FLOW_IS_ETHERNET_CLASS |
( |
|
f | ) |
(f->type == VNET_FLOW_TYPE_ETHERNET) |
◆ FLOW_IS_IPV4_CLASS
#define FLOW_IS_IPV4_CLASS |
( |
|
f | ) |
|
Value:((f->type == VNET_FLOW_TYPE_IP4) || \
(f->type == VNET_FLOW_TYPE_IP4_N_TUPLE) || \
(f->type == VNET_FLOW_TYPE_IP4_N_TUPLE_TAGGED) || \
(f->type == VNET_FLOW_TYPE_IP4_VXLAN) || \
(f->type == VNET_FLOW_TYPE_IP4_GTPC) || \
(f->type == VNET_FLOW_TYPE_IP4_GTPU) || \
(f->type == VNET_FLOW_TYPE_IP4_L2TPV3OIP) || \
(f->type == VNET_FLOW_TYPE_IP4_IPSEC_ESP) || \
(f->type == VNET_FLOW_TYPE_IP4_IPSEC_AH))
Definition at line 32 of file flow.c.
◆ FLOW_IS_IPV6_CLASS
#define FLOW_IS_IPV6_CLASS |
( |
|
f | ) |
|
Value:((f->type == VNET_FLOW_TYPE_IP6) || \
(f->type == VNET_FLOW_TYPE_IP6_N_TUPLE) || \
(f->type == VNET_FLOW_TYPE_IP6_N_TUPLE_TAGGED) || \
(f->type == VNET_FLOW_TYPE_IP6_VXLAN))
Definition at line 43 of file flow.c.
◆ FLOW_IS_L3_TYPE
#define FLOW_IS_L3_TYPE |
( |
|
f | ) |
|
Value:((f->type == VNET_FLOW_TYPE_IP4) || \
(f->type == VNET_FLOW_TYPE_IP6))
Definition at line 55 of file flow.c.
◆ FLOW_IS_L4_TUNNEL_TYPE
#define FLOW_IS_L4_TUNNEL_TYPE |
( |
|
f | ) |
|
Value:((f->type == VNET_FLOW_TYPE_IP4_VXLAN) || \
(f->type == VNET_FLOW_TYPE_IP6_VXLAN) || \
(f->type == VNET_FLOW_TYPE_IP4_GTPC) || \
(f->type == VNET_FLOW_TYPE_IP4_GTPU))
Definition at line 67 of file flow.c.
◆ FLOW_IS_L4_TYPE
#define FLOW_IS_L4_TYPE |
( |
|
f | ) |
|
Value:((f->type == VNET_FLOW_TYPE_IP4_N_TUPLE) || \
(f->type == VNET_FLOW_TYPE_IP6_N_TUPLE) || \
(f->type == VNET_FLOW_TYPE_IP4_N_TUPLE_TAGGED) || \
(f->type == VNET_FLOW_TYPE_IP6_N_TUPLE_TAGGED))
Definition at line 60 of file flow.c.
◆ dpdk_flow_add()
◆ dpdk_flow_convert_rss_func()
◆ dpdk_flow_convert_rss_types()
static void dpdk_flow_convert_rss_types |
( |
u64 |
type, |
|
|
u64 * |
dpdk_rss_type |
|
) |
| |
|
inlinestatic |
◆ dpdk_flow_ops_fn()
◆ format_dpdk_flow()
u8* format_dpdk_flow |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ mac_address_is_all_zero()
static bool mac_address_is_all_zero |
( |
const u8 |
addr[6] | ) |
|
|
inlinestatic |
◆ ingress
const struct rte_flow_attr ingress = {.ingress = 1 } |
|
static |