From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10062.outbound.protection.outlook.com [40.107.1.62]) by dpdk.org (Postfix) with ESMTP id BF8486C9B for ; Tue, 25 Sep 2018 01:17:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=woQAD3lDQJzXriRs1KHiETuP0F7kt8dIfLyroEguEJ0=; b=eXnMaRQlDs8mtMYJdiyRy5YxxOPgFlB6Sk3oUbKcV0fDvOU0M2NIaUkEIJpegUEzuq5ciDhhwSM68k7QKSFSBMFkOVBnuoePHWCPH8gtDmiB/M24TTkZ0BFqUX9UL4ZX03n5RciNtoMp+D7rjwxthEYLSe+Ffe+VREgF3xjg3lU= Received: from DB3PR0502MB3980.eurprd05.prod.outlook.com (52.134.72.27) by DB3PR0502MB3996.eurprd05.prod.outlook.com (52.134.65.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.25; Mon, 24 Sep 2018 23:17:33 +0000 Received: from DB3PR0502MB3980.eurprd05.prod.outlook.com ([fe80::1cb0:661b:ecab:6045]) by DB3PR0502MB3980.eurprd05.prod.outlook.com ([fe80::1cb0:661b:ecab:6045%2]) with mapi id 15.20.1164.017; Mon, 24 Sep 2018 23:17:33 +0000 From: Yongseok Koh To: Thomas Monjalon , Shahaf Shuler CC: "dev@dpdk.org" , Yongseok Koh Thread-Topic: [PATCH v3 00/11] net/mlx5: add Direct Verbs flow driver support Thread-Index: AQHUVFzFED50LKeITUquxxb23yVeSw== Date: Mon, 24 Sep 2018 23:17:33 +0000 Message-ID: <20180924231721.15799-1-yskoh@mellanox.com> References: <20180919072143.23211-1-yskoh@mellanox.com> In-Reply-To: <20180919072143.23211-1-yskoh@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BN6PR03CA0021.namprd03.prod.outlook.com (2603:10b6:404:23::31) To DB3PR0502MB3980.eurprd05.prod.outlook.com (2603:10a6:8:10::27) authentication-results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [209.116.155.178] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB3PR0502MB3996; 6:35fOOsVwQ2j5BjMPjRUgAppzjNE6Yq5hg5ivDF35uWzeWt1mmLgT/LNpfMoKeNAG07OpwXD4GNEdu9pL0zLaRcfUX6suz1ZV17x1YqiMP7xMntvKcUCGx7kw8bMS/rwdBha/CDvIx6JaXEIjAgtswaJ836D/hdW2z8VR37Ae7W9wBgRUixHclnOs/xqb9HlhD2HkRSCRLHAkO+hmQycrXifMwWnYQcqCqeGUYAvxhqvxaTx3QcQKuVjjFqs1SAK3AqNyeUYV/i+vo4PujYhpXgG2P9EAEC6EjHiVwT1bF4uruHapSZ7BMvqOUI1Ue7KIYZhOOb5X3+ea3PV5zUnaD3JzD8nO/tnfmi/+Jziv31updIpDTxzBK42NlKqitBi+1c9LNz7h3g/fFNXNSdo+pFm9PEnTLqVA30688kv9MZEKL2wNydkxcSgC/8GRvX4egVzL7wjK5iCZv2St17kgLg==; 5:uJjgtyzdWJXH8lCYmO8khxsYqU/AREnvYbvppZ4I4uy5VQG+KlMLyvfb+31Zd4TmNTwrr/DSoRjqOeVM6Fp7CI3J7xWfvUrbiXWsJ2bF+g4QL4hFcmdAzVjUAJf0juKSxTdTHlCQ0h280l/lWi+55h1/pTJIOXBIzNgNdbQ7IMo=; 7:bfqcvpVE+SBLEbnKGu2QnHGrPGKmY56sqFjTwYfOqc3iCkxuXNyMDUUt/fCRIT177hNWRh6P/ZP4ir2x2g1FWUwTlbXo39OPKCV/C0ZtUZKaaz/ikQ1mCXq5Oq6UBDoYxXlFVaTr6j1HwPpmSI+3ZVP+z+QxUU3vs2YGG+urZ5KQiEoiCaPLR75gTF+7Ysdj491Yla8sJuDInKfIqQsAFxBn+SeGVmyJf0efBjAcKfvkKYs5Akl+UExsAi9HWT9r x-ms-office365-filtering-correlation-id: 7fb168d3-0fbc-435e-ae70-08d62273e821 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:DB3PR0502MB3996; x-ms-traffictypediagnostic: DB3PR0502MB3996: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231355)(944501410)(52105095)(6055026)(149066)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123562045)(20161123564045)(201708071742011)(7699051); SRVR:DB3PR0502MB3996; BCL:0; PCL:0; RULEID:; SRVR:DB3PR0502MB3996; x-forefront-prvs: 0805EC9467 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(376002)(346002)(366004)(39860400002)(136003)(199004)(189003)(66066001)(2616005)(476003)(446003)(486006)(11346002)(6436002)(305945005)(7736002)(386003)(6506007)(6306002)(6486002)(6512007)(186003)(102836004)(5250100002)(76176011)(25786009)(26005)(68736007)(6116002)(54906003)(110136005)(99286004)(1076002)(3846002)(71200400001)(52116002)(86362001)(53936002)(71190400001)(97736004)(8936002)(107886003)(256004)(4326008)(316002)(2900100001)(81156014)(8676002)(36756003)(81166006)(105586002)(2906002)(106356001)(6636002)(478600001)(5660300001)(14454004)(966005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB3996; H:DB3PR0502MB3980.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-microsoft-antispam-message-info: Pp91xriggqjdfr5AEdDnhCAtjCFzCinHtZn6rjoavN4iWA5Z50a2XLbOOsqxB4n80p9yX/YcQkVsYhtuhsFz7y9G/55RUyiDYloKb+uXKYjA7x05v/RV6uSNaVhdUiqPEAs5LQG3uKZ7EI6UiLfD78NnyGKVAzJOppuNGZHuLozyOkjKmdCqnYS0Hifs7VO/Cum49aIABHEBQKkK8bPQSaK5wiWTV97iuVECMJ0ShZypnYpjeOFqpmoexmM5pUYGNG+o2XPZw1dN/BwQ8SNNM0mGsQo2F+WFfYordHPpfdGJVxox1kHbMw4pMdBkj98kwmeKvLzcYB4oEexSkp9qINpPS6I+jg058tipIZbVj50= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7fb168d3-0fbc-435e-ae70-08d62273e821 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Sep 2018 23:17:33.6077 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB3996 Subject: [dpdk-dev] [PATCH v3 00/11] net/mlx5: add Direct Verbs flow driver support 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: , X-List-Received-Date: Mon, 24 Sep 2018 23:17:35 -0000 RFC: https://mails.dpdk.org/archives/dev/2018-August/109950.html v3: * fix clang compilation error. v2: * make changes for the newly introduced meson build. Ori Kam (11): net/mlx5: split flow validation to dedicated function net/mlx5: add flow prepare function net/mlx5: add flow translate function net/mlx5: add support for multiple flow drivers net/mlx5: add Direct Verbs validation function net/mlx5: add Direct Verbs prepare function net/mlx5: add Direct Verbs translate items net/mlx5: add Direct Verbs translate actions net/mlx5: add Direct Verbs driver to glue net/mlx5: add Direct Verbs final functions net/mlx5: add runtime parameter to enable Direct Verbs doc/guides/nics/mlx5.rst | 7 + drivers/net/mlx5/Makefile | 9 +- drivers/net/mlx5/meson.build | 6 +- drivers/net/mlx5/mlx5.c | 8 + drivers/net/mlx5/mlx5.h | 2 + drivers/net/mlx5/mlx5_flow.c | 3285 +++++++++++---------------------= ---- drivers/net/mlx5/mlx5_flow.h | 326 ++++ drivers/net/mlx5/mlx5_flow_dv.c | 1373 +++++++++++++++ drivers/net/mlx5/mlx5_flow_verbs.c | 1652 ++++++++++++++++++ drivers/net/mlx5/mlx5_glue.c | 45 + drivers/net/mlx5/mlx5_glue.h | 15 + drivers/net/mlx5/mlx5_prm.h | 220 +++ drivers/net/mlx5/mlx5_rxtx.h | 7 + 13 files changed, 4635 insertions(+), 2320 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_flow.h create mode 100644 drivers/net/mlx5/mlx5_flow_dv.c create mode 100644 drivers/net/mlx5/mlx5_flow_verbs.c --=20 2.11.0