From patchwork Wed May 29 22:50:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saeed Mahameed X-Patchwork-Id: 10967899 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E9A6576 for ; Wed, 29 May 2019 22:50:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9CCE288E4 for ; Wed, 29 May 2019 22:50:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CDFDA2890F; Wed, 29 May 2019 22:50:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 534F2288E4 for ; Wed, 29 May 2019 22:50:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726462AbfE2WuY (ORCPT ); Wed, 29 May 2019 18:50:24 -0400 Received: from mail-eopbgr60050.outbound.protection.outlook.com ([40.107.6.50]:53283 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726501AbfE2WuY (ORCPT ); Wed, 29 May 2019 18:50:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a91wnbv53FcxPded2Y4cRD2W1kNq5J0k0CnmrDNPLMk=; b=i98wsSH2VMRmEQbtBjzSHMXCicK9Li268e77FvKfIY8XMwc55DaA9TC4G1Uay4GqqTpGGGhbzRYhGvHC+gUoNDsiBRaG0AQPlYBZSYSBUsO26BglQkR6cqXxRigR8eDkfM0AFP6nPeSbaGYl4G0XYKKE6GRcb8OHYyAink6a8bo= Received: from VI1PR05MB5902.eurprd05.prod.outlook.com (20.178.125.223) by VI1PR05MB4351.eurprd05.prod.outlook.com (52.133.12.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.16; Wed, 29 May 2019 22:50:20 +0000 Received: from VI1PR05MB5902.eurprd05.prod.outlook.com ([fe80::dd31:2532:9adf:9b38]) by VI1PR05MB5902.eurprd05.prod.outlook.com ([fe80::dd31:2532:9adf:9b38%6]) with mapi id 15.20.1922.021; Wed, 29 May 2019 22:50:20 +0000 From: Saeed Mahameed To: Saeed Mahameed , Leon Romanovsky CC: "netdev@vger.kernel.org" , "linux-rdma@vger.kernel.org" Subject: [PATCH mlx5-next 0/6] Mellanox, mlx5-next minor updates 2019-05-29 Thread-Topic: [PATCH mlx5-next 0/6] Mellanox, mlx5-next minor updates 2019-05-29 Thread-Index: AQHVFnDkskX4c0eOQUCYixTy9S10vw== Date: Wed, 29 May 2019 22:50:20 +0000 Message-ID: <20190529224949.18194-1-saeedm@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.21.0 x-originating-ip: [209.116.155.178] x-clientproxiedby: BYAPR02CA0010.namprd02.prod.outlook.com (2603:10b6:a02:ee::23) To VI1PR05MB5902.eurprd05.prod.outlook.com (2603:10a6:803:df::31) authentication-results: spf=none (sender IP is ) smtp.mailfrom=saeedm@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8890ea6b-bf35-481d-4ecd-08d6e48806a5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(711020)(4605104)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:VI1PR05MB4351; x-ms-traffictypediagnostic: VI1PR05MB4351: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0052308DC6 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(396003)(136003)(39860400002)(346002)(376002)(53754006)(199004)(189003)(66446008)(73956011)(66946007)(64756008)(186003)(305945005)(68736007)(66476007)(52116002)(86362001)(1076003)(50226002)(4326008)(15650500001)(450100002)(66556008)(85306007)(6636002)(99286004)(54906003)(53936002)(102836004)(478600001)(6506007)(36756003)(8936002)(6512007)(8676002)(81156014)(110136005)(476003)(3846002)(6486002)(2616005)(256004)(26005)(5660300002)(6436002)(486006)(25786009)(2906002)(71200400001)(71190400001)(386003)(316002)(14444005)(6116002)(66066001)(14454004)(7736002)(81166006);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR05MB4351;H:VI1PR05MB5902.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-message-info: 0bZwzFUmiozyS0Ijhn3xbebzfAI78Ga7I0rEjGhTPEaOlO7gqjmAWxWhJqKFAHnFWjzxAYdFebdH7a2hSJ+hDDClDlYFReJhTEjTOzK8wzRPf+LYRHf44e0Jjex42FjYojVC3/fX+R06ln896BBmf8e61TZUeawVV2WQxTNQe8QQN+JLjMzokmlgDzF1ZQWFqaa4COEoX0IadgmOilsCI19KfG/PuNE2ZWGSwmwFKzcfKuiHMso1KhpAOyG7Lp7Ylea/ob9l11ZicNK5n6AQVGKgk093rNknML5g1S6N1Iire6auAcnwe3jU9bD+X1OqxIHOPhtxvDAu51vDbJ1APiscCZqZPIvIxBfiDLzGfvFz4rdK4SuHZpd5GzWH4UE48thttY+hyVQ7OB/ei7shiTlfx4n5omC8dteyixMxM9I= MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8890ea6b-bf35-481d-4ecd-08d6e48806a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 May 2019 22:50:20.6051 (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: saeedm@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB4351 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi All, This series provides some low level updates for mlx5 driver needed for both rdma and netdev trees. Eli adds termination flow steering table bits and hardware definitions. Moshe introduces the core dump HW access registers definitions. Parav refactors and cleans-up VF representors functions handlers. Vu renames host_params bits to function_changed bits and add the support for eswitch functions change event in the eswitch general case. (for both legacy and switchdev modes). In case of no objection this series will be applied to mlx5-next branch. Thanks, Saeed. Eli Britstein (1): net/mlx5: Introduce termination table bits Moshe Shemesh (1): net/mlx5: Add core dump register access HW bits Parav Pandit (2): {IB,net}/mlx5: No need to typecast from void* to mlx5_ib_dev* {IB,net}/mlx5: Constify rep ops functions pointers Vu Pham (2): net/mlx5: E-Switch, Replace host_params event with functions_changed event net/mlx5: E-Switch, Honor eswitch functions changed event cap drivers/infiniband/hw/mlx5/ib_rep.c | 19 ++-- drivers/infiniband/hw/mlx5/ib_rep.h | 2 +- drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 4 +- .../net/ethernet/mellanox/mlx5/core/ecpf.c | 27 ----- .../net/ethernet/mellanox/mlx5/core/ecpf.h | 4 - .../net/ethernet/mellanox/mlx5/core/en_rep.c | 15 +-- .../net/ethernet/mellanox/mlx5/core/en_rep.h | 2 +- drivers/net/ethernet/mellanox/mlx5/core/eq.c | 5 +- .../net/ethernet/mellanox/mlx5/core/eswitch.c | 32 +++++- .../net/ethernet/mellanox/mlx5/core/eswitch.h | 20 +++- .../mellanox/mlx5/core/eswitch_offloads.c | 107 ++++++++++-------- .../net/ethernet/mellanox/mlx5/core/events.c | 4 +- .../net/ethernet/mellanox/mlx5/core/fs_cmd.c | 3 + include/linux/mlx5/device.h | 2 +- include/linux/mlx5/driver.h | 1 + include/linux/mlx5/eswitch.h | 20 ++-- include/linux/mlx5/fs.h | 1 + include/linux/mlx5/mlx5_ifc.h | 33 ++++-- 18 files changed, 177 insertions(+), 124 deletions(-)