From patchwork Thu Dec 3 01:10:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saeed Mahameed X-Patchwork-Id: 11947401 X-Patchwork-Delegate: kuba@kernel.org Return-Path: 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=-30.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 930BFC64E7C for ; Thu, 3 Dec 2020 01:11:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 474FB2173E for ; Thu, 3 Dec 2020 01:11:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728700AbgLCBLC (ORCPT ); Wed, 2 Dec 2020 20:11:02 -0500 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]:2983 "EHLO hqnvemgate26.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726839AbgLCBLC (ORCPT ); Wed, 2 Dec 2020 20:11:02 -0500 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Wed, 02 Dec 2020 17:10:21 -0800 Received: from sx1.mtl.com (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 3 Dec 2020 01:10:21 +0000 From: Saeed Mahameed To: Jakub Kicinski CC: "David S. Miller" , , "Saeed Mahameed" Subject: [pull request][net-next V2] mlx5 next 2020-12-02 Date: Wed, 2 Dec 2020 17:10:10 -0800 Message-ID: <20201203011010.213440-1-saeedm@nvidia.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1606957821; bh=p7GdQdhuDheR6T5dsE5mTuNAoTbHDxuN2Urrq15jwzk=; h=From:To:CC:Subject:Date:Message-ID:X-Mailer:MIME-Version: Content-Transfer-Encoding:Content-Type:X-Originating-IP: X-ClientProxiedBy; b=onEsqmWyUecZWBvyEe3/Pytw++enev+LHyTTUXo9IrY6ILhGYhhf5kIlu4uZq6Uhq 9th9IH7X36zmn6x6e9/2xUp4o4FPggw4v1Wj+oCcp4g5suJbu6vNCUQjhWPowyCqpe Wj7NvCFyVbi+WxQsaY5554YXSJDCkdcGzoD6aYsmRb7nANr5Qns2DHIZJGKLlb70GC 0QLvOd9iznUVTS8LkT8/BIZq/UYTbhDCpK01aY/rNQIizyauN45aRoo2eu1jl3Cc5U 4wjTmMyadEaxED2RqxqqvcUsxQo+i0CSPBoJY5ReWaX8M+Lj/XCFRGPMx07FiCnqz3 +c3QXcyX6zKow== Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi Jakub, v1->v2: Use a proper tag for the pull request This pull request includes [1] low level mlx5 updates required by both netdev and rdma trees, needed for upcoming mlx5 netdev submission. Please pull and let me know if there's any problem. [1] https://patchwork.kernel.org/project/linux-rdma/cover/20201120230339.651609-1-saeedm@nvidia.com/ Thanks, Saeed. The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: Linux 5.10-rc1 (2020-10-25 15:14:11 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git tags/mlx5-next-2020-12-02 for you to fetch changes up to 617b860c1875842d9cc3338d7dabd2b3538038f1: net/mlx5: Treat host PF vport as other (non eswitch manager) vport (2020-11-26 18:45:03 -0800) ---------------------------------------------------------------- mlx5-next-2020-12-02 Low level mlx5 updates required by both netdev and rdma trees: net/mlx5: Treat host PF vport as other (non eswitch manager) vport net/mlx5: Enable host PF HCA after eswitch is initialized net/mlx5: Rename peer_pf to host_pf net/mlx5: Make API mlx5_core_is_ecpf accept const pointer net/mlx5: Export steering related functions net/mlx5: Expose other function ifc bits net/mlx5: Expose IP-in-IP TX and RX capability bits net/mlx5: Update the hardware interface definition for vhca state net/mlx5: Update the list of the PCI supported devices net/mlx5: Avoid exposing driver internal command helpers net/mlx5: Add ts_cqe_to_dest_cqn related bits net/mlx5: Add misc4 to mlx5_ifc_fte_match_param_bits net/mlx5: Check dr mask size against mlx5_match_param size net/mlx5: Add sampler destination type net/mlx5: Add sample offload hardware bits and structures Signed-off-by: Saeed Mahameed ---------------------------------------------------------------- Aya Levin (1): net/mlx5: Expose IP-in-IP TX and RX capability bits Chris Mi (2): net/mlx5: Add sample offload hardware bits and structures net/mlx5: Add sampler destination type Eli Cohen (1): net/mlx5: Export steering related functions Eran Ben Elisha (1): net/mlx5: Add ts_cqe_to_dest_cqn related bits Meir Lichtinger (1): net/mlx5: Update the list of the PCI supported devices Muhammad Sammar (2): net/mlx5: Check dr mask size against mlx5_match_param size net/mlx5: Add misc4 to mlx5_ifc_fte_match_param_bits Parav Pandit (6): net/mlx5: Avoid exposing driver internal command helpers net/mlx5: Update the hardware interface definition for vhca state net/mlx5: Make API mlx5_core_is_ecpf accept const pointer net/mlx5: Rename peer_pf to host_pf net/mlx5: Enable host PF HCA after eswitch is initialized net/mlx5: Treat host PF vport as other (non eswitch manager) vport Yishai Hadas (1): net/mlx5: Expose other function ifc bits drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 3 - .../mellanox/mlx5/core/diag/fs_tracepoint.c | 3 + drivers/net/ethernet/mellanox/mlx5/core/ecpf.c | 76 ++++++++++++----- drivers/net/ethernet/mellanox/mlx5/core/ecpf.h | 3 + .../ethernet/mellanox/mlx5/core/esw/acl/helper.c | 5 +- drivers/net/ethernet/mellanox/mlx5/core/eswitch.c | 29 ++++++- drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c | 57 +++++++------ drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | 17 ++-- drivers/net/ethernet/mellanox/mlx5/core/fs_core.h | 2 +- drivers/net/ethernet/mellanox/mlx5/core/main.c | 19 ++--- .../net/ethernet/mellanox/mlx5/core/mlx5_core.h | 4 + .../net/ethernet/mellanox/mlx5/core/pagealloc.c | 12 +-- .../mellanox/mlx5/core/steering/dr_matcher.c | 2 +- .../ethernet/mellanox/mlx5/core/steering/dr_rule.c | 3 +- .../mellanox/mlx5/core/steering/dr_types.h | 1 + include/linux/mlx5/device.h | 8 ++ include/linux/mlx5/driver.h | 8 +- include/linux/mlx5/fs.h | 6 +- include/linux/mlx5/mlx5_ifc.h | 94 ++++++++++++++++++++-- include/uapi/rdma/mlx5_user_ioctl_cmds.h | 2 +- 20 files changed, 250 insertions(+), 104 deletions(-)