diff options
| author | Viacheslav Ovsiienko <[email protected]> | 2024-02-07 14:29:06 +0200 |
|---|---|---|
| committer | Raslan Darawsheh <[email protected]> | 2024-02-20 09:15:30 +0100 |
| commit | d66aa38f431d451ee5a64f78fa019c3712e5d812 (patch) | |
| tree | b7342cd44426c7bb9f9064b707e5267f3afe8820 /lib/ethdev | |
| parent | a8e8e3f237c0673a31132cff4389f94c9ab82dd2 (diff) | |
ethdev: allow modifying IPsec fields
The following IPsec related field definitions added:
- RTE_FLOW_FIELD_ESP_SPI - SPI value in IPsec header
- RTE_FLOW_FIELD_ESP_SEQ_NUM - sequence number in header
- RTE_FLOW_FIELD_ESP_PROTO - next protocol value in trailer
Signed-off-by: Viacheslav Ovsiienko <[email protected]>
Acked-by: Dariusz Sosnowski <[email protected]>
Acked-by: Ori Kam <[email protected]>
Acked-by: Ferruh Yigit <[email protected]>
Diffstat (limited to 'lib/ethdev')
| -rw-r--r-- | lib/ethdev/rte_flow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h index 0325eb12de..38b324e6c7 100644 --- a/lib/ethdev/rte_flow.h +++ b/lib/ethdev/rte_flow.h @@ -2422,6 +2422,9 @@ enum rte_flow_field_id { RTE_FLOW_FIELD_IPV4_TOTAL_LEN, /**< IPv4 total length. */ RTE_FLOW_FIELD_IPV6_PAYLOAD_LEN,/**< IPv6 payload length. */ RTE_FLOW_FIELD_IPV4_PROTO, /**< IPv4 next protocol. */ + RTE_FLOW_FIELD_ESP_SPI, /**< ESP SPI. */ + RTE_FLOW_FIELD_ESP_SEQ_NUM, /**< ESP Sequence Number. */ + RTE_FLOW_FIELD_ESP_PROTO, /**< ESP next protocol value. */ RTE_FLOW_FIELD_RANDOM, /**< Random value. */ }; |
