From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 01/12] ethdev: extend flow director for input selection Date: Wed, 09 Mar 2016 10:54:33 +0100 Message-ID: <1518710.DqorvmVtZj@xps13> References: <1456918207-31696-1-git-send-email-jingjing.wu@intel.com> <1457502180-14124-1-git-send-email-jingjing.wu@intel.com> <1457502180-14124-2-git-send-email-jingjing.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Jingjing Wu Return-path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 478B12BAD for ; Wed, 9 Mar 2016 10:56:13 +0100 (CET) Received: by mail-wm0-f49.google.com with SMTP id l68so184926124wml.0 for ; Wed, 09 Mar 2016 01:56:13 -0800 (PST) In-Reply-To: <1457502180-14124-2-git-send-email-jingjing.wu@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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? > }; > > /** > @@ -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.