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 14F3BA0C43;
	Thu, 21 Oct 2021 20:26:37 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id A16834003F;
	Thu, 21 Oct 2021 20:26:36 +0200 (CEST)
Received: from mail-io1-f48.google.com (mail-io1-f48.google.com
 [209.85.166.48]) by mails.dpdk.org (Postfix) with ESMTP id 7A2314003E
 for <dev@dpdk.org>; Thu, 21 Oct 2021 20:26:35 +0200 (CEST)
Received: by mail-io1-f48.google.com with SMTP id h196so2233023iof.2
 for <dev@dpdk.org>; Thu, 21 Oct 2021 11:26:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=V2/2ThHE+/8ehEeJp7cmh4ZV3m0WGAIYAjvSzRCNkAs=;
 b=Y8XXn6Xe8T1iU5DudUnIg6JeWiNoDmfbc3KBR8Qeg0ZuW7Jg0YWnjO+zX39MqkaR/c
 vSPKKMA202KiZRTwz8VkPxphv4lkW++K2IhRPa6nsZetKtAXP8IuDbYIZRblWJhAP/dT
 3z//b34sCgc0KXkbTW8/1GTy/mNBDBWp4kZoE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=V2/2ThHE+/8ehEeJp7cmh4ZV3m0WGAIYAjvSzRCNkAs=;
 b=Ly3P4OKzKJL5Edqcz/z4aFlSW+r2xicqH+ZcRxGDsPzdMLwmuDP5I42f9/ki7l+BDt
 ShdaRlMKuYAdj1vo27OJXhJteFcx7gQSF8bLn99iai3+ryx81qaWO4Xn2l0rY+DznvRT
 xfjSZh5u0ubmewB5omDt43CLHd9REaZJYZTEGFFrH3RxgzdoNJ/AWmhOX/FOsiVXkaYv
 sj6AoIHasVR2sR32qWeRcW6b02fbmcD9LpoyWosqgxNjr9v595ky6KLXBQboC0c/14EB
 cahyVKx09cZWtZ4jBENbGONWXdjI1gOZgooa7NjqcWw6ffVyBHH78oYrNFwOWbGGMWOD
 uprg==
X-Gm-Message-State: AOAM533Si18G4GZ633+v6IAajlBSmulqRDF819rnnAndpid8y0rgtOiq
 RfXX1fL2v4hq3TOVIHlSxn++WP0L0RhkFXwWJX62vQ==
X-Google-Smtp-Source: ABdhPJzdCBPSgA207kZZ7hcERirdF33qGHd464jqVsOcTF3CGliNQ/QWvEhG7CRjkImwqXWgOojw0AyAnhry/jrxauo=
X-Received: by 2002:a05:6602:2d81:: with SMTP id
 k1mr5179727iow.87.1634840794713; 
 Thu, 21 Oct 2021 11:26:34 -0700 (PDT)
MIME-Version: 1.0
References: <20211019123722.3414694-1-dkozlyuk@nvidia.com>
 <20211021063503.3632732-1-dkozlyuk@nvidia.com>
 <20211021063503.3632732-4-dkozlyuk@nvidia.com>
In-Reply-To: <20211021063503.3632732-4-dkozlyuk@nvidia.com>
From: Ajit Khaparde <ajit.khaparde@broadcom.com>
Date: Thu, 21 Oct 2021 11:26:18 -0700
Message-ID: <CACZ4nhvidCG2+A7X2anNm8oTspoLedmg-MYMeV9h62tCn=GyQA@mail.gmail.com>
To: Dmitry Kozlyuk <dkozlyuk@nvidia.com>
Cc: dpdk-dev <dev@dpdk.org>, Ori Kam <orika@nvidia.com>, 
 Ferruh Yigit <ferruh.yigit@intel.com>,
 Somnath Kotur <somnath.kotur@broadcom.com>, 
 Nithin Dabilpuram <ndabilpuram@marvell.com>,
 Kiran Kumar K <kirankumark@marvell.com>, 
 Sunil Kumar Kori <skori@marvell.com>, Satha Rao <skoteshwar@marvell.com>, 
 Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>,
 Hemant Agrawal <hemant.agrawal@nxp.com>, 
 Sachin Saxena <sachin.saxena@oss.nxp.com>, Haiyue Wang <haiyue.wang@intel.com>,
 John Daley <johndale@cisco.com>, Hyong Youb Kim <hyonkim@cisco.com>,
 Gaetan Rivet <grive@u256.net>, Ziyang Xuan <xuanziyang2@huawei.com>,
 Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>, 
 Guoyang Zhou <zhouguoyang@huawei.com>, "Min Hu (Connor)" <humin29@huawei.com>, 
 Yisen Zhuang <yisen.zhuang@huawei.com>, Lijun Ou <oulijun@huawei.com>, 
 Beilei Xing <beilei.xing@intel.com>, Jingjing Wu <jingjing.wu@intel.com>, 
 Qiming Yang <qiming.yang@intel.com>, Qi Zhang <qi.z.zhang@intel.com>, 
 Rosen Xu <rosen.xu@intel.com>, Liron Himi <lironh@marvell.com>, 
 Jerin Jacob <jerinj@marvell.com>, Rasesh Mody <rmody@marvell.com>, 
 Devendra Singh Rawat <dsinghrawat@marvell.com>,
 Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>, 
 Jasvinder Singh <jasvinder.singh@intel.com>, 
 Cristian Dumitrescu <cristian.dumitrescu@intel.com>,
 Keith Wiles <keith.wiles@intel.com>, 
 Jiawen Wu <jiawenwu@trustnetic.com>, Jian Wang <jianwang@trustnetic.com>
Content-Type: text/plain; charset="UTF-8"
Subject: Re: [dpdk-dev] [PATCH v4 3/6] net: advertise no support for keeping
 flow rules
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>

On Wed, Oct 20, 2021 at 11:36 PM Dmitry Kozlyuk <dkozlyuk@nvidia.com> wrote:
>
> When RTE_ETH_DEV_CAPA_FLOW_RULE_KEEP capability bit is zero,
> the specified behavior is the same as it had been before
> this bit was introduced. Explicitly reset it in all PMDs
> supporting rte_flow API in order to attract the attention
> of maintainers, who should eventually choose to advertise
> the new capability or not. It is already known that
> mlx4 and mlx5 will not support this capability.
>
> For RTE_ETH_DEV_CAPA_FLOW_SHARED_OBJECT_KEEP
> similar action is not performed,
> because no PMD except mlx5 supports indirect actions.
> Any PMD that starts doing so will anyway have to consider
> all relevant API, including this capability.
>
> Suggested-by: Ferruh Yigit <ferruh.yigit@intel.com>
> Signed-off-by: Dmitry Kozlyuk <dkozlyuk@nvidia.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>