Thread (105 messages) 105 messages, 5 authors, 2016-03-23

Re: [PATCH v3 01/12] ethdev: extend flow director for input selection

From: Thomas Monjalon <hidden>
Date: 2016-03-09 09:56:13

2016-03-09 13:42, Jingjing Wu:
 struct rte_eth_ipv4_flow {
 	uint32_t src_ip;      /**< IPv4 source address to match. */
 	uint32_t dst_ip;      /**< IPv4 destination address to match. */
+	uint8_t  tos;         /**< Type of service to match. */
+	uint8_t  ttl;         /**< Time to live */
+	uint8_t  proto;
L4 protocol?
quoted hunk ↗ jump to hunk
 };
 
 /**
@@ -443,6 +448,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. */
+	uint8_t  tc;             /**< Traffic class to match. */
+	uint8_t  proto;          /**< Protocol, next header. */
+	uint8_t  hop_limits;
 };
Why some fields are not commented?
I guess the values must be the ones found in the IPv4 header.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help