DPDK
18.11.11
|
Go to the source code of this file.
Data Structures | |
struct | rte_eth_mac_filter |
struct | rte_eth_ethertype_filter |
struct | rte_eth_flex_filter |
struct | rte_eth_syn_filter |
struct | rte_eth_ntuple_filter |
struct | rte_eth_tunnel_filter_conf |
struct | rte_eth_global_cfg |
struct | rte_eth_input_set_conf |
struct | rte_eth_l2_flow |
struct | rte_eth_ipv4_flow |
struct | rte_eth_udpv4_flow |
struct | rte_eth_tcpv4_flow |
struct | rte_eth_sctpv4_flow |
struct | rte_eth_ipv6_flow |
struct | rte_eth_udpv6_flow |
struct | rte_eth_tcpv6_flow |
struct | rte_eth_sctpv6_flow |
struct | rte_eth_mac_vlan_flow |
struct | rte_eth_tunnel_flow |
union | rte_eth_fdir_flow |
struct | rte_eth_fdir_flow_ext |
struct | rte_eth_fdir_input |
struct | rte_eth_fdir_action |
struct | rte_eth_fdir_filter |
struct | rte_eth_fdir_masks |
struct | rte_eth_flex_payload_cfg |
struct | rte_eth_fdir_flex_mask |
struct | rte_eth_fdir_flex_conf |
struct | rte_eth_fdir_info |
struct | rte_eth_fdir_stats |
struct | rte_eth_fdir_filter_info |
struct | rte_eth_hash_global_conf |
struct | rte_eth_hash_filter_info |
struct | rte_eth_l2_tunnel_conf |
Macros | |
#define | RTE_ETH_FLOW_PORT 18 |
#define | RTE_ETH_FLOW_VXLAN 19 |
#define | RTE_ETH_FLOW_GENEVE 20 |
#define | RTE_ETH_FLOW_NVGRE 21 |
#define | RTE_ETH_FLOW_VXLAN_GPE 22 |
#define | RTE_ETHTYPE_FLAGS_MAC 0x0001 |
#define | RTE_ETHTYPE_FLAGS_DROP 0x0002 |
#define | RTE_FLEX_FILTER_MAXLEN 128 |
#define | RTE_FLEX_FILTER_MASK_SIZE (RTE_ALIGN(RTE_FLEX_FILTER_MAXLEN, CHAR_BIT) / CHAR_BIT) |
#define | RTE_NTUPLE_FLAGS_DST_IP 0x0001 |
#define | RTE_NTUPLE_FLAGS_SRC_IP 0x0002 |
#define | RTE_NTUPLE_FLAGS_DST_PORT 0x0004 |
#define | RTE_NTUPLE_FLAGS_SRC_PORT 0x0008 |
#define | RTE_NTUPLE_FLAGS_PROTO 0x0010 |
#define | RTE_NTUPLE_FLAGS_TCP_FLAG 0x0020 |
#define | ETH_TUNNEL_FILTER_OMAC 0x01 |
#define | ETH_TUNNEL_FILTER_OIP 0x02 |
#define | ETH_TUNNEL_FILTER_TENID 0x04 |
#define | ETH_TUNNEL_FILTER_IMAC 0x08 |
#define | ETH_TUNNEL_FILTER_IVLAN 0x10 |
#define | ETH_TUNNEL_FILTER_IIP 0x20 |
#define | RTE_ETH_FDIR_MAX_FLEXLEN 16 |
#define | RTE_ETH_INSET_SIZE_MAX 128 |
Ethernet device features and related data structures used by control APIs should be defined in this file.
Definition in file rte_eth_ctrl.h.
#define RTE_ETH_FLOW_PORT 18 |
Consider device port number as a flow differentiator
Definition at line 52 of file rte_eth_ctrl.h.
#define RTE_ETH_FLOW_VXLAN 19 |
VXLAN protocol based flow
Definition at line 54 of file rte_eth_ctrl.h.
#define RTE_ETH_FLOW_GENEVE 20 |
GENEVE protocol based flow
Definition at line 55 of file rte_eth_ctrl.h.
#define RTE_ETH_FLOW_NVGRE 21 |
NVGRE protocol based flow
Definition at line 56 of file rte_eth_ctrl.h.
#define RTE_ETH_FLOW_VXLAN_GPE 22 |
VXLAN-GPE protocol based flow
Definition at line 57 of file rte_eth_ctrl.h.
#define RTE_ETHTYPE_FLAGS_MAC 0x0001 |
Define all structures for Ethertype Filter type.If set, compare mac
Definition at line 120 of file rte_eth_ctrl.h.
#define RTE_ETHTYPE_FLAGS_DROP 0x0002 |
If set, drop packet when match
Definition at line 121 of file rte_eth_ctrl.h.
#define RTE_FLEX_FILTER_MAXLEN 128 |
bytes to use in flex filter.
Definition at line 135 of file rte_eth_ctrl.h.
#define RTE_FLEX_FILTER_MASK_SIZE (RTE_ALIGN(RTE_FLEX_FILTER_MAXLEN, CHAR_BIT) / CHAR_BIT) |
mask bytes in flex filter.
Definition at line 136 of file rte_eth_ctrl.h.
#define RTE_NTUPLE_FLAGS_DST_IP 0x0001 |
Define all structures for ntuple Filter type.If set, dst_ip is part of ntuple
Definition at line 169 of file rte_eth_ctrl.h.
#define RTE_NTUPLE_FLAGS_SRC_IP 0x0002 |
If set, src_ip is part of ntuple
Definition at line 170 of file rte_eth_ctrl.h.
#define RTE_NTUPLE_FLAGS_DST_PORT 0x0004 |
If set, dst_port is part of ntuple
Definition at line 171 of file rte_eth_ctrl.h.
#define RTE_NTUPLE_FLAGS_SRC_PORT 0x0008 |
If set, src_port is part of ntuple
Definition at line 172 of file rte_eth_ctrl.h.
#define RTE_NTUPLE_FLAGS_PROTO 0x0010 |
If set, protocol is part of ntuple
Definition at line 173 of file rte_eth_ctrl.h.
#define RTE_NTUPLE_FLAGS_TCP_FLAG 0x0020 |
If set, tcp flag is involved
Definition at line 174 of file rte_eth_ctrl.h.
#define ETH_TUNNEL_FILTER_OMAC 0x01 |
filter type of tunneling packetfilter by outer MAC addr
Definition at line 238 of file rte_eth_ctrl.h.
#define ETH_TUNNEL_FILTER_OIP 0x02 |
filter by outer IP Addr
Definition at line 239 of file rte_eth_ctrl.h.
#define ETH_TUNNEL_FILTER_TENID 0x04 |
filter by tenant ID
Definition at line 240 of file rte_eth_ctrl.h.
#define ETH_TUNNEL_FILTER_IMAC 0x08 |
filter by inner MAC addr
Definition at line 241 of file rte_eth_ctrl.h.
#define ETH_TUNNEL_FILTER_IVLAN 0x10 |
filter by inner VLAN ID
Definition at line 242 of file rte_eth_ctrl.h.
#define ETH_TUNNEL_FILTER_IIP 0x20 |
filter by inner IP addr
Definition at line 243 of file rte_eth_ctrl.h.
#define RTE_ETH_FDIR_MAX_FLEXLEN 16 |
Max length of flexbytes.
Definition at line 306 of file rte_eth_ctrl.h.
#define RTE_ETH_INSET_SIZE_MAX 128 |
Max length of input set.
Definition at line 307 of file rte_eth_ctrl.h.
enum rte_filter_type |
Feature filter types
Definition at line 63 of file rte_eth_ctrl.h.
enum rte_filter_op |
Generic operations on filters
Definition at line 81 of file rte_eth_ctrl.h.
enum rte_mac_filter_type |
MAC filter type
Definition at line 98 of file rte_eth_ctrl.h.
enum rte_eth_tunnel_type |
Tunneled type.
Definition at line 224 of file rte_eth_ctrl.h.
enum rte_tunnel_iptype |
Select IPv4 or IPv6 for tunnel filters.
Enumerator | |
---|---|
RTE_TUNNEL_IPTYPE_IPV4 |
IPv4. |
RTE_TUNNEL_IPTYPE_IPV6 |
IPv6. |
Definition at line 259 of file rte_eth_ctrl.h.
Global eth device configuration type.
Definition at line 289 of file rte_eth_ctrl.h.
Input set fields for Flow Director and Hash filters
Definition at line 312 of file rte_eth_ctrl.h.
Filters input set operations
Enumerator | |
---|---|
RTE_ETH_INPUT_SET_SELECT |
select input set |
RTE_ETH_INPUT_SET_ADD |
add input set entry |
Definition at line 368 of file rte_eth_ctrl.h.
Tunnel type for flow director.
Definition at line 482 of file rte_eth_ctrl.h.
Behavior will be taken if FDIR match
Definition at line 542 of file rte_eth_ctrl.h.
enum rte_eth_fdir_status |
Flow director report status It defines what will be reported if FDIR entry is matched.
Definition at line 552 of file rte_eth_ctrl.h.
enum rte_eth_payload_type |
Payload type
Definition at line 610 of file rte_eth_ctrl.h.
enum rte_fdir_mode |
Flow Director setting modes: none, signature or perfect.
Definition at line 658 of file rte_eth_ctrl.h.
Flow Director filter information types.
Enumerator | |
---|---|
RTE_ETH_FDIR_FILTER_INPUT_SET_SELECT |
Flow Director filter input set configuration |
Definition at line 726 of file rte_eth_ctrl.h.
Hash filter information types.
Definition at line 756 of file rte_eth_ctrl.h.
Hash function types.
Enumerator | |
---|---|
RTE_ETH_HASH_FUNCTION_TOEPLITZ |
Toeplitz |
RTE_ETH_HASH_FUNCTION_SIMPLE_XOR |
Simple XOR |
Definition at line 770 of file rte_eth_ctrl.h.