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 C08DDC31E40 for ; Tue, 6 Aug 2019 08:24:45 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 7A54B206A2 for ; Tue, 6 Aug 2019 08:24:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7A54B206A2 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 7A5B21BDE4; Tue, 6 Aug 2019 10:24:44 +0200 (CEST) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id 413121BDE4 for ; Tue, 6 Aug 2019 10:24:43 +0200 (CEST) From: Moti Haimovsky To: viacheslavo@mellanox.com Cc: dev@dpdk.org Date: Tue, 6 Aug 2019 11:24:27 +0300 Message-Id: X-Mailer: git-send-email 1.7.1 In-Reply-To: <1558020019-156458-1-git-send-email-motih@mellanox.com> References: <1558020019-156458-1-git-send-email-motih@mellanox.com> Subject: [dpdk-dev] [PATCH 0/7] net/mlx5: support for flow action on VLAN header 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" VLAN actions support is implemented in librte_ethdev, and in test-pmd application, based on [1] Generic flow API. These actions conform to the VLAN actions defined in [2] the OpenFlow Switch Specification. rte_flow defines the following VLAN actions: 1. OF_POP_VLAN Pop the outer-most VLAN header from the packet. 2. OF_PUSH_VLAN Push a new VLAN header onto the packet. 3. OF_SET_VLAN_VID Sets the ID of the outermost VLAN tag. 4. OF_SET_VLAN_PCP Sets the 3-bit priority field of the outermost VLAN tag. This series of patches adds support for those VLAN actions to the mlx5 PMD using the Direct Verbs interface. Moti Haimovsky (7): net/mlx5: support for an action search in a list net/mlx5: add VLAN push/pop DR commands to glue net/mlx5: support pop flow action on VLAN header net/mlx5: support push flow action on VLAN header net/mlx5: support modify VLAN priority on VLAN hdr net/mlx5: supp modify VLAN ID on new VLAN header net/mlx5: supp modify VLAN ID on existing VLAN hdr drivers/net/mlx5/Makefile | 5 + drivers/net/mlx5/meson.build | 2 + drivers/net/mlx5/mlx5.c | 9 + drivers/net/mlx5/mlx5.h | 3 + drivers/net/mlx5/mlx5_flow.c | 23 ++ drivers/net/mlx5/mlx5_flow.h | 27 ++- drivers/net/mlx5/mlx5_flow_dv.c | 521 ++++++++++++++++++++++++++++++++++++++++ drivers/net/mlx5/mlx5_glue.c | 29 +++ drivers/net/mlx5/mlx5_glue.h | 6 + drivers/net/mlx5/mlx5_prm.h | 1 + 10 files changed, 623 insertions(+), 3 deletions(-) -- 1.8.3.1