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 2B41FA0524; Thu, 30 Jan 2020 13:26:11 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 184481BFFA; Thu, 30 Jan 2020 13:26:10 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80081.outbound.protection.outlook.com [40.107.8.81]) by dpdk.org (Postfix) with ESMTP id 476221BFF8 for ; Thu, 30 Jan 2020 13:26:09 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WvpP8GflZUBQJoYqAghsOxLatZX05nSAZ6G+C5vsMVUqW/tPvwMX5Mh2GdbHW82UTGbuCNGUJUvJ6JN99OFndB+G5ZnU5K+OhJ6mVzYI6bu8otfSQfuEhYM9ylARVu4Uj63oEC1nQ0VgzdovXh5wNDSVw29FZTSvNAdowDqgCaoUFn4vYJ9B0hWbJ60xaNCdqNXBYRNK7p7RVDT5obX+4q/ZTrwrrcVOjLoduOLH0Nw4ZIrMgKPnTH5o+XGmJ7aCs7al5gqbaRKpVWg9aHtpIC9V0TyzgneMcd/14GpZHwXjyGEr4W3D8+OhQQc4kV3vEStsYuwr9YCrA62zsamvOA== 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=3eQcA4yfVTgffgEa/87ZJ+M73qPaXLiH/4vFXZRbfQA=; b=BGozNcFxoQPBW09MEtv76a68jOZHpm5IiU0/twpBUcIBRDoWJ6EO9VyzKzaFctbnnlf5Tvzfn905Jtne6XYDIhxc6Jg6B3+2hv9Nv7XtUU4ax/vfbelms43gtkudNog9oz0l20h49Lqi2U51l4uTnkCkN8csksfirThZoaxlun4F3Zx8+kuuVx4xrhbaPetlvra/bD9iD36sXdQc9dl4sIk5J1CTM2YXLY1o3vJLupsYi2BJfniAND/vpjQaEWzrDEZQ9suH/6jSbaR68nLZko+87Zz/udYOjIm9vpk1IZZFfRiEE72uKDUIOfGQMY1xN6dzhnaOJ5GxDjQJuOwJlg== 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=3eQcA4yfVTgffgEa/87ZJ+M73qPaXLiH/4vFXZRbfQA=; b=DNRan0nwJXXvVjiASTNTIzGN09reycdADpIFDm46kYJHBxhwKKxOsnVe0JRh6QCy4m89cbfSVBnbqP2qJXD61jO93bsSFFyU2IpmfuP35V+KOivfBWYGsmp9bVL2D2rUQoTvUlQlxQ2GSspML6QO3z8lp7QFSGJwQnPNCTFnvvM= Received: from VI1PR05MB6718.eurprd05.prod.outlook.com (10.186.162.137) by VI1PR05MB6415.eurprd05.prod.outlook.com (20.179.27.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.23; Thu, 30 Jan 2020 12:26:07 +0000 Received: from VI1PR05MB6718.eurprd05.prod.outlook.com ([fe80::25a1:c32b:29a1:fe8f]) by VI1PR05MB6718.eurprd05.prod.outlook.com ([fe80::25a1:c32b:29a1:fe8f%3]) with mapi id 15.20.2665.027; Thu, 30 Jan 2020 12:26:07 +0000 From: Raslan Darawsheh To: Matan Azrad , "dev@dpdk.org" , Slava Ovsiienko Thread-Topic: [PATCH v4 00/25] Introduce mlx5 common library Thread-Index: AQHV1qEbKX1O02clt0WBvnj3tbOzXagDIt8A Date: Thu, 30 Jan 2020 12:26:07 +0000 Message-ID: References: <1580228860-10665-1-git-send-email-matan@mellanox.com> <1580301530-6643-1-git-send-email-matan@mellanox.com> In-Reply-To: <1580301530-6643-1-git-send-email-matan@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: eefcca9b-f928-4cbb-0bad-08d7a57f9508 x-ms-traffictypediagnostic: VI1PR05MB6415:|VI1PR05MB6415: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 02981BE340 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(366004)(39860400002)(136003)(346002)(376002)(199004)(189003)(53546011)(316002)(110136005)(6506007)(55016002)(5660300002)(52536014)(66556008)(81166006)(66946007)(76116006)(66476007)(81156014)(66446008)(9686003)(8676002)(186003)(8936002)(64756008)(7696005)(26005)(6636002)(33656002)(86362001)(2906002)(478600001)(71200400001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB6415; H:VI1PR05MB6718.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-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QxfgF/2KEXNVYDqactH7T91cHgh/G+e8ZIO0lNNu9EPeLFo3ZtA3PI6aRKpbLlTa0P12UTA5o3zczdnO0cp7PK9zaV3mYEAuS5bm3eWTE1w8WB9HqY7oChxWyPsJKhZmxMOTSccK734+aWz5D997bamqTBUELqHIBzSnnctSm9binWFkdYJD3/3d1jEyqLKIdAg8uaFeO9uscQbyyvW54rL8ThzVdgJYbmQvPc9fcmFqomJ9lDd3QnA/lGofXrumZSJiyVk9xxrQlHc98GaZiCfaEf+lSpYgXvF1Nn151LSIpGEf6Q6ejMwbe1yMN7Sr4cPxJd3yqU216IunjPlOqcbMge3nxD7nda4DBYdGyA64U5ski/5wolRWXZp1+q4jfMW/rEkbYC954BtWVLXhB8EuaV93ZO5nRtiMHyHsMDvsK2AkBtFvNcc8Sza4BLCB x-ms-exchange-antispam-messagedata: oXhH8mhdJNUIZvBBR+kQDbgeMEQj67+ta0ZB1LWSyEklhPNmYp6XrEKgKagVibgh1V+KsS2SiEb480b6F1KZHrM6R1wBEW7JPk//tUJdTpgcPDnnFRToThouVvFxVeTcQzhxIA0Cpc1coqO9PmJq1A== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: eefcca9b-f928-4cbb-0bad-08d7a57f9508 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jan 2020 12:26:07.4522 (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: LgGJwCXjVXXNYkMUE7QJSE709A+zBdEHT5FFmbJuCwdONq4kHBha19CSOYLPYFhrLyQ2ey6y+tcASjtuNjwa5w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB6415 Subject: Re: [dpdk-dev] [PATCH v4 00/25] Introduce mlx5 common library 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: Matan Azrad > Sent: Wednesday, January 29, 2020 2:38 PM > To: dev@dpdk.org; Slava Ovsiienko > Cc: Raslan Darawsheh > Subject: [PATCH v4 00/25] Introduce mlx5 common library >=20 > Steps: > - Prepare net/mlx5 for code sharing. > - Introduce new common lib for mlx5 devices. > - Share code from net/mlx5 to common/mlx5. >=20 > v2: > - Reorder patches for 2 serieses - this is the first one for common direc= tory > and vDPA preparation, > the second will be sent later for vDPA new driver part. > - Fix spelling and per patch complition issues. > - moved to use claim_zero instead of pure asserts. > - improve title names. >=20 > v3: > rebase. >=20 > v4: > Change devargs argument to get class name. > Actually only the last 4 pathes here were changed. >=20 > Matan Azrad (25): > net/mlx5: separate DevX commands interface > drivers: introduce mlx5 common library > common/mlx5: share the mlx5 glue reference > common/mlx5: share mlx5 PCI device detection > common/mlx5: share mlx5 devices information > common/mlx5: share CQ entry check > common/mlx5: add query vDPA DevX capabilities > common/mlx5: glue null memory region allocation > common/mlx5: support DevX indirect mkey creation > common/mlx5: glue event queue query > common/mlx5: glue event interrupt commands > common/mlx5: glue UAR allocation > common/mlx5: add DevX command to create CQ > common/mlx5: glue VAR allocation > common/mlx5: add DevX virtq commands > common/mlx5: add support for DevX QP operations > common/mlx5: allow type configuration for DevX RQT > common/mlx5: add TIR field constants > common/mlx5: add DevX command to modify RQT > common/mlx5: get DevX capability for max RQT size > net/mlx5: select driver by class device argument > net/mlx5: separate Netlink command interface > net/mlx5: reduce Netlink commands dependencies > common/mlx5: share Netlink commands > common/mlx5: support ROCE disable through Netlink >=20 > MAINTAINERS | 1 + > drivers/common/Makefile | 4 + > drivers/common/meson.build | 2 +- > drivers/common/mlx5/Makefile | 347 ++++ > drivers/common/mlx5/meson.build | 210 ++ > drivers/common/mlx5/mlx5_common.c | 332 +++ > drivers/common/mlx5/mlx5_common.h | 223 ++ > drivers/common/mlx5/mlx5_common_utils.h | 20 + > drivers/common/mlx5/mlx5_devx_cmds.c | 1530 ++++++++++++++ > drivers/common/mlx5/mlx5_devx_cmds.h | 351 ++++ > drivers/common/mlx5/mlx5_glue.c | 1296 ++++++++++++ > drivers/common/mlx5/mlx5_glue.h | 305 +++ > drivers/common/mlx5/mlx5_nl.c | 1699 +++++++++++++++ > drivers/common/mlx5/mlx5_nl.h | 63 + > drivers/common/mlx5/mlx5_prm.h | 2542 > +++++++++++++++++++++++ > drivers/common/mlx5/rte_common_mlx5_version.map | 51 + > drivers/net/mlx5/Makefile | 307 +-- > drivers/net/mlx5/meson.build | 257 +-- > drivers/net/mlx5/mlx5.c | 197 +- > drivers/net/mlx5/mlx5.h | 326 +-- > drivers/net/mlx5/mlx5_defs.h | 8 - > drivers/net/mlx5/mlx5_devx_cmds.c | 969 --------- > drivers/net/mlx5/mlx5_ethdev.c | 161 +- > drivers/net/mlx5/mlx5_flow.c | 12 +- > drivers/net/mlx5/mlx5_flow.h | 3 +- > drivers/net/mlx5/mlx5_flow_dv.c | 12 +- > drivers/net/mlx5/mlx5_flow_meter.c | 2 + > drivers/net/mlx5/mlx5_flow_verbs.c | 7 +- > drivers/net/mlx5/mlx5_glue.c | 1150 ---------- > drivers/net/mlx5/mlx5_glue.h | 264 --- > drivers/net/mlx5/mlx5_mac.c | 16 +- > drivers/net/mlx5/mlx5_mr.c | 3 +- > drivers/net/mlx5/mlx5_nl.c | 1402 ------------- > drivers/net/mlx5/mlx5_prm.h | 1888 ----------------- > drivers/net/mlx5/mlx5_rss.c | 2 +- > drivers/net/mlx5/mlx5_rxmode.c | 12 +- > drivers/net/mlx5/mlx5_rxq.c | 7 +- > drivers/net/mlx5/mlx5_rxtx.c | 7 +- > drivers/net/mlx5/mlx5_rxtx.h | 46 +- > drivers/net/mlx5/mlx5_rxtx_vec.c | 5 +- > drivers/net/mlx5/mlx5_rxtx_vec.h | 3 +- > drivers/net/mlx5/mlx5_rxtx_vec_altivec.h | 5 +- > drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 5 +- > drivers/net/mlx5/mlx5_rxtx_vec_sse.h | 5 +- > drivers/net/mlx5/mlx5_stats.c | 5 +- > drivers/net/mlx5/mlx5_txq.c | 7 +- > drivers/net/mlx5/mlx5_utils.h | 79 +- > drivers/net/mlx5/mlx5_vlan.c | 137 +- > mk/rte.app.mk | 1 + > 49 files changed, 9286 insertions(+), 7000 deletions(-) create mode 100= 644 > drivers/common/mlx5/Makefile create mode 100644 > drivers/common/mlx5/meson.build create mode 100644 > drivers/common/mlx5/mlx5_common.c create mode 100644 > drivers/common/mlx5/mlx5_common.h create mode 100644 > drivers/common/mlx5/mlx5_common_utils.h > create mode 100644 drivers/common/mlx5/mlx5_devx_cmds.c > create mode 100644 drivers/common/mlx5/mlx5_devx_cmds.h > create mode 100644 drivers/common/mlx5/mlx5_glue.c create mode > 100644 drivers/common/mlx5/mlx5_glue.h create mode 100644 > drivers/common/mlx5/mlx5_nl.c create mode 100644 > drivers/common/mlx5/mlx5_nl.h create mode 100644 > drivers/common/mlx5/mlx5_prm.h create mode 100644 > drivers/common/mlx5/rte_common_mlx5_version.map > delete mode 100644 drivers/net/mlx5/mlx5_devx_cmds.c delete mode > 100644 drivers/net/mlx5/mlx5_glue.c delete mode 100644 > drivers/net/mlx5/mlx5_glue.h delete mode 100644 > drivers/net/mlx5/mlx5_nl.c delete mode 100644 > drivers/net/mlx5/mlx5_prm.h >=20 > -- > 1.8.3.1 Squashed patched 2 and 3,=20 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh