From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6C19C0650E for ; Mon, 1 Jul 2019 15:44:45 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 8034220B7C for ; Mon, 1 Jul 2019 15:44:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8034220B7C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mellanox.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6E5EF1B9D6; Mon, 1 Jul 2019 17:44:44 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 9FB661B9D5 for ; Mon, 1 Jul 2019 17:44:43 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE2 (envelope-from dekelp@mellanox.com) with ESMTPS (AES256-SHA encrypted); 1 Jul 2019 18:44:41 +0300 Received: from mtl-vdi-280.wap.labs.mlnx. (mtl-vdi-280.wap.labs.mlnx [10.128.130.87]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x61FieEo028876; Mon, 1 Jul 2019 18:44:40 +0300 From: Dekel Peled To: adrien.mazarguil@6wind.com, wenzhuo.lu@intel.com, jingjing.wu@intel.com, bernard.iremonger@intel.com, yskoh@mellanox.com, shahafs@mellanox.com, viacheslavo@mellanox.com, arybchenko@solarflare.com Cc: dev@dpdk.org, orika@mellanox.com Date: Mon, 1 Jul 2019 18:43:08 +0300 Message-Id: X-Mailer: git-send-email 1.7.1 In-Reply-To: <1553177917-43297-1-git-send-email-dekelp@mellanox.com> References: <1553177917-43297-1-git-send-email-dekelp@mellanox.com> Subject: [dpdk-dev] [PATCH v9 0/3] add actions to modify header fields 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" Patch [1] implemented set of header modification actions in MLX PMD, based on ethdev and testpmd updates included in [2]. This series implements support of additional header modification actions, in ethdev, testpmd, and MLX5 PMD. Original work by Xiaoyu Min. [1] http://patches.dpdk.org/patch/49310/ [2] http://mails.dpdk.org/archives/dev/2018-August/109672.html --- v2: apply code review comments. v3: apply additional code review comments. - Update documentation of new commands. - Use common general struct for all commands. v4: apply checkpatch comments. v5: apply additional code review comments. - Add 8, 16, 32 bit types to union. - Update struct name and documentation. v6: expand description of new struct in h file and commit log. v7: - Remove the common general struct with union added in v3 & v5. - Commands take a simple integer value, not enclosed in a structure. - Use separate commands for INC and DEC with 32 bit unsigned value of type rte_be32_t. v8: clean redundant comments refering to removed structure. v9: - Send the announcement of new approach (use action with single argument configuration) in separate patch before this series, see http://patches.dpdk.org/patch/55773/. - Add PMD release notes update. --- Dekel Peled (3): ethdev: add actions to modify TCP header fields app/testpmd: add actions to modify TCP header fields net/mlx5: update modify header using Direct Verbs app/test-pmd/cmdline_flow.c | 92 +++++++++++ doc/guides/prog_guide/rte_flow.rst | 32 ++++ doc/guides/rel_notes/release_19_08.rst | 6 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 16 ++ drivers/net/mlx5/mlx5_flow.h | 10 +- drivers/net/mlx5/mlx5_flow_dv.c | 237 ++++++++++++++++++++++++++++ drivers/net/mlx5/mlx5_prm.h | 12 ++ lib/librte_ethdev/rte_flow.c | 4 + lib/librte_ethdev/rte_flow.h | 32 ++++ 9 files changed, 440 insertions(+), 1 deletion(-) -- 1.8.3.1