From patchwork Tue Apr 9 21:54:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 13623277 Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E189158A0B for ; Tue, 9 Apr 2024 21:54:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712699692; cv=none; b=m1SK16jJtuvVCDJaVm04Jf8SmNNXOoTrNE10SNJmaoj1J0zx2NTDGI2miErhxg6dWdF5TTKxKYO8BRjEHQuUTx9QwHn6N6z7ZlUvp+7bf39hz4nVGORbI2OUzFTOlRsImhDI+bnARm5B+pQhhTHBc5VAvXDCNMipEUBHU24ao80= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712699692; c=relaxed/simple; bh=X1CkJjcoysnq8nvQafGCa29BySRgGkkRr7yl758rcNg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=eelpVvLJIzYyHzXWjz0q3VdTDN+o5/OU33/uM8BEjYc1VMjUvixS17Mk/hzL/gdi7lYbsA8pUx1QFuJ13t+WNAH+K3JiNNmDmDrM4M6AdBEiEPUq4HrVsf+SMeOeAxNwsqaKtVFa6FXoahHhvEtqm/f9WY4X16Q7u0j2FwkWFSM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=aEax+ozR; arc=none smtp.client-ip=209.85.215.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="aEax+ozR" Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-5dbcfa0eb5dso4481188a12.3 for ; Tue, 09 Apr 2024 14:54:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1712699690; x=1713304490; darn=vger.kernel.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=ZHMWJf/WBrsW6hieQFmNn41Tol1euyYyC37n5LbZF9s=; b=aEax+ozRcvqOL710AGwEKElU5ngd9QiU+zGgsF2hsOiWPKMX1E8zqJ2L17fneRHVDx ZmsB1dsO4jnZqgCl5uFHeK3MZ3XUlntOV8yrk6saKHJApI3cOXtpYdvyvH9kpHNaNqXf BFSiKtFeaFLn9j7wNw6i20x6r7E8MCJkeQu74= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712699690; x=1713304490; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ZHMWJf/WBrsW6hieQFmNn41Tol1euyYyC37n5LbZF9s=; b=Jo39ikYkOo0luUPjd8d5S06/p6VI/PtCoJkC8GKEf6qAVLpYB9Sp8YUBm/+WcZ6Vah qqa1GmSyCs4b75wR//GmKD3WBTjYFgQn4rAgHu8bRU0FKgmfiQ+jPfzATrypaI4EXJMU uIwxsnwz4lRdhakjdq9g+s4H4WaSLcaQVCfR1U5BS0yBrr+uQnBK1ZuAXnIceIStXfLu G8Xxvm55TQvW9FVLg0SxpzhwDq8iSDHhkisv/IoaZklBRgu2j+cYWStwp2Rh8IsIjI4+ Sj9kBtmQz+44UrljM8JRtfxzwF0FJ2n9rmdJgooihPZ/2nmTcx1rUOGGMmlsPUi4iXvx HzhA== X-Gm-Message-State: AOJu0YySBVmdpdv8ykmzGRL+3rVKCp6vQ/gFa+MOPDa7VHfpXgiQgRhm N70t8Up2gA036aA5uMW8Vxc1mWiom1DviuR/Tpi1sDcUOmzUKCkDl9hWn3u5Ug== X-Google-Smtp-Source: AGHT+IGDzo4H3bxq889+B3m9kt9Mo6G3+7G8bL8LH4K5AXVChXimtFza6sWa0ri6OXsF7Vmz/J+tCg== X-Received: by 2002:a17:902:ca0d:b0:1e4:60d4:916b with SMTP id w13-20020a170902ca0d00b001e460d4916bmr892509pld.64.1712699690111; Tue, 09 Apr 2024 14:54:50 -0700 (PDT) Received: from lvnvda5233.lvn.broadcom.net ([192.19.161.250]) by smtp.gmail.com with ESMTPSA id cp12-20020a170902e78c00b001e3e081dea1sm6983687plb.0.2024.04.09.14.54.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2024 14:54:49 -0700 (PDT) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, pavan.chebbi@broadcom.com, andrew.gospodarek@broadcom.com Subject: [PATCH net-next 0/7] bnxt_en: Updates for net-next Date: Tue, 9 Apr 2024 14:54:24 -0700 Message-Id: <20240409215431.41424-1-michael.chan@broadcom.com> X-Mailer: git-send-email 2.32.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org The first patch prevents a driver crash when RSS contexts are configred in ifdown state. Patches 2 to 6 are improvements for managing MSIX for the aux device (for RoCE). The existing scheme statically carves out the MSIX vectors for RoCE even if the RoCE driver is not loaded. The new scheme adds flexibility and allows the L2 driver to use the RoCE MSIX vectors if needed when they are unused by the RoCE driver. The last patch updates the MODULE_DESCRIPTION(). Kalesh AP (1): bnxt_en: Remove a redundant NULL check in bnxt_register_dev() Michael Chan (1): bnxt_en: Update MODULE_DESCRIPTION Pavan Chebbi (1): bnxt_en: Skip ethtool RSS context configuration in ifdown state Vikas Gupta (4): bnxt_en: Remove unneeded MSIX base structure fields and code bnxt_en: Refactor bnxt_rdma_aux_device_init/uninit functions bnxt_en: Change MSIX/NQs allocation policy bnxt_en: Utilize ulp client resources if RoCE is not registered drivers/net/ethernet/broadcom/bnxt/bnxt.c | 103 +++++++----- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 1 + .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 5 + drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c | 147 ++++++++++++------ drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h | 14 +- 5 files changed, 186 insertions(+), 84 deletions(-)