DPDK  2.0.0
Data Fields
rte_fdir_masks Struct Reference

#include <rte_ethdev.h>

Data Fields

uint8_t only_ip_flow
uint8_t vlan_id
uint8_t vlan_prio
uint8_t flexbytes
uint8_t set_ipv6_mask
uint8_t comp_ipv6_dst
uint32_t dst_ipv4_mask
uint32_t src_ipv4_mask
uint16_t dst_ipv6_mask
uint16_t src_ipv6_mask
uint16_t src_port_mask
uint16_t dst_port_mask

Detailed Description

A structure used to configure FDIR masks that are used by the device to match the various fields of RX packet headers.

Note
The only_ip_flow field has the opposite meaning compared to other masks!

Field Documentation

uint8_t comp_ipv6_dst

When set to 1, comparison of destination IPv6 address with IP6AT registers is meaningful.

uint32_t dst_ipv4_mask

Mask of Destination IPv4 Address. All bits set to 1 define the relevant bits to use in the destination address of an IPv4 packet when matching it against FDIR filters.

uint16_t dst_ipv6_mask

Mask of Source IPv6 Address. All bits set to 1 define the relevant BYTES to use in the source address of an IPv6 packet when matching it against FDIR filters.

uint16_t dst_port_mask

Mask of Destination Port. All bits set to 1 define the relevant bits to use in the destination port of an IP packet when matching it against FDIR filters.

uint8_t flexbytes

If set to 1, flexbytes is relevant in filters.

uint8_t only_ip_flow

When set to 1, packet l4type is NOT relevant in filters, and source and destination port masks must be set to zero.

uint8_t set_ipv6_mask

If set to 1, set the IPv6 masks. Otherwise set the IPv4 masks.

uint32_t src_ipv4_mask

Mask of Source IPv4 Address. All bits set to 1 define the relevant bits to use in the source address of an IPv4 packet when matching it against FDIR filters.

uint16_t src_ipv6_mask

Mask of Destination IPv6 Address. All bits set to 1 define the relevant BYTES to use in the destination address of an IPv6 packet when matching it against FDIR filters.

uint16_t src_port_mask

Mask of Source Port. All bits set to 1 define the relevant bits to use in the source port of an IP packets when matching it against FDIR filters.

uint8_t vlan_id

If set to 1, vlan_id is relevant in filters.

uint8_t vlan_prio

If set to 1, vlan_prio is relevant in filters.


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