From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 04326A0A05;
	Tue, 19 Jan 2021 22:30:07 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 8CB9B140F92;
	Tue, 19 Jan 2021 22:27:59 +0100 (CET)
Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com
 [64.147.123.20])
 by mails.dpdk.org (Postfix) with ESMTP id 09350140F86
 for <dev@dpdk.org>; Tue, 19 Jan 2021 22:27:59 +0100 (CET)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailout.west.internal (Postfix) with ESMTP id 4315E129A;
 Tue, 19 Jan 2021 16:27:56 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Tue, 19 Jan 2021 16:27:56 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding:content-type; s=fm3; bh=
 mQ62YuWjlWknrnjq+U0cWfcE+AsqwLgPjqraOW1L4NM=; b=lnp+I5/7iaoUwUQc
 k5aiJ5AHXIeU3/YkJCYJw3yvP0NfLUEzfsSXXPwsrpv2ljc6DfJhQIESdsiiJRc2
 f8u0kf0nB/Fr5aC2eFZlcPGMkhw7Tork766oeJwday3G7qBBGlRQLvuRI1pJurtZ
 HYR52LMIU20wiOuxCQShziQ0Z0BTGgKIFndo6feM1eQV59CfvPvO+5xWqVr89H93
 gtJvQInYW60Yc32A2ofMg3GAfEBLVqCBvXErmilOM1JpEOXBTaEuTppbvMb3RYD/
 eNVFnqoT2THsW2EW8asn6tnBDjHMVfUvmLCChbKO4P0M2frTRshmPSwG5cTbdqaO
 n3xadw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm1; bh=mQ62YuWjlWknrnjq+U0cWfcE+AsqwLgPjqraOW1L4
 NM=; b=OIRS+nQ+2jx5OfJdS0ZVGeZMLMhZjf9E+XHBTfePT9Z0X6X7IIkqLhnDC
 O/2wrmwbQ422q0Ky3CHGSiCEJbAkJwyWIolWc8LKJd+rAr3V61eFzwmeAURF6ugn
 PlAQHau/M7CIlfPJU7rM4rHEgrlnqJjQoPhRggWDowRvhM3ZBdrw/KDlyKS9a62e
 cHY6BJytv7V+wd5OotPDvM8hSpvo+xAAkUmDUeaa8DvUrjHY2bxg9eoL0z6Vk9a+
 DNm5hPDqjnC92Tmyk8tDnvNgjQKY+C3lPVsB/mESiIrm+uyUzWetOWg531fjwpRc
 c/WjhJlLpz948mTNVp8NgMNXeYJDQ==
X-ME-Sender: <xms:204HYAMAdlG4PcQKCxglxqL0_wylKeEV-AOliF1Jl3XSlienRNPuOg>
 <xme:204HYG_P-peiG_xo1H2EDCgRYDLgvdWpYidAcPjv_5SuLX-fQmc3rna4YV2VyOo_s
 ScjN43mRAaU_s6vPw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddtgdduhedtucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg
 ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu
 ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf
 hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl
 ohhnrdhnvght
X-ME-Proxy: <xmx:204HYHRk3H97zRE1Er9I7JJqz1HwVQEsW8bRuGBjo0XaTxVXaieBpQ>
 <xmx:204HYItp6urZ5smFttUFlwsg28VwE_eEXqXSorYTBdnBR9SxDb06nQ>
 <xmx:204HYIeWCbOKKZuaxtxinzbWQOmv0s4onmRwQOvWp7O-A_O4zVkihg>
 <xmx:204HYJpNCGAUDLXeOyiHbGDAwtXdcyTNse8TDs9VBY-cqFHz0NBlXw>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id A04A824005D;
 Tue, 19 Jan 2021 16:27:54 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Lijun Ou <oulijun@huawei.com>, humin29@huawei.com, yisen.zhuang@huawei.com
Cc: ferruh.yigit@intel.com, dev@dpdk.org
Date: Tue, 19 Jan 2021 22:27:52 +0100
Message-ID: <4970064.mIoEzGc4PQ@thomas>
In-Reply-To: <1609904792-63280-2-git-send-email-oulijun@huawei.com>
References: <1607846585-2381-1-git-send-email-oulijun@huawei.com>
 <1609904792-63280-1-git-send-email-oulijun@huawei.com>
 <1609904792-63280-2-git-send-email-oulijun@huawei.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH v2 1/6] net/hns3: fix incorrect interception
 with filter director
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

06/01/2021 04:46, Lijun Ou:
> The rte_fdir_conf structure has deprecated and users need
> to use the specified rule parameters of rte_flow structure
> when configure a flow rule. As a result, it is incorrectly
> used in the rte_flow API.

Note: it should be "flow director" in the title.

I really don't understand why the hns3 PMD is based
on flow director concept, because:
1/ this is an Intel design
2/ it was already deprecated when hns3 started his development

Please could you explain if there is a HW constraint
or something else I'm missing?