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 2AB0AA2EEB for ; Tue, 10 Sep 2019 15:34:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2366E1EDC9; Tue, 10 Sep 2019 15:34:28 +0200 (CEST) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40061.outbound.protection.outlook.com [40.107.4.61]) by dpdk.org (Postfix) with ESMTP id B473F1EB76 for ; Tue, 10 Sep 2019 15:34:26 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n3eBAQJAAgVpqExbT+ZRxbrFXnxVofpxjOiMM+xJ+XRX9FmMXtt2hZCn0pfJSwn/PP2wMZnay6WxFcm+d4KktoNmqCrOvGK5TxYJxAwLzZ2qdh50qOo1Krnwcxjrev0SV8bc4ddMF5o4YHZ4mE5FQdpPMD7xGOe8kEfYIr/guZWBcKNwZLfheea3emqP0al1nAmatzHQ/g4GRqde45cdR5lDdoakyA3PVgq8dY4qcRjoh5Q4WeZviQc0psZY7bj4aEgcJmrjaJ4fAlwN6oDHQXKYsZtCZ5/e0JtYTF3VfqfVBujPce2tXKDnYRTHgk4BHUHthNW4qvegH2M5XZs9hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w7KzJqn9Oome2EB1eWsbfjE7xajU6aGC5/CYOqT2n8A=; b=Ea6rY8uJFRT/gzPNwAk6bTBBu3uPoXCaSayftIpuhSeUE2AMuoyOc3pL7ypYwGd1Xogm60d/OfClCu4zOur7a5XAFg+vd9ovabFJlHaW0J5QxEryIIK1UJJexlyP0JXMY0KCy/YIKG603jClPilmFARXb7Bnks5mmkCDPkespLLIpFTSwqklUtyUS3LhPpxzlNpDKn2BH7drvOC0oPqVgREu5xV4QZODOVN5PQw5SJAcufP6fCxojZFCrM0LLOnh0pXGDGMDRONxaMGr0riV2/e9NMFacSW7fpbqQi9VaCPyU5wCNWwymokCpfZELAkfwKkeeVYgH2pyOnCcV/Oqug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w7KzJqn9Oome2EB1eWsbfjE7xajU6aGC5/CYOqT2n8A=; b=js/9TgNVk8ul9LyRDKIsu2Pp7TNcEIbq4v7/V+mUmsmRl15nK6kOM8PPhyhNN1pdIBdIBOJtorPRW35WJWSqI0MF7KASUEq0lOx2pPL5izvpga1O5wkO+FJfwfASuVV6KWOUc3qKytQA7Bn9UjOxLTOqZalYSSt3sbf9lYY+KTc= Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com (52.134.65.161) by DB3PR0502MB4043.eurprd05.prod.outlook.com (52.134.68.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.20; Tue, 10 Sep 2019 13:34:25 +0000 Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::75d2:b478:8f56:e4fd]) by DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::75d2:b478:8f56:e4fd%4]) with mapi id 15.20.2241.018; Tue, 10 Sep 2019 13:34:25 +0000 From: Raslan Darawsheh To: Moti Haimovsky , Slava Ovsiienko CC: "dev@dpdk.org" Thread-Topic: [PATCH v5 0/7] net/mlx5: support for flow action on VLAN header Thread-Index: AQHVZyc1Un4Kv9uI4EyFnjsAgtxdZack6o7w Date: Tue, 10 Sep 2019 13:34:25 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9e0f6fcf-b9bf-480c-9e1a-08d735f39927 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:DB3PR0502MB4043; x-ms-traffictypediagnostic: DB3PR0502MB4043:|DB3PR0502MB4043: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4714; x-forefront-prvs: 01565FED4C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(136003)(376002)(366004)(39860400002)(396003)(189003)(199004)(13464003)(33656002)(66946007)(64756008)(66556008)(66446008)(66476007)(110136005)(52536014)(229853002)(5660300002)(2906002)(446003)(316002)(3846002)(11346002)(6116002)(486006)(476003)(6636002)(9686003)(14454004)(53936002)(86362001)(478600001)(53546011)(6506007)(26005)(186003)(55016002)(74316002)(102836004)(256004)(8676002)(99286004)(71200400001)(71190400001)(7696005)(76176011)(4326008)(25786009)(76116006)(8936002)(6246003)(305945005)(7736002)(14444005)(6436002)(66066001)(81166006)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB4043; H:DB3PR0502MB3964.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 4tCA3W2XzpCcnrsitMMqNi04iU0QnGDako2QqVq1DsT/nkDmp5R1E1wH3k6a0c6niWFJLiqkPzxwzq2y6HLnNCKEVt6LfiMk92hRLvVZ8S7kUEzNaPeWJwISk/hZeLNA5e3ml8R9v0OybNViS8mRP73BTyAkTokmu9V7ACjP2H0MIKIrjq+EvAf+OonHUCCNXKXZs1tqbRCENvRovG+z2n2jwEKZz30nYYt1cOxFNutxsxGVN6CtWD6pMsRH2tUNTX4g+Bcp/GyqcV/f5NvJeI3FiAsNSErmiihd9852enk8ci4UEqhgOVruVccNpt5MWa+pHuA5DPqBjrbm7hM79IZlc1xosrlmv9qHqdBk1ldzQ1QTW1pNcUMgGilw4KzZfqXZsNMCMGdcAfgC70dr2rNxYEv9EXtna+QRICzl5nk= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9e0f6fcf-b9bf-480c-9e1a-08d735f39927 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Sep 2019 13:34:25.7820 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: IlnIqV9rGkdYxrItybcnp+qSxpGWnm+Lc1pUy0oeZMEbYfy+f6+DT2+0jX2+anKgV+NCIGGUyuGg7vQmpZxVcw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB4043 Subject: Re: [dpdk-dev] [PATCH v5 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" Hi, Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh > -----Original Message----- > From: Moti Haimovsky > Sent: Monday, September 9, 2019 6:57 PM > To: Slava Ovsiienko ; Raslan Darawsheh > > Cc: dev@dpdk.org > Subject: [PATCH v5 0/7] net/mlx5: support for flow action on VLAN header >=20 > 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. >=20 > 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. >=20 > This series of patches adds support for those VLAN actions to the mlx5 PM= D > using the Direct Verbs interface. >=20 > v2: > - Code rebase on latest commits. >=20 > v3: > - mlx5 documentation update. >=20 > v4: > - Update the release notes with new the new features. > - Minor bug fixes. >=20 > v5: > - Rebase on top of latest commits. > - Minor bug fix in vlan push action. > - Bug fix in the format of the release notes. >=20 > 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 >=20 > doc/guides/nics/mlx5.rst | 34 ++- > doc/guides/rel_notes/release_19_11.rst | 9 + > drivers/net/mlx5/Makefile | 5 + > drivers/net/mlx5/meson.build | 2 + > drivers/net/mlx5/mlx5.c | 9 + > drivers/net/mlx5/mlx5.h | 4 + > drivers/net/mlx5/mlx5_flow.c | 23 ++ > drivers/net/mlx5/mlx5_flow.h | 27 +- > drivers/net/mlx5/mlx5_flow_dv.c | 538 > +++++++++++++++++++++++++++++++++ > drivers/net/mlx5/mlx5_glue.c | 29 ++ > drivers/net/mlx5/mlx5_glue.h | 6 + > drivers/net/mlx5/mlx5_prm.h | 1 + > 12 files changed, 677 insertions(+), 10 deletions(-) >=20 > -- > 1.8.3.1