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 37AC2A0540; Sun, 19 Jul 2020 16:56:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D57B81C10C; Sun, 19 Jul 2020 16:56:52 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70088.outbound.protection.outlook.com [40.107.7.88]) by dpdk.org (Postfix) with ESMTP id E76DB1C0B9 for ; Sun, 19 Jul 2020 16:56:51 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UM5p1CKDisq3JgB7FRlbrtEJlKv7EmakUA/DMV1wc5Q21bN27iH6c67r19Ys/RCfeNTZumrS6yeWOx/LPA+Hs4XcgHXnE2VmMwOhlRr+XrJwxmU8n6qyd5sUZvWmQMLGQXR3DvWkh/n10XEKYsVjX+W9Y0jsUHXHvT7blB7Uqdd87GONI+9lrgbTnbf7Cx9chZwLF22yImJEhSziynEVirxYIVLw9H88VGhXGzMO7OcZDmaMMGC7R5qg2acXOFB1oFYwmCPr8WzJY3OO1mtxrNjdnI31SAiTeCGrb9cDb53iqi9PlkF9N3rghynYD0TBSbHK/Ju03lgjosILoX7rYw== 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=R4MuqOAbiimvRNnH9wrV7byc2BrIQzSLSMaCwY7TjW4=; b=JjXmpF/r1XMvPn7sdrjgg0OQEa+QsUdUL3NEKkJyTRCb2abgp/QsHxsffF5b0bB95a3wsFgmtx5bcFiNzwWrDuoL1/M5VcRWmFa+JP2tkwRcQCMFYE97gCYzFTMujDWDjJtIVbVWJoRoUVIqDTIpnNugbP0NpTgcmSxs5j4vBRNHE40NylgA4o2a2k9hvjQ/OVA6t/xEqXVxWEWri+bgZm2PVOiG8oLd1Y0RoXb/8jGDfbtRZdj3/e51fdp6IfPTJOjfTHynOC8EovxV2zJYEj+sieNZVpaFeNMPI2oW2t9R+NUDWQi95LcL26ivqRfBx1Ek2K8k7EmJLi2NeGb7Ag== 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=R4MuqOAbiimvRNnH9wrV7byc2BrIQzSLSMaCwY7TjW4=; b=EyneS1OE5ZcfHBWMBl5ARwx7qZaV7M6iRmAPrMZ+KPNfVzh7i8Mxq+knaWH1i/91s6BDyg4vvk3JEOeC6HAMM0XvOXrtyoR4Bpc61mjQSY14XOc334oBA8+do4c77/742/Pw91EC4B3HX28ZzL7Li1U9+1XVUIUr3Aljy6A2DE8= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (2603:10a6:20b:15b::17) by AM4PR0501MB2721.eurprd05.prod.outlook.com (2603:10a6:200:5d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.23; Sun, 19 Jul 2020 14:56:49 +0000 Received: from AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::ecd3:6008:3784:4012]) by AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::ecd3:6008:3784:4012%5]) with mapi id 15.20.3195.024; Sun, 19 Jul 2020 14:56:49 +0000 From: Raslan Darawsheh To: Ophir Munk , "dev@dpdk.org" CC: Matan Azrad Thread-Topic: [PATCH v3 0/8] mlx5 PMD multi OS support - part #3 Thread-Index: AQHWXbXx2BmE3089CkCSq5ERNC12oKkO/gDQ Date: Sun, 19 Jul 2020 14:56:49 +0000 Message-ID: References: <20200719071112.8540-9-ophirmu@mellanox.com> <20200719101816.16406-1-ophirmu@mellanox.com> In-Reply-To: <20200719101816.16406-1-ophirmu@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [84.242.49.134] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 518c8543-d001-46a4-34fe-08d82bf3f74b x-ms-traffictypediagnostic: AM4PR0501MB2721: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3968; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qnJ3G4m7CBN8TD7e6xCgaX26g6MCtKLxJjknmMGU8Hm/rsQ/6RwUBgnJvcsLrpKC8JCiC9RxpibOo7OmyIEZKRHlEAxRyqVGbGOuHm5IzvBlJMGWeB7qfXU7CjNnf/ELl8Z/ztt10MS2l3oqMKHFGwR7bOtE6v8Wp41uatZ21dewnQ01AOqkP6Swib9y4sDRb/6Gnjp1+LEMSds22l6lICB1ozX9nDr2bqPWsLzvcFd18JoMYYd65yhgoLxmNsxPt01zoV7E2ULhWVUzEhs1VzZjnPkCv3lcGznlycV+r7iGzbbyEpLBi18XVOv2qAvLzjsZuGlruAEHqQAak3H+Wg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB6707.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(39860400002)(136003)(346002)(376002)(396003)(83380400001)(26005)(71200400001)(53546011)(107886003)(6506007)(5660300002)(55016002)(33656002)(66446008)(110136005)(76116006)(52536014)(186003)(9686003)(4326008)(478600001)(86362001)(66556008)(64756008)(66476007)(8936002)(7696005)(316002)(2906002)(66946007)(8676002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: W7wKP/EYvX/f6EuTrDZEkyLQaCz/tTqtO1Deb/6r60Oj5KG1XdEjG6uLJ3qt2LVqsn4YUr5PM1ieIpTj0w7oSLzwHpagc/v5Af8TXtSB9JR9Vhykp2LHCk6I2UOurNKJbB6RX1fSAP6OFr2VjIrTNeI4ryR5BmF8MSSnGml7IgRXX4dxp9v4PLYg+oQ7QcC/r9L+7w93KJLGUEHNJFa/KNTgK0aZO8rvMUb0HxIvScaanjrakQOsWEspt2mRnDeC2fc6SVfO2YmjiqMMcGiaRLRUpKGqOa1+eVQCV26GcX5AK0uLMQ1UNuvWSw8RdQ3G4gCKOcAdSDSjZ4Fqp+qVl9j26WAwnS9lhikV71eGJmqoWi2aOsCV8oM3XCdqQ1pc71mppX71WjaAaZCZuLTXex8DlWd/zezMQRSQ0F5zVPvOpXeLsD3E0MDhuzCi8zUN56hILOwOvIh7W+qWPWhMw0q8XJzNXYNK4KUu8Iy4tDQ0IEfMQK+m8ayL8mE97a4U Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM0PR05MB6707.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 518c8543-d001-46a4-34fe-08d82bf3f74b X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jul 2020 14:56:49.7599 (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: 8Xy7Wvp5Onud/ES4geGvcejWc2T71tL+jQFLTH/Jc5pKN322gyixCwgMabl+eNVdWvcoQ4GN7srerlT10+i/6g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0501MB2721 Subject: Re: [dpdk-dev] [PATCH v3 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" Hi, > -----Original Message----- > From: Ophir Munk > Sent: Sunday, July 19, 2020 1:18 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Ophir Munk > ; Matan Azrad > Subject: [PATCH v3 0/8] mlx5 PMD multi OS support - part #3 >=20 >=20 > This patch series is part of preparing mlx5 PMD to compile > and run under multiple OSs. Part #3 >=20 > v1: Initial version > v2: Version rebased > v3: Fix coverity complain: BRANCH_PAST_INITIALIZATION >=20 > 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 >=20 > 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 | 9 +- > drivers/common/mlx5/mlx5_prm.h | 15 +- > 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 | 212 +++++++++++ > 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 | 66 ++-- > 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 | 212 ----------- > 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_txpp.c | 15 +- > drivers/net/mlx5/mlx5_txq.c | 57 +-- > drivers/net/mlx5/mlx5_vlan.c | 17 - > 33 files changed, 1030 insertions(+), 1112 deletions(-) > create mode 100644 drivers/net/mlx5/linux/mlx5_mp_os.c > delete mode 100644 drivers/net/mlx5/mlx5_mp.c >=20 > -- > 2.8.4 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh