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 2B89AA04B1; Thu, 27 Aug 2020 11:53:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2EB7D1C139; Thu, 27 Aug 2020 11:53:20 +0200 (CEST) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by dpdk.org (Postfix) with ESMTP id CD7F61C002 for ; Thu, 27 Aug 2020 11:53:17 +0200 (CEST) Received: from hkpgpgate101.nvidia.com (Not Verified[10.18.92.77]) by nat-hk.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 27 Aug 2020 17:53:16 +0800 Received: from HKMAIL101.nvidia.com ([10.18.16.10]) by hkpgpgate101.nvidia.com (PGP Universal service); Thu, 27 Aug 2020 02:53:16 -0700 X-PGP-Universal: processed; by hkpgpgate101.nvidia.com on Thu, 27 Aug 2020 02:53:16 -0700 Received: from HKMAIL101.nvidia.com (10.18.16.10) by HKMAIL101.nvidia.com (10.18.16.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 27 Aug 2020 09:53:15 +0000 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.59) by HKMAIL101.nvidia.com (10.18.16.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Thu, 27 Aug 2020 09:53:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bPL/4LZl4ClmeyR8IyFXZxlOtEBjCiUmVsG3LDaSKcTs48byNKgpUEHPSbhNx2zmztBh//L2+9aO9KbxMmajjHIE7cCO1fuHd49aO8BrypaxIKz+BsIFdoKPhw86DEooZrf4x/7THBzPRafv/TeFwn6TQ/vtBfNV+hw9X2MbB5s45EKqbeWKCt4miZFrf9glZv9LbZxh4DclcsVPchczEpkafWl0wg6WURjxyn1pUQqtMhEF7C0IJ6m9IG6TnJPbK0a6JdBBloFYC9YTGWtirnIgk+9EdB4ukqwjo2DOyhY0PhMC9Z9Nj2NFhvXnscKRmcWjBFwm+8Yjy4KScnE4mg== 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=GDk1ktuG+XAxhUlLaw64RzOreQLr1gHu0MiKGTpHuyI=; b=mZYGnpWJdFA/FAwV7iwJ2Ri/QvGmSFTtsN07/C83JJGGWHAHDfXfQLnF416zz7K1FnDpeVppYu3NNfub5RlFOcMmqP4XtYiw2UONlJgTr8zIsAvr9bM29uVlz9yxwZimwtR+7d/HhUBIH/onMuBHUKIuifSjOYhPS4G8TSPoNa1rn7ngpYooEOwcBsj3CUYIxFdQJkv5PV57Z7M4HU1F7ZKYOUGcjyH7ZJ192ONYZadi/1FpTUJC5FvkvurjWz0A2p/Cr0IbWVD1rf9U3zN5CnVzlkOtnPffmqY7PcLyDY/5JZqxfFu4k1xvCW1TjDGjBmw2YW7tyzKE0d0XweR/cQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from DM6PR12MB2748.namprd12.prod.outlook.com (2603:10b6:5:43::28) by DM5PR1201MB0089.namprd12.prod.outlook.com (2603:10b6:4:50::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.21; Thu, 27 Aug 2020 09:53:12 +0000 Received: from DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::d476:6252:66de:2c7c]) by DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::d476:6252:66de:2c7c%7]) with mapi id 15.20.3305.026; Thu, 27 Aug 2020 09:53:12 +0000 From: Raslan Darawsheh To: Ophir Munk , "dev@dpdk.org" CC: Raslan Darawsheh , Matan Azrad , Ophir Munk Thread-Topic: [PATCH v2 00/13] mlx5 PMD multi OS support - part #4 Thread-Index: AQHWesKEGUC/hF/ra0aY1yyzDCOgtalLuiNA Date: Thu, 27 Aug 2020 09:53:12 +0000 Message-ID: References: <20200820145028.4090-1-ophirmu@nvidia.com> <20200825092943.26312-1-ophirmu@mellanox.com> In-Reply-To: <20200825092943.26312-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=nvidia.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9ead8063-eea1-4546-3795-08d84a6f0330 x-ms-traffictypediagnostic: DM5PR1201MB0089: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4125; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nHhnk+rLOQrqROm+B7Q6DDbv1pvCDQR18TEp1fm+Gw28gixmoO9SfD5LM0ouhJ03l/HzDRODBt3nlMbViXj3DFIaxWtIUyOhkvzTLP24GW/N7zQF5p8umq6+ZHk7OKr4oi9ZPmUkFii+bC6qI9dee2EHew6NsJp4feD8dmhrHJYFrdIr1V7HW7QPenNC+IGPNxLkGCN+LSL6CUxt+T/oYt86BNHwVAtH2wtrUQ/+vnDBlLihSGVPxwzkPxScL+AI+zIdHte/tEsm62ffalFr4I1qrA/2iFJ/XRyuftfhrTeBkxSt+MrUd9jT0RipDIlWhVEql3xeI8Bu81si3CyX+A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB2748.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(376002)(136003)(346002)(366004)(396003)(26005)(66946007)(66556008)(66476007)(76116006)(33656002)(64756008)(66446008)(71200400001)(54906003)(8676002)(316002)(110136005)(52536014)(53546011)(6506007)(478600001)(9686003)(186003)(8936002)(107886003)(7696005)(55016002)(5660300002)(4326008)(86362001)(2906002)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 0ph4bstU6NC60H8kIcBvy6iqdYqB59HdLo20W6U8qzKbat8dnw1/Uw5r5fG4lHY19gaUhFfKr2W857BpRfx4eJqR4JEfiBKte9++8kcHReoZU4ndyGj4dhtXpw/6qsxkmDAEXOk4642qwqcCiwco2uhpeCak2hyeTc2r+XG5eAHAADxU9ueOANOQ81NbREXEX9M5/wxtHtyNr7DA2BWmJvuuM94KaTEuHJ1xoVIJDlMYVIZKbpQsoG6K508rxE6c45HKhXgeLQf8DpUBib85ZFi7ns9ZBOAIyYvDfRl+lgKYpWjMCj/qT3aWC+6OZoLZwKCVoWH7Ac9ynR0Kxk5QSoYgyCzOQwXSxMkIbr06aPuIwSoGsiBLiIDcFGWrat/iCLCjK1nwroxMkyg3UjxLwQcQmRyCKHPZ2Qu7/AdYXXBUX9yiAgfQRINRl+6C0LOxQTz+F8+R7Xpt6NnwOPrO+/c6WcaBBa/SmyflStS3MrVnGN4SQkSU1Ef1RHJC1LCf2WyglAhbFIcy2fGnwswBzA9Z/vXaPaDlZj4SyKWbpMEWrY7Iu55SvH6Hl2pR2Xtps44I6xU91GK/nvp1j5Qk+fl3s8guYDF5A/9v3zcG01jqAbibF585sUA/UaMnfGa8hErjPloquaGQyz/zO/vifw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB2748.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9ead8063-eea1-4546-3795-08d84a6f0330 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2020 09:53:12.7012 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: aCAb3w9ysb0oSvrMByJLZxXXkx4qWKi37rl6xcNFM85W+zeWHTJy4fHDlCpLjq/wv2Hw0c58GPJXdAyNOCiVeA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0089 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1598521996; bh=GDk1ktuG+XAxhUlLaw64RzOreQLr1gHu0MiKGTpHuyI=; h=X-PGP-Universal:ARC-Seal:ARC-Message-Signature: ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic: Thread-Index:Date:Message-ID:References:In-Reply-To: Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ms-exchange-transport-forked: x-microsoft-antispam-prvs:x-ms-oob-tlc-oobclassifiers: x-ms-exchange-senderadcheck:x-microsoft-antispam: x-microsoft-antispam-message-info:x-forefront-antispam-report: x-ms-exchange-antispam-messagedata:Content-Type: Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=eQHvkGzt7Ch6ETYFdt/mwwwURDHr3idK74qq9rdXwGonOCs6t628GALRTkQuyZYOs sdG8JeTnoMLMoj50YSOoB2xvAAXVG5M2L8dNp7CtQ8ZDwavBL/69muHDrVkGFVf7Hr pWoiO3rpmLTFhyIhMphPS8STrBebzkvUIGOFNFdQMpv/Y9i6w7+6S31G52nLHS0tyS RI9E5bT4bK+1QXtuqgXCpnK+AffnuEhot99vTTJ8SCXwvUXhxGa5nR+kBV7ZzPJe/3 5wdG3ScBuKvavfw510bD+/7UOil6ERthPnlWGW2BFhvPpNUi5PlLKeE4mlt9H8GeHq d/O9OPLf/81ng== Subject: Re: [dpdk-dev] [PATCH v2 00/13] mlx5 PMD multi OS support - part #4 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: Tuesday, August 25, 2020 12:30 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Ophir Munk > ; Matan Azrad ; Ophir > Munk > Subject: [PATCH v2 00/13] mlx5 PMD multi OS support - part #4 >=20 > From: Ophir Munk >=20 > This patch series is part of preparing mlx5 PMD to compile and run under > multiple OSs. Part #4 >=20 > v1: initial version > v2: checkpatch fixes >=20 > Ophir Munk (13): > common/mlx5: replace strsep with strtok_r > common/mlx5: replace Linux __bexx types with rte > net/mlx5: rename mlx5 enumeration REG_NONE > net/mlx5: move mlx5_get_ifname prototype under Linux > net/mlx5: fix removal of unused inclusion files > net/mlx5: remove Netlink dependency in shared code > net/mlx5: fix unused utility macros > net/mlx5: call meter detach only if DR is supported > net/mlx5: add ICMP protocol number definition > net/mlx5: remove more DV dependencies > net/mlx5: remove ibv_* dependency in Rx/Tx objects > net/mlx5: separate VLAN strip modification > linux/mlx5: refactor VLAN >=20 > drivers/common/mlx5/linux/mlx5_common_os.h | 111 > +++++++++++++++++++ > drivers/common/mlx5/mlx5_common_pci.c | 14 +-- > drivers/common/mlx5/mlx5_prm.h | 16 +-- > drivers/net/mlx5/Makefile | 1 + > drivers/net/mlx5/linux/meson.build | 1 + > drivers/net/mlx5/linux/mlx5_os.c | 18 ++++ > drivers/net/mlx5/linux/mlx5_os.h | 6 ++ > drivers/net/mlx5/linux/mlx5_verbs.c | 28 +++++ > drivers/net/mlx5/linux/mlx5_vlan_os.c | 168 > +++++++++++++++++++++++++++++ > drivers/net/mlx5/mlx5.c | 23 ++-- > drivers/net/mlx5/mlx5.h | 30 +++--- > drivers/net/mlx5/mlx5_devx.c | 48 +++++++++ > drivers/net/mlx5/mlx5_devx.h | 12 +++ > drivers/net/mlx5/mlx5_flow.c | 29 +++-- > drivers/net/mlx5/mlx5_flow_dv.c | 8 +- > drivers/net/mlx5/mlx5_flow_meter.c | 4 + > drivers/net/mlx5/mlx5_mac.c | 2 - > drivers/net/mlx5/mlx5_rxq.c | 18 ++-- > drivers/net/mlx5/mlx5_rxtx.h | 24 ++--- > drivers/net/mlx5/mlx5_trigger.c | 3 +- > drivers/net/mlx5/mlx5_txpp.c | 38 ++++--- > drivers/net/mlx5/mlx5_txq.c | 19 ++-- > drivers/net/mlx5/mlx5_utils.h | 4 - > drivers/net/mlx5/mlx5_vlan.c | 161 +----------------------= ---- > 24 files changed, 527 insertions(+), 259 deletions(-) > create mode 100644 drivers/net/mlx5/linux/mlx5_vlan_os.c > create mode 100644 drivers/net/mlx5/mlx5_devx.c > create mode 100644 drivers/net/mlx5/mlx5_devx.h >=20 > -- > 2.8.4 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh