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 A3E63A0540; Tue, 14 Jul 2020 16:21:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 40C161D162; Tue, 14 Jul 2020 16:21:11 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60055.outbound.protection.outlook.com [40.107.6.55]) by dpdk.org (Postfix) with ESMTP id 721931D149 for ; Tue, 14 Jul 2020 16:21:10 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gxPu1ZFjmhya4eQJkDUaS6/kAZsWef+oPU9ORxP9f9r8RP9S0aD/nCkttR3yVOwBc4zildMjI6sLTORaz8rFtNR0bGOcZguAkUsoJZOy0dCDnZk3IG5/RKyamj52oIrmJa0Nxrx0oGTccRc/kALPM/bqVZgzR+b+Vcch5m9SI/OWg1Mx1pIrCGxAotMtLmqwdLcdM6cufcurH3iirmxE/dGajP/6eDhEtsuliEsHXa5nqGEKdS3n2UVjPic2gPnoPcyr7TD6icncgYoUQV/xJ7tP9MLAL4yljcv0tQRA/ZlrFvvHNGNVKBmobBBsQd08GDLAmDMw0ELAhmIgQYKcXg== 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=RfMIae/ODIacC68mg80SJE52V6bsnjlrlD4Gc4WeSsk=; b=hlIkwM7BfGoi35eexyT/54G9762qa81vavvYfHRdXzBBBh41uONxY6FnKBskKcUNJivW0xO9554aq5AXTrWq1tGlHK2QkZDWrssdBRBB7DbFrbrBnXCoesfD2GyVfvXYZUP6NZ3onU+mmCVJgALqYbOvVdgfMpuw5Lfu0/Qj9HyCXRkDNK4XfsZHkuO0E/QoQkz+mRzuOxcGoQ1sZ9+xGobEicJz39UicgUJx91Az9KjlQEnnlnzAxT99Ao6kFey+CRr4+GgfJtditX88OsT4diD+LBKBu3eSadR2RmEmHyFM2OoXqi7HiVLe5RHYYx5lbW+JtLo56gStBFuylzbpA== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RfMIae/ODIacC68mg80SJE52V6bsnjlrlD4Gc4WeSsk=; b=Uo/vEyovLltRlSgMEFb2Xy1TlJzkPQmoVkPrtljRgvW9acxUBwZWCaxugw7uVQZuCh5HhZs6JkaXsmBICd/zqccf182aJJU4al9hXStkC1297cTbjhsU+mnZQ88xZilHQ3xMFRThzRb4Y2+bhbciIT/OLa5QmpFH4+r/jrTskvE= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=mellanox.com; Received: from AM0PR05MB4209.eurprd05.prod.outlook.com (2603:10a6:208:61::22) by AM0PR05MB4625.eurprd05.prod.outlook.com (2603:10a6:208:b6::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.24; Tue, 14 Jul 2020 14:21:09 +0000 Received: from AM0PR05MB4209.eurprd05.prod.outlook.com ([fe80::3949:70c3:126:3972]) by AM0PR05MB4209.eurprd05.prod.outlook.com ([fe80::3949:70c3:126:3972%7]) with mapi id 15.20.3174.026; Tue, 14 Jul 2020 14:21:09 +0000 From: Ophir Munk To: dev@dpdk.org Cc: Raslan Darawsheh , Ophir Munk , Matan Azrad Date: Tue, 14 Jul 2020 14:20:54 +0000 Message-Id: <20200714142102.30606-1-ophirmu@mellanox.com> X-Mailer: git-send-email 2.8.4 Content-Type: text/plain X-ClientProxiedBy: AM3PR05CA0100.eurprd05.prod.outlook.com (2603:10a6:207:1::26) To AM0PR05MB4209.eurprd05.prod.outlook.com (2603:10a6:208:61::22) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from mellanox.com (37.142.13.130) by AM3PR05CA0100.eurprd05.prod.outlook.com (2603:10a6:207:1::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.21 via Frontend Transport; Tue, 14 Jul 2020 14:21:08 +0000 X-Mailer: git-send-email 2.8.4 X-Originating-IP: [37.142.13.130] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 9b9e4801-eea9-4e83-7df5-08d828012742 X-MS-TrafficTypeDiagnostic: AM0PR05MB4625: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3826; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 74Ixw1NN1ckkfN54YicuUy20NPSfuPMRfmSNn6xc3kXbOBhX90S+R0rp4ke+zSo82GIsuVrH7d+rPNOHi1AZGW3wEfkQfai/CTWJmxct3zeas0f5tDMqPkS2HqS9qx+FgcdVtX3ED0HdOZ31Zw3FQVNUwSKUN8l8pkQSuHsBXVea0xSb+eCN5/YJh3rRkDkbjPHJtsYV1mDlKdAoTkKXhAgMhJ51kidnon1flddzb2eYhOV6MhsfaAfwta8FqhXD7iSnO0muXWX8sPCSh1lhe/PtvNylojZ7dEr7jDwuEXuYcZVIHoGeeSH0w2KfBYZQOM2/8kUUXya3y+MKZV5ZVA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB4209.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(366004)(376002)(39850400004)(346002)(396003)(36756003)(86362001)(1076003)(8886007)(6666004)(66946007)(316002)(66476007)(52116002)(7696005)(5660300002)(26005)(66556008)(54906003)(478600001)(6916009)(83380400001)(16526019)(8676002)(8936002)(4326008)(956004)(2616005)(107886003)(2906002)(55016002)(186003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: dXzCHiZSUtNmahMClqvJDxkNmR08b+MvBKwv8BG4hzLUEOcrGLGKywb8BJ6oXlKzwgqB+JMQjp2lFsVwTlRHheETAyyTmO61qqY/JZ+tsXdCjcsU7MM3A1Cvv/hTkLsDUc1gMBXsHOcwh7Xi9prAbidPbCnsZutLKlqRmnIYXIEJDGsW4aNCan4LN356uyIuoAwx4wA8D323jTdtQAqDgvXW0QNDbi21Of2akBa9z/SKw3ThBw7mXqf5mq234JAR6R9baR6TSDhdjKgnWVpVfeeNYud6l4l0duUEg18f4oqt12mHj+6Bptnppbufc9bpJtZHiCo+WU2yYCz5uJb/YrXlEC9DyG7PdkeCETj+bKpHlXyghI1bhxS6kVOiG7KUT9qBSq4AucvbwiiefuIeA3C/hdIfSWtIFstAHjWT3pntG9vcLuaZueyD1tNbfbhBY8aJ2SrWlS94evhG2+7mr/39RKzKs20dnqeGa/S/v/G0P+HIi953Xsn+P1uTtbAP X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9b9e4801-eea9-4e83-7df5-08d828012742 X-MS-Exchange-CrossTenant-AuthSource: AM0PR05MB4209.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2020 14:21:09.3711 (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: g+lTQ2DHOBXy6u1WQngj38xifCayz6MWQq8tLORh2gabSAed49rAXXHKZ158TYoK+55kFMJbNcm0gw9SxeDxjA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4625 Subject: [dpdk-dev] [PATCH v1 0/8] mlx5 PMD multi OS support - part #3 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" This patch series is part of preparing mlx5 PMD to compile and run under multiple OSs. Part #3 v1: Initial version Ophir Munk (8): net/mlx5: move flow prio discovery and adjust under verbs net/mlx5: replace Linux specific calls with rte API net/mlx5: refactor Linux MAC operations linux/mlx5: add setters for promiscuous and all-multi net/mlx5: eliminate dependency on Linux in shared header net/mlx5: header file cleanup net/mlx5: refactor multi process communication mlx5: remove inclusion of verbs header files drivers/common/mlx5/linux/mlx5_common_os.h | 7 +- drivers/common/mlx5/linux/mlx5_common_verbs.c | 15 - drivers/common/mlx5/mlx5_common_mp.h | 11 +- drivers/common/mlx5/mlx5_common_mr.h | 11 +- drivers/common/mlx5/mlx5_devx_cmds.c | 8 +- drivers/common/mlx5/mlx5_prm.h | 13 +- drivers/net/mlx5/Makefile | 2 +- drivers/net/mlx5/linux/meson.build | 1 + drivers/net/mlx5/linux/mlx5_ethdev_os.c | 416 +++++++++++++++++++--- drivers/net/mlx5/linux/mlx5_mp_os.c | 211 +++++++++++ drivers/net/mlx5/linux/mlx5_os.c | 490 +++++++++++--------------- drivers/net/mlx5/linux/mlx5_verbs.c | 15 - drivers/net/mlx5/meson.build | 1 - drivers/net/mlx5/mlx5.c | 124 +------ drivers/net/mlx5/mlx5.h | 67 ++-- drivers/net/mlx5/mlx5_flow.c | 121 ------- drivers/net/mlx5/mlx5_flow.h | 12 +- drivers/net/mlx5/mlx5_flow_dv.c | 20 +- drivers/net/mlx5/mlx5_flow_verbs.c | 122 ++++++- drivers/net/mlx5/mlx5_mac.c | 59 +--- drivers/net/mlx5/mlx5_mp.c | 211 ----------- drivers/net/mlx5/mlx5_mr.c | 9 - drivers/net/mlx5/mlx5_mr.h | 11 - drivers/net/mlx5/mlx5_rss.c | 10 - drivers/net/mlx5/mlx5_rxmode.c | 23 +- drivers/net/mlx5/mlx5_rxq.c | 20 +- drivers/net/mlx5/mlx5_rxtx.c | 12 +- drivers/net/mlx5/mlx5_rxtx.h | 11 - drivers/net/mlx5/mlx5_rxtx_vec.c | 12 +- drivers/net/mlx5/mlx5_trigger.c | 4 +- drivers/net/mlx5/mlx5_txq.c | 40 ++- drivers/net/mlx5/mlx5_vlan.c | 17 - 32 files changed, 1000 insertions(+), 1106 deletions(-) create mode 100644 drivers/net/mlx5/linux/mlx5_mp_os.c delete mode 100644 drivers/net/mlx5/mlx5_mp.c -- 2.8.4