From patchwork Tue Jan 7 21:41:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Daley X-Patchwork-Id: 13929629 X-Patchwork-Delegate: kuba@kernel.org Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 78C8C1F669F for ; Tue, 7 Jan 2025 21:42:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=173.37.142.90 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736286130; cv=none; b=D3J9TNlRfus3WaEk3IR2/U6Aw8hF5eKBd9fwhFL1XZ1EsOtdw9069cS8ZfoT959u8RW9JnXwHFIxrhRP+P3BQ7FkZO30wv8bjTtNUA7EElRCL2XJU0+OQo66nDzBWkLD/oe8qbsEoD6w0sf7ShEmOmw8N8R+ZfPm0MnMW4Z9/xA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736286130; c=relaxed/simple; bh=iUoY58RIZOVQIqAdegml532MWvAllJjGVn9/uqyXzIA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=X2nBTBqcmAUdFAlgMch2X43LvAggCRUlOV07Yy7DgGp/nwZc3yf6zSP3Lik2htHDUOWawhkKscj6RKDfVAOKutQh5Ao7rSCkpHab0FAX/ItBcXgm6cHaiM6OCqBrpnm2P/JN5FiaB00e3k6E7Ddi7WXFgWlreybNSOMdeZSM7zs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=cisco.com; spf=pass smtp.mailfrom=cisco.com; dkim=pass (1024-bit key) header.d=cisco.com header.i=@cisco.com header.b=VBChtz52; arc=none smtp.client-ip=173.37.142.90 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=cisco.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cisco.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=cisco.com header.i=@cisco.com header.b="VBChtz52" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.com; i=@cisco.com; l=1327; q=dns/txt; s=iport; t=1736286128; x=1737495728; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=GMtPWGchlyzSh7QvtH9Gz7IG8sSoEu3RpF2lBteCrX4=; b=VBChtz52OUfpzihVuwunGRQUVL5v5i7hZevESRXxJSvU05H8uItJBfMW R0PfQdW3vswiY/WqgCzkcJ0wgPeWF4ZupvbP6GrwweN0LxFa/EdHHntLN oR+nX2oNMrKsA1eZ+zpETnh34UMH4qIrn9JsBRjaAQWQQVtGSLLgGnHv5 k=; X-CSE-ConnectionGUID: Fg90ojD6QYuLsE5NYHjrdg== X-CSE-MsgGUID: /3/rTzHRQC+9cY9d6q1bOA== X-IPAS-Result: A0CDAACVnn1n/4oQJK1aHQEBAQEJARIBBQUBggEGAQsBgkqBT0NIjVGnDYElA1YPAQEBD0QEAQGFBwKKdAImNgcOAQIEAQEBAQMCAwEBAQEBAQEBAQEBCwEBBQEBAQIBBwWBDhOGCIZbAgEDMgFGEFErKwcSgwGCZQOxQoIsgQHeM4FtgUgBhWqHX3CEdycbgUlEglCBPm+ECoEGhXcEh2meCUiBIQNZLAFVEw0KCwcFgTk6AyILCwwLFBwVAhUeARIGEQRuRDeCRmlLNwINAjWCHiRYgiuEXIRHhFiCS1WCSIIXfIEdgxZAAwsYDUgRLDcGDhsGPm4HmnU8g2+BDnynNKEDhCWBY59jGjOqU5h8IqQlhGaBbgUwgVkzGggbFYMiUhkPji0WuSclMjwCBwsBAQMJj1iBfQEB IronPort-Data: A9a23:nz476qiXBbgb8/ctkZJGPShqX161QxEKZh0ujC45NGQN5F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RATW/v9J9kFHRXSr33Z4CNVI2Z2FSxEGoMQK5dDdPwtZbmI= X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="6.12,296,1728950400"; d="scan'208";a="424460890" Received: from alln-l-core-01.cisco.com ([173.36.16.138]) by alln-iport-3.cisco.com with ESMTP/TLS/TLS_AES_256_GCM_SHA384; 07 Jan 2025 21:42:05 +0000 Received: from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48]) by alln-l-core-01.cisco.com (Postfix) with ESMTP id 6666C1800019A; Tue, 7 Jan 2025 21:42:05 +0000 (GMT) Received: by cisco.com (Postfix, from userid 392789) id 3EC8B20F2006; Tue, 7 Jan 2025 13:42:05 -0800 (PST) From: John Daley To: benve@cisco.com, satishkh@cisco.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org Cc: John Daley , Nelson Escobar Subject: [PATCH net-next v2 3/3] enic: Fix typo in comment in table indexed by link speed Date: Tue, 7 Jan 2025 13:41:59 -0800 Message-Id: <20250107214159.18807-4-johndale@cisco.com> X-Mailer: git-send-email 2.35.2 In-Reply-To: <20250107214159.18807-1-johndale@cisco.com> References: <20250107214159.18807-1-johndale@cisco.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Outbound-SMTP-Client: 10.193.184.48, savbu-usnic-a.cisco.com X-Outbound-Node: alln-l-core-01.cisco.com X-Patchwork-Delegate: kuba@kernel.org The RX adaptive interrupt moderation table is indexed by link speed range, where the last row of the table is the catch-all for all link speeds greater than 10Gbps. The comment said 10 - 40Gbps, but since there are now adapters with link speeds than 40Gbps, the comment is now wrong and should indicate it applies to all speeds greater than 10Gbps. Co-developed-by: Nelson Escobar Signed-off-by: Nelson Escobar Co-developed-by: Satish Kharat Signed-off-by: Satish Kharat Signed-off-by: John Daley Reviewed-by: Kalesh AP --- drivers/net/ethernet/cisco/enic/enic_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/cisco/enic/enic_main.c b/drivers/net/ethernet/cisco/enic/enic_main.c index 8109e9c484f6..49f6cab01ed5 100644 --- a/drivers/net/ethernet/cisco/enic/enic_main.c +++ b/drivers/net/ethernet/cisco/enic/enic_main.c @@ -109,7 +109,7 @@ static struct enic_intr_mod_table mod_table[ENIC_MAX_COALESCE_TIMERS + 1] = { static struct enic_intr_mod_range mod_range[ENIC_MAX_LINK_SPEEDS] = { {0, 0}, /* 0 - 4 Gbps */ {0, 3}, /* 4 - 10 Gbps */ - {3, 6}, /* 10 - 40 Gbps */ + {3, 6}, /* 10+ Gbps */ }; static void enic_init_affinity_hint(struct enic *enic)