From patchwork Tue Apr 2 09:37:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavan Chebbi X-Patchwork-Id: 13613593 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (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 90AC85820E for ; Tue, 2 Apr 2024 09:35:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712050508; cv=none; b=a2LG07si+/gsEV1APDWpWw0lbOjKWdFSQ0ZvJlw9Zur+bGWd1Adk8SjYTHF9Wt2KMkqfOgyss90ut8FSftb/FJZUPKG3+bqY8n36tmUO8bdQ90gis5kLK5R+sOSn2wVkRO/Fh82nW/kW5rCaO33ZrUVyi0/fRXpZxrgzjDM7WUs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712050508; c=relaxed/simple; bh=EHlQyssmj/Ibq4C1K9IAeYfGlAeY2mCOg701fvHzno0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=MZKGaFNvmGNDdMnzzl8MJJeyr2w03b38N7CkwrpClSYlIFUOsB0NoAI8B3q0mZjjPnRvMgidPMFLNmQ5llNs8+hzc6AOM/vcG2jjskGRhSCbB8PJb0+SIv8w06j3X49K9iVFzhTvtc2OqDSosPPpkDL2tCLRD35Do+7GJTfb/Hs= 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=bQDzHd6q; arc=none smtp.client-ip=209.85.210.169 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="bQDzHd6q" Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-6e704078860so4162287b3a.0 for ; Tue, 02 Apr 2024 02:35:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1712050506; x=1712655306; darn=vger.kernel.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=XWDhSOcfwKhuGCEwpEvwihOuV4yqMX8Iomm0YeM0daI=; b=bQDzHd6qLG403EdeI/avPCZi08jUUmrX9fuxRWnaPsJYSHTd800mIxpt4/8FeVBGCZ oWe0zVe06PZtdH0B6Kn7kiqxqLvEeVHwuDrmlzkvxcVbUYBfNkuHAI2cAIgaTF09D+4r 00uW0RznJHVV11/uyetfqq2h+Xx8ZwlxCDOSE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712050506; x=1712655306; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XWDhSOcfwKhuGCEwpEvwihOuV4yqMX8Iomm0YeM0daI=; b=OFOVjIBCIOEAPntJALKiS8SHJNT96mbmCLyq0ij1a3BdUJAIigYOJe2E4jlpWDbRSq T4lV2jHhx0MZRHn07y4bAt0u5+DXnzghFrkFhxTHzaKyuSPpbIxOhF8euvxTiRaQaE2D yZ71Vkn8to65bawvELWGpc1eL+5L17jDMDhJFTokZ1Q/WBIEkCbNIj6YnQ4ksRUM/rFu g5P7AwmRBkb94+EWvH5GPRxljR85R3L8ErizPlON/qEl/ohImS+6uxaFIVB8uUN2QSNq LC1fEBoglX061wwNjOO3DGO+pUulremsaib5q9sNse8HsjlxDAi98VfdQqMnNz570KbN 6Jww== X-Forwarded-Encrypted: i=1; AJvYcCVqw9pCqhRL/BOj1mKmkOjVOaTOCk3ZVPTTDqhQ/guEhITtr1EcCjuwxsINmG6ohNahFnj0y/aw9tCH+edgFGLD4fS7tpyM X-Gm-Message-State: AOJu0Yx8nGl8wUhpoSweQ4QL6GTsnUvcIsRFPA0afPzmRD1/P3cfjsqu GdyG8MtU1SbzZAfWx8DUBaHO75ubYulpFtdE/yoaYUc16WquoVMDbEBC0KIbwQ== X-Google-Smtp-Source: AGHT+IEmS2gLFbW+xkzEipUMNle9XRMEl65oHBLDZQHdd4b/rnxbzrFgbmoWOXBQX27XUAx7U8YO5g== X-Received: by 2002:a05:6a20:d805:b0:1a3:bd8a:141f with SMTP id iv5-20020a056a20d80500b001a3bd8a141fmr12043218pzb.54.1712050505586; Tue, 02 Apr 2024 02:35:05 -0700 (PDT) Received: from PC-MID-R740.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id q19-20020a62e113000000b006e5a3db5875sm9702087pfh.13.2024.04.02.02.35.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 02:35:04 -0700 (PDT) From: Pavan Chebbi To: michael.chan@broadcom.com Cc: davem@davemloft.net, edumazet@google.com, gospo@broadcom.com, kuba@kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, Pavan Chebbi Subject: [PATCH net-next v2 0/7] bnxt_en: Update for net-next Date: Tue, 2 Apr 2024 02:37:46 -0700 Message-Id: <20240402093753.331120-1-pavan.chebbi@broadcom.com> X-Mailer: git-send-email 2.39.1 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 This patchset contains the following updates to bnxt: - Patch 1 supports handling Downstream Port Containment (DPC) AER on older chipsets - Patch 2 enables XPS by default on driver load - Patch 3 optimizes page pool allocation for numa nodes - Patch 4 & 5 add support for XDP metadata - Patch 6 updates firmware interface - Patch 7 adds a warning about limitations on certain transceivers v2: Fixed formatting issues in patch 2 and 7. Removed inlines from C sources in patch 5. Corrected email address in the commit log of patch 6. Pavan Chebbi (1): bnxt_en: Update firmware interface to 1.10.3.39 Somnath Kotur (4): bnxt_en: Enable XPS by default on driver load bnxt_en: Allocate page pool per numa node bnxt_en: Change bnxt_rx_xdp function prototype bnxt_en: Add XDP Metadata support Sreekanth Reddy (1): bnxt_en: Add warning message about disallowed speed change Vikas Gupta (1): bnxt_en: Add delay to handle Downstream Port Containment (DPC) AER drivers/net/ethernet/broadcom/bnxt/bnxt.c | 114 ++++++++++- drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h | 184 +++++++++++++----- drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c | 30 +-- drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.h | 2 +- 4 files changed, 257 insertions(+), 73 deletions(-) Acked-by: Paolo Abeni