DPDK  23.07.0
Data Fields
rte_port_in_action_fltr_config Struct Reference

#include <rte_port_in_action.h>

Data Fields

uint32_t key_offset
 
uint8_t key_mask [RTE_PORT_IN_ACTION_FLTR_KEY_SIZE]
 
uint8_t key [RTE_PORT_IN_ACTION_FLTR_KEY_SIZE]
 
int filter_on_match
 
uint32_t port_id
 

Detailed Description

Filter action configuration (per action profile).

Definition at line 76 of file rte_port_in_action.h.

Field Documentation

◆ key_offset

uint32_t key_offset

Key offset within the input packet buffer. Offset 0 points to the first byte of the MBUF structure.

Definition at line 80 of file rte_port_in_action.h.

◆ key_mask

Key mask.

Definition at line 83 of file rte_port_in_action.h.

◆ key

Key value.

Definition at line 86 of file rte_port_in_action.h.

◆ filter_on_match

int filter_on_match

When non-zero, all the input packets that match the key (with the key_mask applied) are sent to the pipeline output port port_id. When zero, all the input packets that do NOT match the key (with key_mask applied) are sent to the pipeline output port port_id.

Definition at line 93 of file rte_port_in_action.h.

◆ port_id

uint32_t port_id

Pipeline output port ID to send the filtered input packets to. Can be updated later.

See also
struct rte_port_in_action_fltr_params

Definition at line 100 of file rte_port_in_action.h.


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