From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5CC4CA0C41; Wed, 6 Oct 2021 19:13:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4B20041136; Wed, 6 Oct 2021 19:13:29 +0200 (CEST) Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) by mails.dpdk.org (Postfix) with ESMTP id B178A41100 for ; Wed, 6 Oct 2021 19:13:28 +0200 (CEST) Received: by mail-io1-f51.google.com with SMTP id 134so3593985iou.12 for ; Wed, 06 Oct 2021 10:13:28 -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=0KqgH+x94PBhnnU7BGTbLbl3J4TAhPMg7JYtAwdLLmE=; b=EpnnI4v/S5MrKuoawf2JsILgB+/gjkJ9FIoHqGu61ga1uKpfbwyaDfIuwj7SvSWm7F o4xKmhDPqxSswkvjq9lbWhDL4setduWgSnPnRcSrQRFuAniNkrsiGk0Lq7DxcBPSTnhZ RiE9eFzdOkuHkGbr5dz7CbWVnNPRsJZ1Xa/Nc= 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=0KqgH+x94PBhnnU7BGTbLbl3J4TAhPMg7JYtAwdLLmE=; b=nVwwgl2Vf9YqTzmTZiuTjqGpugeF9cDiValimONz74bAiZbtKiarFTK+mDFdZ7P1tK JvgsbnhS3lGhdl31Anmzv1LZcsGKpVLhL2qrfcBSUyWAFUXwtXoS8m5xForQRp13F3m1 /QHG2ITkc+UijPaiNgHR1WMt5pbIXMr5mT9jPOVcnmFdZL2kXWj0p/LaoFZouq70JD22 X6HnCjQWMtxv9av4D3s2KE4YTyOp4JjynByv5JkiBrSQY0UGeAjUdQPFNs4v9dn0OnHv m86fgqA7pYfWLEV7jUGo8ApQ+Op23kSxOymSQnjJq9e7CacLI1DUua+7+lt8nRtmax+C g1JQ== X-Gm-Message-State: AOAM531rCAxuuy9h2t8mGLbtax4BHAdbC45KKGq5cEwSKEiK9i7VE/G3 2Ml4/EeVXZKoKeKKlVdqykKSzfeC09NXjZbiNI3ukA== X-Google-Smtp-Source: ABdhPJx8w6o76hPc2jXce9QPuRBu/9HjrFFK5vqgOqDbtXCVG/8aXWR1aWrNMS+czRNiAgkiw7vfRUMbw6t3pQknljQ= X-Received: by 2002:a6b:c309:: with SMTP id t9mr7289837iof.50.1633540408039; Wed, 06 Oct 2021 10:13:28 -0700 (PDT) MIME-Version: 1.0 References: <20211005171914.2936-1-xhavli56@stud.fit.vutbr.cz> In-Reply-To: <20211005171914.2936-1-xhavli56@stud.fit.vutbr.cz> From: Ajit Khaparde Date: Wed, 6 Oct 2021 10:13:11 -0700 Message-ID: To: Martin Havlik Cc: Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , "Min Hu (Connor)" , Xueming Li , Bing Zhao , Chengchang Tang , Jan Viktorin , dpdk-dev , Chas Williams , Haiyue Wang , Ivan Ilchenko , Singh Aman Deep , kirankn@juniper.net, lirongqing@baidu.com Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000c3869a05cdb2436a" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH 1/2] lib/ethdev: introduce RTE_ETH_DEV_CAPA_FLOW_CREATE_BEFORE_START X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" --000000000000c3869a05cdb2436a Content-Type: text/plain; charset="UTF-8" On Tue, Oct 5, 2021 at 10:29 AM Martin Havlik wrote: > > Not all PMDs allow RTE flow rules to be created before start. > This capability will be set for the ones that allow it. > > Signed-off-by: Martin Havlik Acked-by: Ajit Khaparde > --- > lib/ethdev/rte_ethdev.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h > index bef24173cf..3115a6fccf 100644 > --- a/lib/ethdev/rte_ethdev.h > +++ b/lib/ethdev/rte_ethdev.h > @@ -1448,6 +1448,8 @@ struct rte_eth_conf { > #define RTE_ETH_DEV_CAPA_RUNTIME_RX_QUEUE_SETUP 0x00000001 > /** Device supports Tx queue setup after device started. */ > #define RTE_ETH_DEV_CAPA_RUNTIME_TX_QUEUE_SETUP 0x00000002 > +/** Device supports RTE Flow rule creation before device start. */ > +#define RTE_ETH_DEV_CAPA_FLOW_CREATE_BEFORE_START 0x00000004 > /**@}*/ > > /* > -- > 2.27.0 > --000000000000c3869a05cdb2436a--