From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0073.outbound.protection.outlook.com [104.47.0.73]) by dpdk.org (Postfix) with ESMTP id 80DEC37B0 for ; Wed, 19 Sep 2018 09:21:56 +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=CWoAcsdQxLTj1BoX1SkMgnSj4DfEC+jrs0E/fLSWJy8=; b=NMf/VCqAoCtUa6OjlyY/rYAY4w3GTd5Kju+lixSjACrP2DNujRxLh2imOqHhXeBPCwTAhN2dh2lvDdXarS7W+/ARYpHaaWkLCihSU/ZzexiJUSQDsMZFmZ88xNOvQN1Q05ObSy+N5mMt0snlcL/kOf1zM3Vq/g+w2FuT+QKYhiA= Received: from DB3PR0502MB3980.eurprd05.prod.outlook.com (52.134.72.27) by DB3PR0502MB4060.eurprd05.prod.outlook.com (52.134.72.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Wed, 19 Sep 2018 07:21:53 +0000 Received: from DB3PR0502MB3980.eurprd05.prod.outlook.com ([fe80::452:cfe7:8363:61c1]) by DB3PR0502MB3980.eurprd05.prod.outlook.com ([fe80::452:cfe7:8363:61c1%2]) with mapi id 15.20.1143.017; Wed, 19 Sep 2018 07:21:53 +0000 From: Yongseok Koh To: Shahaf Shuler CC: "dev@dpdk.org" , Yongseok Koh Thread-Topic: [PATCH 0/3] migrate Linux TC flower driver to new flow engine Thread-Index: AQHUT+lwW/a82FEgQ0Gxxd6Es6CX1w== Date: Wed, 19 Sep 2018 07:21:53 +0000 Message-ID: <20180919072143.23211-1-yskoh@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR03CA0020.namprd03.prod.outlook.com (2603:10b6:a02:a8::33) 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; DB3PR0502MB4060; 6:fP0Pz1S3P0vmHzKhPj2bg4uZ2nqzHOog3HYSlQ5b7dSo9vSm8JOWPDGdUQWfpSWVsO9pAJ/fphwv48YXwhEyv4S27dRK3fK/g6Q79yCkFc14NVRf2+A4cYUK3LYwRpY7TTscHJNJCEXKhMJQeAwtGgudK023t/BtpNpLbRcYmHyQk+SyArsxCjEBukE3C6lnNhsGSnkdtULbTKjgSpCvnQbT1fO8oOCZCo8is3SPnI+Bsntn38mBLl4gQSJKAX3KEb/XOG4TifjiYBFnXHQQga0AuVDqdXUwU1gdiiXVub3Oj3mFZ4YHecyN6D9v6QR4nA2TC9IqGhxYrOLb/AgkWZFvKvq39FPLIciEvJiucpXI7QBo8tkdZ2tOZ6/W6lz4SOwl6WnnS1pWO497VQNS7Kh4xfWxdhVjLGNTrlFJ9sohZy5iuyn8sIhs9HbUK7v58yY41a6CGDv4tjn8q+0gRw==; 5:tLKS7pxb6m3pV6Zl/Fy6NGl1xWAcXyATFVntos/FGk6WVGRNF3gWNnY9tS4S8lyUG5kekclSutv2XuSYCfofYzVEzt05BcIp3SzJ6dpsusEwi2/xh/o+NxZtqJ+XjIaoGWKMvFTWKQUIL0Amh7RvarHXHE6E5bBlYObr8xXq4/w=; 7:yIMpeOp+hFo4JliXeI1O3FEySuEX5oPpIbq78JuaS2PAgdOyFzURhBM/AeuOfOfd3N9+vE7GvG+Xwwavn2JKbQWEdIl3GpgQYBFLFoHQ5cOZMdS9RHIVu9ajd03YPzQ6bAAeE2Xp3u8eoP7DPxo0PTsTbcM17ZXeLjdk667fo6uNd1BOdSqcJcomNqzUefv5rIIosY+JR15Qwp7j1fB3bqat4ytCOSvyF58c9wL3H3KQnZ108tszN/hUuHPZDa/P x-ms-office365-filtering-correlation-id: 08859ad8-33a1-4730-552e-08d61e0092d5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB3PR0502MB4060; x-ms-traffictypediagnostic: DB3PR0502MB4060: 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)(3002001)(10201501046)(93006095)(93001095)(3231355)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(201708071742011)(7699050); SRVR:DB3PR0502MB4060; BCL:0; PCL:0; RULEID:; SRVR:DB3PR0502MB4060; x-forefront-prvs: 0800C0C167 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(366004)(346002)(396003)(376002)(39860400002)(199004)(189003)(3846002)(6512007)(68736007)(99286004)(6436002)(6486002)(86362001)(97736004)(478600001)(2900100001)(6116002)(4326008)(2906002)(6862004)(1076002)(106356001)(54906003)(25786009)(36756003)(8676002)(8936002)(81156014)(316002)(966005)(486006)(5660300001)(66066001)(105586002)(37006003)(107886003)(102836004)(81166006)(476003)(305945005)(7736002)(2616005)(6636002)(5250100002)(256004)(53936002)(386003)(14444005)(14454004)(26005)(6306002)(52116002)(6506007)(20673002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB4060; 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: wx+jBX/WlreG+GZeiBYnrfQFYa/6E7jGrndDqecRtWp3UK9xBlbvvjiuojo6wDYn1GQj40lwGRkvkmsi+ZhL1x9U4je8PwaBUiZyP7LUwO34ay4YM9fod7NQ9oq+No2SeEWVs6Tiv2GIPx1YIOpFyCEzU/8cDr1yWQPHZMHZmDZpEYr7XeRLFZ2TY3xg5EnZKP68fNKoAPnatp0azwGOsw+bQOJgL4a9qEgp0OpSrVeASlSxxRZmhJKIEMFKgWP4LOqV/4J7Vdr/NNFnUV+k1BYDrYfN29Le/p1DD7bqWyk4ZdXlMUJ+Nz/9OA9k7dQ8bBsXx4kA42DO1FoWOYMcHTBuNpHSnmydD6ZVkMG9cnY= 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: 08859ad8-33a1-4730-552e-08d61e0092d5 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Sep 2018 07:21:53.6895 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB4060 Subject: [dpdk-dev] [PATCH 0/3] 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: Wed, 19 Sep 2018 07:21:56 -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=3D1380 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/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 --------------------------- 9 files changed, 1972 insertions(+), 1334 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