Message ID | 20200824105826.1093613-1-leon@kernel.org |
---|---|
Headers | show
Return-Path: <SRS0=Z/si=CC=vger.kernel.org=netdev-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3441FC433E1 for <netdev@archiver.kernel.org>; Mon, 24 Aug 2020 10:58:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 00DFE20738 for <netdev@archiver.kernel.org>; Mon, 24 Aug 2020 10:58:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598266732; bh=NGaN4hWRn2JyhMzumM55GmB66Mo+++daoKByAF6LAZM=; h=From:To:Cc:Subject:Date:List-ID:From; b=RKGowgsb/R8hFLbe62lLvAQUQHOok+5xo2G5tlsWF+9xoFbbvD/xFXQvEEj7SJ5rX o3UHUGyMEEs0HM8W5zkmeeKraUHx31UcU8d96Dc3IVdQscbKP1fX0YaPMPIOOpqTpJ nS5O61hODu7lMvuCpLSc7sUrWjxFSSCnBIC6mDfs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727103AbgHXK6t (ORCPT <rfc822;netdev@archiver.kernel.org>); Mon, 24 Aug 2020 06:58:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:48642 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726750AbgHXK6h (ORCPT <rfc822;netdev@vger.kernel.org>); Mon, 24 Aug 2020 06:58:37 -0400 Received: from localhost (unknown [213.57.247.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 17E3F20738; Mon, 24 Aug 2020 10:58:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598266711; bh=NGaN4hWRn2JyhMzumM55GmB66Mo+++daoKByAF6LAZM=; h=From:To:Cc:Subject:Date:From; b=Vc6DEwWMhwoS32Sq+mkxrcxcKdUi/g4FLxu8XOjt57cPGbHO93zLU6g5+IgbIBVJD otIEMZhxns20d6jCZoJj/y4AIx1pe3/YqMxQTQR2tqMm78ZfIkleI5lTNnj2shXkTj vfTPzlS1cWW/Motf19nVhth1TTU093EVe7S3sZsw= From: Leon Romanovsky <leon@kernel.org> To: Doug Ledford <dledford@redhat.com>, Jason Gunthorpe <jgg@nvidia.com> Cc: Leon Romanovsky <leonro@nvidia.com>, Achiad Shochat <achiad@mellanox.com>, Adit Ranadive <aditr@vmware.com>, Aharon Landau <aharonl@mellanox.com>, Ariel Elior <aelior@marvell.com>, Dennis Dalessandro <dennis.dalessandro@intel.com>, Devesh Sharma <devesh.sharma@broadcom.com>, Jakub Kicinski <kuba@kernel.org>, linux-rdma@vger.kernel.org, Michael Guralnik <michaelgur@nvidia.com>, Michal Kalderon <mkalderon@marvell.com>, Mike Marciniszyn <mike.marciniszyn@intel.com>, Naresh Kumar PBS <nareshkumar.pbs@broadcom.com>, netdev@vger.kernel.org, Saeed Mahameed <saeedm@nvidia.com>, Selvin Xavier <selvin.xavier@broadcom.com>, Somnath Kotur <somnath.kotur@broadcom.com>, Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>, VMware PV-Drivers <pv-drivers@vmware.com> Subject: [PATCH rdma-next 0/3] Fix in-kernel active_speed type Date: Mon, 24 Aug 2020 13:58:23 +0300 Message-Id: <20200824105826.1093613-1-leon@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
Fix in-kernel active_speed type
|
expand
|
From: Leon Romanovsky <leonro@nvidia.com> IBTA declares speed as 16 bits, but kernel stores it in u8. This series fixes in-kernel declaration while keeping external interface intact. Thanks Aharon Landau (3): net/mlx5: Refactor query port speed functions RDMA/mlx5: Delete duplicated mlx5_ptys_width enum RDMA: Fix link active_speed size .../infiniband/core/uverbs_std_types_device.c | 3 +- drivers/infiniband/core/verbs.c | 2 +- drivers/infiniband/hw/bnxt_re/bnxt_re.h | 2 +- drivers/infiniband/hw/hfi1/verbs.c | 2 +- drivers/infiniband/hw/mlx5/main.c | 41 +++++++------------ drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 2 +- drivers/infiniband/hw/qedr/verbs.c | 2 +- drivers/infiniband/hw/qib/qib.h | 6 +-- .../infiniband/hw/vmw_pvrdma/pvrdma_verbs.h | 2 +- .../mellanox/mlx5/core/ipoib/ethtool.c | 31 ++------------ .../net/ethernet/mellanox/mlx5/core/port.c | 23 ++--------- include/linux/mlx5/port.h | 15 +++++-- include/rdma/ib_verbs.h | 4 +- 13 files changed, 47 insertions(+), 88 deletions(-) -- 2.26.2