summaryrefslogtreecommitdiffstats
path: root/src/dpdk22/lib/librte_ether
diff options
context:
space:
mode:
Diffstat (limited to 'src/dpdk22/lib/librte_ether')
-rw-r--r--src/dpdk22/lib/librte_ether/rte_eth_ctrl.h6
-rw-r--r--src/dpdk22/lib/librte_ether/rte_ethdev.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/dpdk22/lib/librte_ether/rte_eth_ctrl.h b/src/dpdk22/lib/librte_ether/rte_eth_ctrl.h
index ce224adb..dc26439d 100644
--- a/src/dpdk22/lib/librte_ether/rte_eth_ctrl.h
+++ b/src/dpdk22/lib/librte_ether/rte_eth_ctrl.h
@@ -407,6 +407,9 @@ struct rte_eth_l2_flow {
struct rte_eth_ipv4_flow {
uint32_t src_ip; /**< IPv4 source address to match. */
uint32_t dst_ip; /**< IPv4 destination address to match. */
+ // TREX_PATCH
+ uint8_t ttl; /**< IPv4 ttl to match */
+ uint8_t l4_protocol; /**< IPv4 l4 protocol to match */
};
/**
@@ -443,6 +446,9 @@ struct rte_eth_sctpv4_flow {
struct rte_eth_ipv6_flow {
uint32_t src_ip[4]; /**< IPv6 source address to match. */
uint32_t dst_ip[4]; /**< IPv6 destination address to match. */
+ // TREX_PATCH
+ uint8_t hop_limit; /**< IPv6 hop limit to match */
+ uint8_t l4_protocol; /**< IPv6 l4 protocol to match */
};
/**
diff --git a/src/dpdk22/lib/librte_ether/rte_ethdev.h b/src/dpdk22/lib/librte_ether/rte_ethdev.h
index bada8ade..f8c7c86d 100644
--- a/src/dpdk22/lib/librte_ether/rte_ethdev.h
+++ b/src/dpdk22/lib/librte_ether/rte_ethdev.h
@@ -734,6 +734,8 @@ struct rte_fdir_conf {
struct rte_eth_fdir_masks mask;
struct rte_eth_fdir_flex_conf flex_conf;
/**< Flex payload configuration. */
+ // TREX_PATCH
+ uint8_t flexbytes_offset;
};
/**