DPDK  24.03.0
Data Fields
rte_table_action_encap_config Struct Reference

#include <rte_table_action.h>

Data Fields

uint64_t encap_mask
 
union {
   struct {
      uint32_t   data_offset
 
      int   vlan
 
      int   ip_version
 
   }   vxlan
 
}; 
 

Detailed Description

Encap action configuration (per table action profile).

Definition at line 499 of file rte_table_action.h.

Field Documentation

◆ encap_mask

uint64_t encap_mask

Bit mask defining the set of packet encapsulations enabled for the current table action profile. If bit (1 << N) is set in encap_mask, then packet encapsulation N is enabled, otherwise it is disabled.

See also
enum rte_table_action_encap_type

Definition at line 506 of file rte_table_action.h.

◆ data_offset

uint32_t data_offset

Input packet to be encapsulated: offset within the input packet buffer to the start of the Ethernet frame to be encapsulated. Offset 0 points to the first byte of the MBUF structure.

Definition at line 516 of file rte_table_action.h.

◆ vlan

int vlan

Encapsulation header: non-zero when encapsulation header includes a VLAN tag, zero otherwise.

Definition at line 521 of file rte_table_action.h.

◆ ip_version

int ip_version

Encapsulation header: IP version of the IP header within the encapsulation header. Non-zero for IPv4, zero for IPv6.

Definition at line 527 of file rte_table_action.h.

◆ vxlan

struct { ... } vxlan

VXLAN specific configuration.

◆ @383

union { ... }

Encapsulation type specific configuration.


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