From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wu, Jingjing" Subject: Re: [PATCH v3 01/12] ethdev: extend flow director for input selection Date: Wed, 9 Mar 2016 10:26:27 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F8DD16C1@SHSMSX104.ccr.corp.intel.com> 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> <1518710.DqorvmVtZj@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: Thomas Monjalon Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 983092B98 for ; Wed, 9 Mar 2016 11:26:31 +0100 (CET) In-Reply-To: <1518710.DqorvmVtZj@xps13> Content-Language: en-US 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" > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Wednesday, March 09, 2016 5:55 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Richardson, Bruce > Subject: Re: [dpdk-dev] [PATCH v3 01/12] ethdev: extend flow director for > input selection >=20 > 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; >=20 > L4 protocol? >=20 > > }; > > > > /** > > @@ -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; > > }; >=20 > Why some fields are not commented? > I guess the values must be the ones found in the IPv4 header. Yes, you are correct. The fields defined in rte_eth_ipvx_flow are the ones = in IP header. Should I comments all of them? Thanks Jingjing=20