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 BEA1EA04B6; Mon, 12 Oct 2020 20:18:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0C4A41D970; Mon, 12 Oct 2020 20:18:33 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 43C771D96E for ; Mon, 12 Oct 2020 20:18:31 +0200 (CEST) IronPort-SDR: bnNQlxenVARVB4c7kz6zwHlYioOxlrAID9d6kv8KJh2pabbViQiYT1X0lf+xOBC0qKVaB0V9ur JnKbjSYX7yAw== X-IronPort-AV: E=McAfee;i="6000,8403,9772"; a="152712535" X-IronPort-AV: E=Sophos;i="5.77,367,1596524400"; d="scan'208";a="152712535" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2020 11:18:28 -0700 IronPort-SDR: fjyJHS8gpZo3xSu5r+sfHEq+eQ3ZRFIQNLl2nK/99yrk6e/YKPn17sg9Z5KEhV8eV1utPYu4RM PgZWmI/supog== X-IronPort-AV: E=Sophos;i="5.77,367,1596524400"; d="scan'208";a="520776923" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.244.119]) ([10.213.244.119]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2020 11:18:25 -0700 To: Jiawei Wang , orika@nvidia.com, viacheslavo@nvidia.com, matan@nvidia.com, thomas@monjalon.net, marko.kovacevic@intel.com, arybchenko@solarflare.com Cc: dev@dpdk.org, rasland@nvidia.com, ian.stokes@intel.com, fbl@redhat.com, asafp@nvidia.com References: <1601187539-112694-1-git-send-email-jiaweiw@nvidia.com> <1602251166-269265-1-git-send-email-jiaweiw@nvidia.com> From: Ferruh Yigit Message-ID: <1f45b44e-4764-6a4b-47af-483351310dcb@intel.com> Date: Mon, 12 Oct 2020 19:18:24 +0100 MIME-Version: 1.0 In-Reply-To: <1602251166-269265-1-git-send-email-jiaweiw@nvidia.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v9 0/3] support the flow-based traffic sampling 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 10/9/2020 2:46 PM, Jiawei Wang wrote: > This patch set implement the flow-based traffic sampling. > > The solution is introduced a new rte_flow action that will sample the incoming traffic and send a duplicated traffic with the specified ratio to the application, while the original packet will continue to the target destination. > > If the sample ratio value be set to 1, means that the packets would be completely mirrored. The sample packet can be assigned with different set of actions from the original packet. > > > v9: > * Rebase patches based on the latest code. > * Separate the MLX5 PMD changes into another patches. > > v8: > * Rebase patches based on the latest code. > * Update the offloads dependencies document for sample flow. > * Update sample flow limitation document. > > v7: > * Removed change in [PATCH 12/12] net/mlx5: support the native port id actions for mirroring, should use sample action. > * Update the PMD code to match the new rdma-core API for mirroring. > * Optimize the sample flow split routine. > * Update code changes and commit log based on the review. > * Add E-Switch sample flow limitation document. > > v6: > * Update the function that restore vport through metadata register c0 for FDB sampler. > * Add multiple destination support. > * Support the remote mirroring with different encapsulation header. > * Fix coverity error. > > v5: > * Add the release note. > * Remove Make changes since it's deprecated. > > v4: > * Rebase. > * Fix the coding style issue. > > v3: > * Remove 'const' of ratio field. > * Update description and commit messages. > > v2: > * Rebase patches based on the latest code. > * Update rte_flow and release documents. > * Fix the compile error. > * Removed unnecessary change in [PATCH 7/8] net/mlx5: update the metadata register c0 support since FDB will use 5-tuple to do match. > * Update changes based on the comments. > > Jiawei Wang (3): > ethdev: introduce sample action for rte flow > app/testpmd: add testpmd command for sample action > app/testpmd: add port and encap support for sample action > Series applied to dpdk-next-net/main, thanks.