Rte_flow Match with Comparison Result - Suanming Mou, NVIDIA Semiconductor

Опубликовано: 29 Май 2026
на канале: DPDK Project
102
0

Rte_flow Match with Comparison Result - Suanming Mou, NVIDIA Semiconductor

Exact or wildcard matches are the two traditional match methods in DPDK rte_flow. These methods involve either matching specific values in packet headers (e.g., IP addresses, ports) or ignoring specific fields while matching others. But if a user wants to match packets with TCP port above a specific value, this is not supported with these two match methods. In this session, we will introduce the newly added RTE_FLOW_ITEM_TYPE_COMPARE item, which addresses the limitations of traditional match methods by providing advanced and flexible matching capabilities. It supports match with various comparative operation results, such as equal to, less than, less than or equal to, greater than, greater than or equal to, and not equal to. This enables range and conditional matching, allowing for more precise traffic management. For example, it can match packets with field values exceeding a certain threshold.