DPDK rte_flow Patterns

Link-Inline™ Software Features

Platform
Napatech SmartNIC
Content Type
Feature Description
Capture Software Version
Link-Inline™ Software 3.2

The rte_flow_item structure is used to define pattern matching criteria for a flow rule, which is part of the flow rule specification and contains information about header fields that the rule should match.

Item types in rte_flow_item

This table shows which item types (header fields or protocol) are supported on Napatech SmartNICs running Link-Inline™ Software. This table also includes the related section in the DPDK Programmer's Guide for each field.

Note: Table legend:
  • X: Supported.
  • –: Not supported.
Pattern item type Field Support Section in DPDK Programmer's Guide
END   X 13.2.5.1
VOID   X 13.2.5.2
INVERT   13.2.5.3
PORT_ID   13.2.5.4
MARK   13.2.5.5
TAG   13.2.5.6
META   13.2.5.7
ANY spec.num X 13.2.6.1
last.num
mask.num X
RAW   13.2.6.2
ETH spec.dst X 13.2.6.3
spec.src X
spec.type X
spec.hdr.dst_addr X
spec.hdr.src_addr X
spec.hdr.type X
spec.has_vlan
last
mask X
VLAN spec.tci X 13.2.6.4
spec.inner_type X
spec.hdr.vlan_tci X
spec.hdr.eth_proto X
has_more_vlan X
last
mask X
IPV4 spec.version_ihl 13.2.6.5
spec.tos
spec.length
spec.frag_offset
spec.ttl
spec.next_proto_id
spec.hdr_csum
spec.src_ip X
spec.dst_ip X
last
mask X
IPV6 spec.vtc_flow 13.2.6.6
spec.payload_len
spec.proto
spec.hdr.hop_limits
spec.src_ip X
spec.dst_ip X
last
mask X
ICMP spec.icmp_type 13.2.6.7
spec.icmp_code
spec.icmp_cksum
spec.icmp_ident
spec.icmp_seq_nb
last
mask
UDP spec.src_port X 13.2.6.8
spec.dst_port X
spec.dgram_len
spec.dgram_cksum
last
mask X
TCP spec.src_port X 13.2.6.9
spec.dst_port X
spec.sent_seq
spec.recv_ack
spec.data_off
spec.tcp_flags
spec.rx_win
spec.cksum
spec.tcp_urp
last
mask X
SCTP spec.src_port X 13.2.6.10
spec.dst_port X
spec.tag
spec.cksum
last
mask X
VXLAN spec.src_port 13.2.6.11
spec.dst_port
spec.tag
spec.cksum
last
mask
E_TAG   13.2.6.12
NVGRE   13.2.6.13
MPLS   13.2.6.14
GRE   13.2.6.15
GRE_KEY   13.2.6.16
GRE_OPTION   13.2.6.17
FUZZY   13.2.6.18
GTP   13.2.6.19
GTPC   13.2.6.19
GTPU   13.2.6.19
ESP   13.2.6.20
GENEVE   13.2.6.21
VXLAN-GPE   13.2.6.22
ARP_ETH_IPV4   13.2.6.23
IPV6_EXT   13.2.6.24
IPV6_FRAG_EXT   13.2.6.25
ICMP6   13.2.6.26
ICMP6_ND_NS   13.2.6.27
ICMP6_ND_NA   13.2.6.28
ICMP6_ND_OPT   13.2.6.29
ICMP6_ND_OPT_SLA_ETH   13.2.6.30
ICMP6_ND_OPT_TLA_ETH   13.2.6.31
META   13.2.6.32
GTP_PSC   13.2.6.33
PPPOES   13.2.6.33
PPPOED   13.2.6.34
PPPOE_PROTO_ID   13.2.6.35
NSH   13.2.6.36
IGMP   13.2.6.37
AH   13.2.6.38
HIGIG2   13.2.6.39
L2TPV3OIP   13.2.6.40
PFCP   13.2.6.41
ECPRI   13.2.6.42
INTEGRITY   13.2.6.43
CONNTRACK   13.2.6.44
PORT_REPRESENTOR   13.2.6.45
REPRESENTED_PORT   13.2.6.46
FLEX   13.2.6.47
L2TPV2   13.2.6.48
PPP   13.2.6.49
METER_COLOR   13.2.6.50
Related links: