From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B82A1A04E7; Mon, 2 Nov 2020 22:45:01 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 91D973772; Mon, 2 Nov 2020 22:44:59 +0100 (CET) Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) by dpdk.org (Postfix) with ESMTP id 04106354D for ; Mon, 2 Nov 2020 22:44:57 +0100 (CET) Received: by mail-oi1-f175.google.com with SMTP id c80so4710381oib.2 for ; Mon, 02 Nov 2020 13:44:56 -0800 (PST) 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=nlIJ2Pchl1xVl8JKkSMpkilU7Ud0+Igxdf2+tqgwFgM=; b=F7Hs1ruEcpF4ZIYzVLHKQLvXa8gu+WCd+N4QWqGFcgmDMfkkOpReW9eNCCXqHn+m6Q lSyix7LQZYXD9AWg8GocN6gf8z9IeCk9ZPFxYxAgL2dgys27VyZl/GHfRqOSZeUIqTqa 0acRx/WrqQFPXx/49Nq5N69T7M6hLEPbeoflU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nlIJ2Pchl1xVl8JKkSMpkilU7Ud0+Igxdf2+tqgwFgM=; b=kxNpS0V/1xaNNMC1/+eEC14qt0dc9ayBnhbzWrLqp6GER9J6YYQDzIEEwDlyMSgFD8 tIVtuekZCV4JcDmxvsQU9SEB0Nh4+MCgQcuGK/FXrw3iRWMrQZxnGeNSab2CAJemrNM7 nfi7yXRNd3PUYHcf6UJSYewQn63iBYBz7yJnE9/VhBCbpwkXwStARqEkUQlIucj3tbOU FtHJD2iuNLnx4/9W9J8BDwQHsQSGVxj6zT5dylI3S+3ll2WNm+lHMgqocIRTcMfGeEzg w1xQahgyU4kMPR6jDspzqsPedz2XB7seziMwL1uUfjvDwq98sFxpnC8BXYpUJEgyTYJE Irtw== X-Gm-Message-State: AOAM531DxoNRAAUV6xUFlH5qbAPt35FEBQryl998sKQ32g10icnqEKxZ OWB0HRgIZDXD98uBxyTdEH9fyxcG8YHpDKixgufzUg== X-Google-Smtp-Source: ABdhPJzuL9yyN6G8fvy50fJKHjJUY4x7ABzCd6tjoW/aMeqg+SiNGMqOPkDiytEvz6Y5acsB0WOZ/KQWD6NNuylW2VI= X-Received: by 2002:aca:b507:: with SMTP id e7mr127928oif.168.1604353495190; Mon, 02 Nov 2020 13:44:55 -0800 (PST) MIME-Version: 1.0 References: <20201029114644.22169-1-ivan.malov@oktetlabs.ru> <20201102114317.24492-1-ivan.malov@oktetlabs.ru> <690f1a3c-bb98-d0d2-d2eb-797bf5dc9f05@oktetlabs.ru> In-Reply-To: <690f1a3c-bb98-d0d2-d2eb-797bf5dc9f05@oktetlabs.ru> From: Ajit Khaparde Date: Mon, 2 Nov 2020 13:44:39 -0800 Message-ID: To: Andrew Rybchenko Cc: Ivan Malov , dpdk-dev , Xueming Li , Ori Kam , Thomas Monjalon , Ferruh Yigit Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v3 1/2] ethdev: introduce transfer attribute to shared action conf X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" On Mon, Nov 2, 2020 at 5:15 AM Andrew Rybchenko < andrew.rybchenko@oktetlabs.ru> wrote: > On 11/2/20 2:43 PM, Ivan Malov wrote: > > In a flow rule, attribute "transfer" means operation level > > at which both traffic is matched and actions are conducted. > > > > Add the very same attribute to shared action configuration. > > If a driver needs to prepare HW resources in two different > > ways, depending on the operation level, in order to set up > > an action, then this new attribute will indicate the level. > > Also, when handling a flow rule insertion, the driver will > > be able to turn down a shared action if its level is unfit. > > > > Signed-off-by: Ivan Malov > > Acked-by: Ori Kam > > Acked-by: Andrew Rybchenko > Acked-by: Ajit Khaparde