From patchwork Tue Jun 1 16:26:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Nguyen X-Patchwork-Id: 12291801 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=-21.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,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 E24C7C47080 for ; Tue, 1 Jun 2021 16:24:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C04A8611CB for ; Tue, 1 Jun 2021 16:24:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234009AbhFAQ0M (ORCPT ); Tue, 1 Jun 2021 12:26:12 -0400 Received: from mga12.intel.com ([192.55.52.136]:25275 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233064AbhFAQ0L (ORCPT ); Tue, 1 Jun 2021 12:26:11 -0400 IronPort-SDR: 3i1mT5b7xfPd+LWpLxgX285uOLR0Eo/Y4rASVcK48rrt+lbvGUILEUZZUkTckmiR5E84a03hmE QDdGvjH8DYYA== X-IronPort-AV: E=McAfee;i="6200,9189,10002"; a="183263173" X-IronPort-AV: E=Sophos;i="5.83,240,1616482800"; d="scan'208";a="183263173" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2021 09:24:22 -0700 IronPort-SDR: xX+l2z7aoHb9Tp3QJj2MUunxXhI4+OnHgzaEa+rFrec+IoiSJFFIFFFugIUu9B/wBUu34JafZd QdtYouM/sasA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,240,1616482800"; d="scan'208";a="411292740" Received: from anguy11-desk2.jf.intel.com ([10.166.244.147]) by fmsmga007.fm.intel.com with ESMTP; 01 Jun 2021 09:24:21 -0700 From: Tony Nguyen To: davem@davemloft.net, kuba@kernel.org, dledford@redhat.com, jgg@mellanox.com Cc: Tony Nguyen , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, shiraz.saleem@intel.com, david.m.ertman@intel.com Subject: [PATCH net-next v3 0/7][pull request] iwl-next Intel Wired LAN Driver Updates 2021-06-01 Date: Tue, 1 Jun 2021 09:26:37 -0700 Message-Id: <20210601162644.1469616-1-anthony.l.nguyen@intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org This pull request is targeting net-next and rdma-next branches. These patches have been reviewed by netdev and rdma mailing lists[1]. This series adds RDMA support to the ice driver for E810 devices and converts the i40e driver to use the auxiliary bus infrastructure for X722 devices. The PCI netdev drivers register auxiliary RDMA devices that will bind to auxiliary drivers registered by the new irdma module. [1] https://lore.kernel.org/netdev/20210520143809.819-1-shiraz.saleem@intel.com/ --- v3: - ice_aq_add_rdma_qsets(), ice_cfg_vsi_rdma(), ice_[ena|dis]_vsi_rdma_qset(), and ice_cfg_rdma_fltr() no longer return ice_status - Remove null check from ice_aq_add_rdma_qsets() v2: - Added patch 'i40e: Replace one-element array with flexible-array member' Changes since linked review (v6): - Removed unnecessary checks in i40e_client_device_register() and i40e_client_device_unregister() - Simplified the i40e_client_device_register() API --- The following are changes since commit 6efb943b8616ec53a5e444193dccf1af9ad627b5: Linux 5.13-rc1 and are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/linux iwl-next Dave Ertman (4): iidc: Introduce iidc.h ice: Initialize RDMA support ice: Implement iidc operations ice: Register auxiliary device to provide RDMA Gustavo A. R. Silva (1): i40e: Replace one-element array with flexible-array member Shiraz Saleem (2): i40e: Prep i40e header for aux bus conversion i40e: Register auxiliary devices to provide RDMA MAINTAINERS | 1 + drivers/infiniband/hw/i40iw/i40iw_main.c | 5 +- drivers/net/ethernet/intel/Kconfig | 2 + drivers/net/ethernet/intel/i40e/i40e.h | 2 + drivers/net/ethernet/intel/i40e/i40e_client.c | 132 +++++-- drivers/net/ethernet/intel/i40e/i40e_main.c | 1 + drivers/net/ethernet/intel/ice/Makefile | 1 + drivers/net/ethernet/intel/ice/ice.h | 44 ++- .../net/ethernet/intel/ice/ice_adminq_cmd.h | 33 ++ drivers/net/ethernet/intel/ice/ice_common.c | 220 +++++++++++- drivers/net/ethernet/intel/ice/ice_common.h | 9 + drivers/net/ethernet/intel/ice/ice_dcb_lib.c | 19 + .../net/ethernet/intel/ice/ice_hw_autogen.h | 3 +- drivers/net/ethernet/intel/ice/ice_idc.c | 334 ++++++++++++++++++ drivers/net/ethernet/intel/ice/ice_idc_int.h | 14 + drivers/net/ethernet/intel/ice/ice_lag.c | 2 + drivers/net/ethernet/intel/ice/ice_lib.c | 11 + drivers/net/ethernet/intel/ice/ice_lib.h | 2 +- drivers/net/ethernet/intel/ice/ice_main.c | 142 ++++++-- drivers/net/ethernet/intel/ice/ice_sched.c | 69 +++- drivers/net/ethernet/intel/ice/ice_switch.c | 28 ++ drivers/net/ethernet/intel/ice/ice_switch.h | 4 + drivers/net/ethernet/intel/ice/ice_type.h | 4 + include/linux/net/intel/i40e_client.h | 12 +- include/linux/net/intel/iidc.h | 100 ++++++ 25 files changed, 1135 insertions(+), 59 deletions(-) create mode 100644 drivers/net/ethernet/intel/ice/ice_idc.c create mode 100644 drivers/net/ethernet/intel/ice/ice_idc_int.h create mode 100644 include/linux/net/intel/iidc.h