From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40079.outbound.protection.outlook.com [40.107.4.79]) by dpdk.org (Postfix) with ESMTP id 5D4DD1B0FD for ; Mon, 24 Sep 2018 21:55:14 +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=zcn+uRnTZEswTfujOlDTCKJkT70Smp5oEuSyUwO9Esg=; b=KI0SSLGHEDSdwsOEelIfjUehK5rIy9yDwFc97egPC/oHIZZAL5HWO8HLQUsDZARkKJJD4Fn4MTf9m1PA/RhsohbHxh3zfPIpEwdjju3k6d3mTeJAD+GWeHiFUw86q2tDEdOvRVJlQ7tPB0MXDi/3x7wIBWPZQ0rsg59JE7U92jU= Received: from DB3PR0502MB3980.eurprd05.prod.outlook.com (52.134.72.27) by DB3PR0502MB3995.eurprd05.prod.outlook.com (52.134.72.30) 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 19:55:13 +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 19:55:12 +0000 From: Yongseok Koh To: Thomas Monjalon , Shahaf Shuler CC: "dev@dpdk.org" , Yongseok Koh Thread-Topic: [PATCH v2 0/3] net/mlx5: migrate Linux TC flower driver to new flow engine Thread-Index: AQHUVECBK3HR7otRdUemy0D/wk6+Bw== Date: Mon, 24 Sep 2018 19:55:12 +0000 Message-ID: <20180924195503.18894-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: MWHPR2001CA0016.namprd20.prod.outlook.com (2603:10b6:301:15::26) 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; DB3PR0502MB3995; 6:NDURhN9ALlle8BLXjx/9jL0DOJfMIjTij0dR2T68FZ6lh8hYshlkl1/ue1mpEySvMbwqotk2iu4Qd5iFiH7wuFZMT8rSMn2oFkhRyupp857/SQBSKS1ie//YWkrXYRIGv5FnLDsBzkhln/fZVhru35eKTNnmWkt7SncmYA2ktyGHQ7WRvfRVxTj7QRjmKSexUrx46bKjYkLy684Egn9vgD3rcuq/uSFH8Xsaqo34f0/yzYStMaOF1Bg/goOTXbJPOPDHuXqHcxV4Y4UXW5nX6Gb5dH1pxde0GmV6M3ag4RBy9qDDTU0mQZ1G2v46J7tHDlby7zCpZ2FrupD5IH1WJ6zBSiiCfTQG6+kOtt1OfTZfH3Osays7KhooduPLk6kZap38ZhlV3EY2i1L24dhzv1eBnWv1OdyL4PC99185QzD0BDbx2/A4DvcMhSSCUpG+VbZApJ1WE2W/R+qChhLDRQ==; 5:n3Xz0NBAwKL9jqVwEboOjfHMgUKxwJ9TcKhmVDIbnarFN8/FSKP/7wRTwEDS7Ijiq8gajfY49MoYYXqmzKP9Sn3lyQadcZBVm8Sc+65bKyuUPyQl34BZp6TQCcvD5PXsY4ctB2YU4suvjsfIM8GC2HhJBZW+zpDwaMCZ7rDt5WM=; 7:FZUoTi4re8ViSAqI+J9nVHIB0rfr6vZq8wXN9rw5oFsA0sRr9mTNw3d1nBWxxLxnxlTBo+37ELQI6yBgo+jIRufzMgXBvf1jAuK5BawLe2USDdXTYGj25gOhKwN8gBkvAKNf2t6toQjhkIj2lfgWr0g9tpA0e4SHJnhxlz6u0TzSpgdFU31cgaAeAE8BL2qrvZrNYmwq9gE9WSGjIT+vEkAaVCDPJNIAhSESOxp8tYqR9uE4N/lqJdP+Wiz+qCxc x-ms-office365-filtering-correlation-id: 33012361-5352-4ec3-3429-08d62257a3c1 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB3PR0502MB3995; x-ms-traffictypediagnostic: DB3PR0502MB3995: 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)(3231355)(944501410)(52105095)(93006095)(93001095)(3002001)(6055026)(149066)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123562045)(201708071742011)(7699051); SRVR:DB3PR0502MB3995; BCL:0; PCL:0; RULEID:; SRVR:DB3PR0502MB3995; x-forefront-prvs: 0805EC9467 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(346002)(396003)(376002)(366004)(39860400002)(199004)(189003)(486006)(2906002)(14444005)(99286004)(105586002)(106356001)(110136005)(71200400001)(68736007)(54906003)(107886003)(25786009)(5250100002)(316002)(11346002)(446003)(4326008)(7736002)(53936002)(476003)(2616005)(305945005)(66066001)(5660300001)(6436002)(26005)(6116002)(6306002)(102836004)(1076002)(3846002)(8676002)(8936002)(966005)(478600001)(14454004)(6506007)(81156014)(386003)(81166006)(36756003)(6636002)(6486002)(71190400001)(52116002)(86362001)(76176011)(97736004)(2900100001)(256004)(186003)(6512007)(20673002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB3995; 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: xV68if6hojWwhf2xIZkSIIP5jrKHxIdFgcIxmD7OnazsDKKjYJygus/fKVeaxrSjOPfxkVb87koBQ373wu04kaJxnr8D527As5mbDljLxQzt2Bvkb8ntWCkw7F8zjZ3/lkH25IIkJfQ+ZLfS5Y290uE56zDflD9pRtNnkfVNcedUeqyOzSYsjiuJgA2+6fYSUjubEFNetqsYvexaLdsXCLeyAomwbSbezKEKXiIrP4+ICkci5TxC98WFLF8AC1SnhNmbW3Hcl3Zo5OI4eU6pb6VHbr/gCk6RwWIPIxVAJR6aOLGa75iyUoxn0t1rSJQQ7Du8W3JJIVytaYqpuM1sb6xgqoYv5uXj2wyFMZOsczg= 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: 33012361-5352-4ec3-3429-08d62257a3c1 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Sep 2018 19:55:12.8569 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB3995 Subject: [dpdk-dev] [PATCH v2 0/3] net/mlx5: migrate Linux TC flower driver to new flow engine 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 19:55:14 -0000 This patchset is to migrate the existing E-Switch flow driver on to the new= flow engine. This patchset depends on Ori's new flow engine [1]. [1] http://patches.dpdk.org/project/dpdk/list/?series=3D1473 v2: * make changes for the newly introduced meson build. Yongseok Koh (3): net/mlx5: add abstraction for multiple flow drivers net/mlx5: remove Netlink flow driver net/mlx5: add Linux TC flower driver for E-Switch flow drivers/net/mlx5/Makefile | 2 +- drivers/net/mlx5/meson.build | 2 +- drivers/net/mlx5/mlx5.c | 12 +- drivers/net/mlx5/mlx5.h | 25 - drivers/net/mlx5/mlx5_flow.c | 352 +++++++- drivers/net/mlx5/mlx5_flow.h | 33 +- drivers/net/mlx5/mlx5_flow_dv.c | 26 +- drivers/net/mlx5/mlx5_flow_tcf.c | 1608 ++++++++++++++++++++++++++++++++= ++++ drivers/net/mlx5/mlx5_flow_verbs.c | 20 +- drivers/net/mlx5/mlx5_nl_flow.c | 1228 --------------------------- 10 files changed, 1973 insertions(+), 1335 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_flow_tcf.c delete mode 100644 drivers/net/mlx5/mlx5_nl_flow.c --=20 2.11.0