DPDK  17.11.2
Data Fields
rte_eth_tunnel_filter_conf Struct Reference

#include <rte_eth_ctrl.h>

Data Fields

struct ether_addr outer_mac
 
struct ether_addr inner_mac
 
uint16_t inner_vlan
 
enum rte_tunnel_iptype ip_type
 
union {
   uint32_t   ipv4_addr
 
   uint32_t   ipv6_addr [4]
 
ip_addr
 
uint16_t filter_type
 
enum rte_eth_tunnel_type tunnel_type
 
uint32_t tenant_id
 
uint16_t queue_id
 

Detailed Description

Tunneling Packet filter configuration.

Examples:
examples/tep_termination/vxlan_setup.c.

Definition at line 295 of file rte_eth_ctrl.h.

Field Documentation

◆ outer_mac

struct ether_addr outer_mac

Outer MAC address to match.

Definition at line 296 of file rte_eth_ctrl.h.

◆ inner_mac

struct ether_addr inner_mac

Inner MAC address to match.

Definition at line 297 of file rte_eth_ctrl.h.

◆ inner_vlan

uint16_t inner_vlan

Inner VLAN to match.

Definition at line 298 of file rte_eth_ctrl.h.

◆ ip_type

enum rte_tunnel_iptype ip_type

IP address type.

Definition at line 299 of file rte_eth_ctrl.h.

◆ ipv4_addr

uint32_t ipv4_addr

IPv4 address in big endian.

Definition at line 304 of file rte_eth_ctrl.h.

◆ ipv6_addr

uint32_t ipv6_addr[4]

IPv6 address in big endian.

Definition at line 305 of file rte_eth_ctrl.h.

◆ ip_addr

union { ... } ip_addr

Outer destination IP address to match if ETH_TUNNEL_FILTER_OIP is set in filter_type, or inner destination IP address to match if ETH_TUNNEL_FILTER_IIP is set in filter_type .

◆ filter_type

uint16_t filter_type

Flags from ETH_TUNNEL_FILTER_XX - see above.

Definition at line 308 of file rte_eth_ctrl.h.

◆ tunnel_type

enum rte_eth_tunnel_type tunnel_type

Tunnel Type.

Definition at line 309 of file rte_eth_ctrl.h.

◆ tenant_id

uint32_t tenant_id

Tenant ID to match. VNI, GRE key...

Definition at line 310 of file rte_eth_ctrl.h.

◆ queue_id

uint16_t queue_id

Queue assigned to if match.

Examples:
examples/tep_termination/vxlan_setup.c.

Definition at line 311 of file rte_eth_ctrl.h.


The documentation for this struct was generated from the following file: