From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=IMuVl1KBgxnrwc7uv1U6AZRnTT8tFB9x1tg0OnKtnMw=; b=xUr95NomZdVQQSwcDIXqlfL64Tsqk0kRtIoVQ28I4sns8HDBExAWQY2GaqWKRUBKMh PPAzjhCYz71pp5X3pnsrsI/JNH2QlmFCGq2Jas5maAoGZGAm2zXkGk5MbZiwPvytRVvn XQDGyVuNFp2RG3Ik1GdrspgsQwGG/eJ1q+jJhihzDz8TC6UtGcCOdLyFZBH2X+w8IOKI qDbtsuiSJeqz/+QugmxGNNvnnwOW3O0UIHxj9uSfEY9w3jVQdpVlDgc1JHPR90FAeDO+ 3sEsTgjL55/xrtwg4BtkhlRygH7RgrSeAl9ZohkkNj/z3GgHF8fbiMJXX6iu6hfIY20f nTjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=IMuVl1KBgxnrwc7uv1U6AZRnTT8tFB9x1tg0OnKtnMw=; b=ffWBOQd17z7xUX096Xjm4v+ws7OulpA+JQOx+jDoFhiuHsfsV2Q3L3xQUY+zR/tFv2 rqqcehaVQ/zdzYPDiEf8YIJqm+amaUnXrkH0Ipl0iJ+OfoWkfVkkrezLBCZc4mY/6oYM irhkdytBHxO5gB2+jgtO5qJnxKmYw11sv7wZ+Fx3FC+77fPUfsroBQaD9b+dIE4QlSH4 ggncpCN6wLz/yXWZwsUSrUUE7DYzPkBBWigs5teFIoYndxO5STzPdBIQfeRB4fPBY4+p n95+JV44MeiJV9Zs83Uc38uai1J/RRlCslPJKqgcR/QFjTkuP/hQlcT5U2dU+zFHAo0W LEvg== X-Gm-Message-State: AD7BkJIM5kvsJbkYD+XOp8Dn3LRQH3hJgu5T6QdwcWbxMygqucYtaF6w8ieEmYs4GBOHomyK X-Received: by 10.194.201.130 with SMTP id ka2mr32777964wjc.34.1457517373151; Wed, 09 Mar 2016 01:56:13 -0800 (PST) Received: from xps13.localnet (171.36.101.84.rev.sfr.net. [84.101.36.171]) by smtp.gmail.com with ESMTPSA id lz5sm7082097wjb.5.2016.03.09.01.56.12 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Mar 2016 01:56:12 -0800 (PST) From: Thomas Monjalon To: Jingjing Wu Date: Wed, 09 Mar 2016 10:54:33 +0100 Message-ID: <1518710.DqorvmVtZj@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1457502180-14124-2-git-send-email-jingjing.wu@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> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3 01/12] ethdev: extend flow director for input selection X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2016 09:56:13 -0000 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.