DPDK  24.03.0
Data Fields
rte_eth_fdir_info Struct Reference

#include <rte_eth_ctrl.h>

Data Fields

enum rte_fdir_mode mode
 
struct rte_eth_fdir_flex_conf flex_conf
 
uint32_t guarant_spc
 
uint32_t best_spc
 
uint64_t flow_types_mask [RTE_FLOW_MASK_ARRAY_SIZE]
 
uint32_t max_flexpayload
 
uint32_t flex_payload_unit
 
uint32_t max_flex_payload_segment_num
 
uint16_t flex_payload_limit
 
uint32_t flex_bitmask_unit
 
uint32_t max_flex_bitmask_num
 

Detailed Description

A structure used to get the information of flow director filter. It supports RTE_ETH_FILTER_FDIR with RTE_ETH_FILTER_INFO operation. It includes the mode, flexible payload configuration information, capabilities and supported flow types, flexible payload characters. It can be gotten to help taking specific configurations per device.

Definition at line 444 of file rte_eth_ctrl.h.

Field Documentation

◆ mode

enum rte_fdir_mode mode

Flow director mode

Definition at line 445 of file rte_eth_ctrl.h.

◆ flex_conf

struct rte_eth_fdir_flex_conf flex_conf

Flex payload configuration information

Definition at line 448 of file rte_eth_ctrl.h.

◆ guarant_spc

uint32_t guarant_spc

Guaranteed spaces.

Definition at line 449 of file rte_eth_ctrl.h.

◆ best_spc

uint32_t best_spc

Best effort spaces.

Definition at line 450 of file rte_eth_ctrl.h.

◆ flow_types_mask

uint64_t flow_types_mask[RTE_FLOW_MASK_ARRAY_SIZE]

Bit mask for every supported flow type.

Definition at line 452 of file rte_eth_ctrl.h.

◆ max_flexpayload

uint32_t max_flexpayload

Total flex payload in bytes.

Definition at line 453 of file rte_eth_ctrl.h.

◆ flex_payload_unit

uint32_t flex_payload_unit

Flexible payload unit in bytes. Size and alignments of all flex payload segments should be multiplies of this value.

Definition at line 456 of file rte_eth_ctrl.h.

◆ max_flex_payload_segment_num

uint32_t max_flex_payload_segment_num

Max number of flexible payload continuous segments. Each segment should be a multiple of flex_payload_unit.

Definition at line 459 of file rte_eth_ctrl.h.

◆ flex_payload_limit

uint16_t flex_payload_limit

Maximum src_offset in bytes allowed. It indicates that src_offset[i] in struct rte_eth_flex_payload_cfg should be less than this value.

Definition at line 463 of file rte_eth_ctrl.h.

◆ flex_bitmask_unit

uint32_t flex_bitmask_unit

Flex bitmask unit in bytes. Size of flex bitmasks should be a multiply of this value.

Definition at line 466 of file rte_eth_ctrl.h.

◆ max_flex_bitmask_num

uint32_t max_flex_bitmask_num

Max supported size of flex bitmasks in flex_bitmask_unit

Definition at line 468 of file rte_eth_ctrl.h.


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