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 C6398A2EEB for ; Tue, 10 Sep 2019 08:10:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6BEB01EB5A; Tue, 10 Sep 2019 08:10:14 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70078.outbound.protection.outlook.com [40.107.7.78]) by dpdk.org (Postfix) with ESMTP id DC9E71C034 for ; Tue, 10 Sep 2019 08:10:12 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IaaQcpGhVbdk6sLuKaOwyRK7cRgYfMJEC/CVun1IFop29sUGTql8PFG+YAe9bySRX2V8ylihN9G/i0XztOLu4wtXPl4ziy5n3fyWTu+qo535wkw4Eycw6eMbU2c4CX6wNYlL4ENJGrZS+jevKDWZrsuz/NFq9tGOazIS97zsMfykEJGtBdutO05zhVlDCRyRZul1JwExk2e9Zd0MaF76247+A5ms/fw0Yjt+FQo7xzjFczEk7Uh+Y50kEYe0EMKQJrVoY4K1bj0jNr4xoCAH1u7T94DgW0/JWUX9pEWQN9aVmt0vicO/38YXJtC22F55tD0utmaf1PW8PCrjB6C5Zw== 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=OjO2XYty7M3n5UlOjxOK1fkkszqdOYIexIhRIl6we5g=; b=Tt6TZifatQpNZWFYhkIimi+UIXrBTOI/I9uW/dxocxUemO/xYZjXiM8RiLN2v7+SJx+O62qiOvMFfSBMnYimqjb7Xw3SxB/bT/JSNU8Iwi8C/gxEIojAtlApFLoWs0LW/UWyyorQSZgBm8kLIwmS21vg+ojuV+sc7yt6n8UMlUuJOxitIr8nabc+HYUi9k8qyaivlhjrsW8eZgtRbFha1A0qjIBcltXRAbmC6dyE2ctGq/G1lCE2BY6o4opCiFGyqHsGB+G2Y6NStRizPENpSzOPQ/rvHmshUjL4Fj51tPcQD+eSFAgil0ZUBynPgEc5W7bJpe7+WUn1BCeUfP9niw== 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=OjO2XYty7M3n5UlOjxOK1fkkszqdOYIexIhRIl6we5g=; b=htMKyFwQcRUF0FoOkwiLTXqDbL3POhbyN4y263qMhq5MPL8DYCjPfAsUtUvBD1dxbfYX8EgjHVb1XUYR5tVm1mlwkZuNS3+TZRbcdTqCM1SKrqmBW3sB2PMO9Q/1CN9pDu+N9H4ainPJDUw28TNJv7+AY0TTv7qr7kvGCrxnRMA= Received: from VI1PR05MB3278.eurprd05.prod.outlook.com (10.170.238.23) by VI1PR05MB5807.eurprd05.prod.outlook.com (20.178.122.205) 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 06:10:11 +0000 Received: from VI1PR05MB3278.eurprd05.prod.outlook.com ([fe80::d4c:75b4:c928:3890]) by VI1PR05MB3278.eurprd05.prod.outlook.com ([fe80::d4c:75b4:c928:3890%7]) with mapi id 15.20.2241.018; Tue, 10 Sep 2019 06:10:11 +0000 From: Slava Ovsiienko To: Moti Haimovsky , Raslan Darawsheh CC: "dev@dpdk.org" Thread-Topic: [PATCH v5 0/7] net/mlx5: support for flow action on VLAN header Thread-Index: AQHVZyc1Ygs9jVHm1kC05+22sJQRq6ckbkJQ Date: Tue, 10 Sep 2019 06:10:10 +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=viacheslavo@mellanox.com; x-originating-ip: [95.67.35.250] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 12c82000-07e9-41fc-e898-08d735b589be 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:VI1PR05MB5807; x-ms-traffictypediagnostic: VI1PR05MB5807:|VI1PR05MB5807: 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)(376002)(136003)(346002)(366004)(39860400002)(396003)(199004)(189003)(13464003)(6636002)(86362001)(102836004)(76116006)(66476007)(66556008)(64756008)(66446008)(66946007)(229853002)(55016002)(71200400001)(7696005)(76176011)(33656002)(3846002)(2906002)(71190400001)(186003)(26005)(53546011)(74316002)(6116002)(6506007)(5660300002)(14454004)(446003)(8936002)(81166006)(6246003)(4326008)(52536014)(316002)(476003)(81156014)(7736002)(11346002)(8676002)(110136005)(99286004)(66066001)(486006)(14444005)(256004)(478600001)(53936002)(9686003)(25786009)(6436002)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB5807; H:VI1PR05MB3278.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: BqAnh0kl3N/kVGzE/Jsq+915LjRBPmqg9Dht/wL1gsWjp/NAZ9CZO3sFGf1hLsVBkIe1gr7cICI0AJ9vmv9CpcvozeUpcmEAxfEoHPA2jAzemdk+wOq7ik0qxuGNvUa/lPNOa/IDx5uIkQT1sWO55K+LMNnQGb7OzFNB+xAIj3QGYYJi92xXOkUAzEkiHkhFxxgnSFwSbsDuuwNvxSYEGdxis1uLOcFnrv4TQp/+Tqx652EY2dU16AqP/eU+x+HAEa+oFOFqjUKyvp7SEFk5gHHn+3auzUNDYnOaJmZOoIUM8c548gi86AaR9lnMMIQjUXizpFBUON6REonSPK8rgz5gYOdiGoErLmZV9h716okJy99Ec3J8lPAI1x5VVaOjKIodp+pRRAgaCvUJMCide2FxCBVLKxX5u+D2Fw+lCzY= 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: 12c82000-07e9-41fc-e898-08d735b589be X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Sep 2019 06:10:11.0408 (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: BgLJaIqWSBWISgziJZkAVACfj/wCwzgdDDMQ6VfCDp4zxdhsEjcyPM3GuMQGWY3aFg49U5eUaZy+5uwUUz7iWm+f7eAwi+Zdy8UdhKm/I88= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB5807 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" > -----Original Message----- > From: Moti Haimovsky > Sent: Monday, September 9, 2019 18:57 > 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 Acked-by: Viacheslav Ovsiienko