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 B3FCAA0526; Thu, 9 Jul 2020 06:39:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CA7371DA46; Thu, 9 Jul 2020 06:39:56 +0200 (CEST) Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) by dpdk.org (Postfix) with ESMTP id 915C11DA45 for ; Thu, 9 Jul 2020 06:39:55 +0200 (CEST) Received: by mail-io1-f66.google.com with SMTP id q8so954198iow.7 for ; Wed, 08 Jul 2020 21:39:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=H9XGmUkfDXi5EbgaNHG+8EQwbRo/ivbNM2vmWuyWN+g=; b=nXM3fsVccq5j4GP3Bp8IlrtnYd0jkRGNrB3ubdpV2+719GtOcKsMYKXijDuVLgsmEb ZdFexDRc0uMa7qJmE24co0Gthi+DKQblU90dGoDjpfVLzfREM8ehS7Nluci4l3a8x8On 4C9d/WEasHjj82xaDT2ZA1WAm7PBhVoAmwBn7iJ7lgdeFdd/FHTkXyQun1GqSL1BZtu0 jlmrkowj74Ito4iyUANkTcwubZPBXMaX3B0p91dUY3ozahTVnAxz/Cx/jARrjNJZHLbd VB58aIQBDCjOEFpRKCwtj3X+FicMPIXj0ZO8wXpM8UVlt19E33NuUsG1ANx4GRYQClGI 12Ng== 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=H9XGmUkfDXi5EbgaNHG+8EQwbRo/ivbNM2vmWuyWN+g=; b=ojjbXpFgfYmRKzNFqdfJVVThLDRGpwEKOYRgmPOIkYou63quBe4jnRsw96C2d29IjV 3rFsuzbWrcTp0xRo/iOu9NPfNarWAxW2cAkkmJFimH9GWQaMUvjTqBqtyCMEboeAexkl 3folGP74eARTm8n0OWnt5Pw9tGFnpPBPzS0bxpEEtR+YIguaM8/1fbG1c2AxWYtiIw/k EP9d4GqiKIDfR4q4O8j0tnPC+IWwXbzaCwuLg1HdXr8Q5vukKcJ6ReJDq/VvDc5rhO+i L2EyCtCUqNZ2rpMvkheMuFf1uLf9B/BsAuMm63dtSsX478MKg7MfPRWR5Djn4O6Qq9ql QZtQ== X-Gm-Message-State: AOAM532kKQiDh9cVFQKs+NnInpYRbNf23uwHBvDQRVJtTQN0b3l0L73D FAWpYjdEfMqKSawzryAZzc2sAH7jfsX3tOP6JtU= X-Google-Smtp-Source: ABdhPJz9cLjsxEYYanG5EtrHVM2eRxVy/k5ggam55TIlXAMEA4DD9v5VWziSzgHbfrq2vXvUxQdm8jf9pvTksezr93M= X-Received: by 2002:a05:6638:2584:: with SMTP id s4mr28152423jat.104.1594269594721; Wed, 08 Jul 2020 21:39:54 -0700 (PDT) MIME-Version: 1.0 References: <20200702120511.16315-1-andreyv@mellanox.com> <20200708213946.30108-1-andreyv@mellanox.com> In-Reply-To: <20200708213946.30108-1-andreyv@mellanox.com> From: Jerin Jacob Date: Thu, 9 Jul 2020 10:09:38 +0530 Message-ID: To: Andrey Vesnovaty Cc: dpdk-dev , jer@marvell.com, Thomas Monjalon , Ferruh Yigit , Stephen Hemminger , "Richardson, Bruce" , Ori Kam , Slava Ovsiienko , Andrey Vesnovaty Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 0/6] add flow shared action API + PMD 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 Thu, Jul 9, 2020 at 3:09 AM Andrey Vesnovaty wrote: > > Hi Jerin and Ori. > > V2 changes: > - First version of PMD implementation for shared action API. > - Simple example application demonstaration shared action update. > - Changes to shred action API according to discussion of V1. > > @Jerin Jacob: please take a look at provided example, hopefully it > will help to converge our API discussion and reach consensus on it. I am sorry, Based on my understanding it is not addressing API sequence query[1] [1] --- http://mails.dpdk.org/archives/dev/2020-July/173997.html ie. Otherway to ask is, Could you have share the API call sequence using "rte_flow_shared_action_update(uint16_port port, rte_shared_ctx *ctx, rte_flow_action *action, error)" to enable support for the following category of HW as I mentioned earlier. - The HW has "pattern" and "action" mapped to different HW objects and action can be updated any time without destroying and create.(a,k,a Does not have shared HW object) --- > > Thanks, > Andrey > > Andrey Vesnovaty (6): > ethdev: add flow shared action API > common/mlx5: modify advanced Rx object via DevX > net/mlx5: modify hash Rx queue objects > net/mlx5: shared action PMD > net/mlx5: driver support for shared action > examples/flow_filtering: utilize shared RSS action > > doc/guides/sample_app_ug/flow_filtering.rst | 62 +- > drivers/common/mlx5/mlx5_devx_cmds.c | 84 +++ > drivers/common/mlx5/mlx5_devx_cmds.h | 10 + > drivers/common/mlx5/mlx5_prm.h | 29 + > .../common/mlx5/rte_common_mlx5_version.map | 1 + > drivers/net/mlx5/mlx5.c | 1 + > drivers/net/mlx5/mlx5.h | 2 + > drivers/net/mlx5/mlx5_defs.h | 3 + > drivers/net/mlx5/mlx5_flow.c | 492 ++++++++++++- > drivers/net/mlx5/mlx5_flow.h | 83 +++ > drivers/net/mlx5/mlx5_flow_dv.c | 671 +++++++++++++++++- > drivers/net/mlx5/mlx5_rxq.c | 300 ++++++-- > drivers/net/mlx5/mlx5_rxtx.h | 4 + > examples/flow_filtering/flow_blocks.c | 30 +- > examples/flow_filtering/main.c | 41 +- > lib/librte_ethdev/rte_ethdev_version.map | 6 + > lib/librte_ethdev/rte_flow.c | 81 +++ > lib/librte_ethdev/rte_flow.h | 148 +++- > lib/librte_ethdev/rte_flow_driver.h | 22 + > 19 files changed, 1924 insertions(+), 146 deletions(-) > > -- > 2.26.2 >