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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 0C7D6C433E0 for ; Fri, 10 Jul 2020 08:45:36 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id C615C207DF for ; Fri, 10 Jul 2020 08:45:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C615C207DF 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 1D6CE1DB96; Fri, 10 Jul 2020 10:45:35 +0200 (CEST) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id BC0591DAB6 for ; Fri, 10 Jul 2020 10:45:33 +0200 (CEST) From: Bing Zhao To: orika@mellanox.com, john.mcnamara@intel.com, marko.kovacevic@intel.com, thomas@monjalon.net, ferruh.yigit@intel.com, arybchenko@solarflare.com, olivier.matz@6wind.com, akhil.goyal@nxp.com Cc: dev@dpdk.org, wenzhuo.lu@intel.com, beilei.xing@intel.com, bernard.iremonger@intel.com Date: Fri, 10 Jul 2020 16:45:21 +0800 Message-Id: <1594370723-343354-1-git-send-email-bingz@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1594136219-133336-1-git-send-email-bingz@mellanox.com> References: <1594136219-133336-1-git-send-email-bingz@mellanox.com> Subject: [dpdk-dev] [PATCH v5 0/2] rte_flow: introduce eCPRI item for rte_flow 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" This patch set contains two commits. 1. header definition of the ethdev API 2. testpmd support for the eCPRI flow item --- v2: Add dw0 for the eCPRI common header to switch the endianess, and use fixed u32 value with big-endian for rte_flow_item_ecpri_mask. It is due to the fact that global variable only support constant expression in C when building. v3: Add commit for testpmd support. v4: update release notes part. v5: fix type#6 define, add event indication macros, and comments for revisions. --- Bing Zhao (2): rte_flow: add eCPRI key fields to flow API app/testpmd: add eCPRI in flow creation patterns app/test-pmd/cmdline_flow.c | 143 ++++++++++++++++++++++++++ doc/guides/prog_guide/rte_flow.rst | 8 ++ doc/guides/rel_notes/release_20_08.rst | 5 + lib/librte_ethdev/rte_flow.c | 1 + lib/librte_ethdev/rte_flow.h | 31 ++++++ lib/librte_net/Makefile | 1 + lib/librte_net/meson.build | 3 +- lib/librte_net/rte_ecpri.h | 182 +++++++++++++++++++++++++++++++++ lib/librte_net/rte_ether.h | 1 + 9 files changed, 374 insertions(+), 1 deletion(-) create mode 100644 lib/librte_net/rte_ecpri.h -- 1.8.3.1