From patchwork Fri Nov 8 20:25:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Abhinav Saxena X-Patchwork-Id: 13868948 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 D28701EABA2; Fri, 8 Nov 2024 20:25:53 +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=1731097556; cv=none; b=hQcs8E+OFVil9I7Q+wIj7SoTKhC2WtcqB3jVjU6aBgSM7HJRA6HoEdDmDwyo1jv9ooF08XqHMEuEpPRxhxwlT3SADdz4ddhZSY74xpxP5U3PvZ9c6zXGFfMxfOPCxvsh7CEvTw59DQAh0gOHhmyXV+hNuIpgB1dNrXLCZApXA+U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731097556; c=relaxed/simple; bh=SW9sqs7q/nfSn6SZFdJrxHOxVhgt7idMNp23czW+ZzU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=TeVJjBsQl2P3YfsKemC8BUZiolAYqdQU/pmFTWcHEm9BiiBN5g7C5AY9yyjVGJZtEuPxQCzVYtAF/sNPSYbD/OaiWkSnywDA2BxT09WH1OJGd9rYNBGTpGSrnYRf9FXaVU1RBzBioVqWmYHB/iTGT9GocdVv3IW/lTHD3KA9xcY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=M7eN4L2e; arc=none smtp.client-ip=209.85.210.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="M7eN4L2e" Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-71e61b47c6cso2251387b3a.2; Fri, 08 Nov 2024 12:25:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731097553; x=1731702353; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HjsnjJkvFk70FIP+kt5SypebIuFSVyDViD7ncvBNOtM=; b=M7eN4L2eJeuC8o38PBsuXGz2kfy2AYKYacVZBPrUrLWS3bzHsdjAW5UAbM3Hd8b6iw 37n4jS1Hmlc7qnGEEsABgkeNZVrOuqIChJIZ/smFVzIJ7RKaONHeddyw9qNp/DOkbPag PM22QnCbVQunQJTZIjQxX2uTLm2peSW41Zvwopo7rV+auvp122SSl6YX2BTAXcBKh1vB RRpptjyEcoWyc4KCuv5SZTp2tMr0OCEteM4455vVkRRRPb00lgvW6di4mpYDC8RHk9Xc fBTGLqb6zBWu8g1FUZx6MlBDsoEJ2UJShgrOpbzwJvYfJwwgmQx+Tb/PSKLkFnoQouTA C5JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731097553; x=1731702353; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HjsnjJkvFk70FIP+kt5SypebIuFSVyDViD7ncvBNOtM=; b=MSRZ6bn/0cmmcZJYbWR0vf2DPDi5aE3n+11OnpuVbAJty/miBUNMYIBTb1Ziy83WKo y2gRrMYfmY2xcLdiCjvUHm6FwMsZeHDfFYz7I54DSwZIz2fZR4Rc6uwlVezkQrxULxij OuirL8/qAYkeNSP2smFffa9k84fNd0zECZm+ywxwiYZngJoo76ttHXemygzIxtwzL0kH aaDRNhzPLwDgkvHywOiYYvNW6rW9tIemvM7vQ72niYd/XW1bu7p6Sxfu+QN+mFBCm1A5 eEPfQGVkKRaYnemM+D43R/rWmG4Yl7HLoayw2xVUbmKP/37ulJV8cMQDpsK8/qTCcW+B a+uQ== X-Forwarded-Encrypted: i=1; AJvYcCUSkdJJ72VhSDlYDOZoq0dzEfq646CCXmLou1LaP2FAi/w9pGHvMtjNlcc58ku+K/YyNI58nigkuGI=@vger.kernel.org, AJvYcCVJjqpFDy6oG4MhYOtkz+hDrn914DGEN11UKCdNWe9NXTiaB7FXcjV2yM+hB9QjaKRPo2vhyHaWzUqo0zgR@vger.kernel.org, AJvYcCWiVHRZLFe+Ap5An8r8MJwcmpguOsew3k43HHOCXOVumMc59RZu88ucerz/fsaWiRxO1EMaXdwpFq8LvA==@vger.kernel.org, AJvYcCX38ph0e6aWdiVyd8qM/0WpOEUUSSoEoji/X3q5Y0dqXHg02fC+pFQv97L8a9Y7n0aEM8opUPfj@vger.kernel.org X-Gm-Message-State: AOJu0YwHOYOG/zVGbAh1trsYUL18PuWyGeSlwyi8+RGosGxIXRymNOd9 A5Dpl6ZYrMr7ZnE47RFxOH7DlV8gdZExeiyVcVZLJAvQ4fEzT7nD X-Google-Smtp-Source: AGHT+IEqu6hYITG3CTRQf4ojcYGFShTgO4TAJ9wD/3E0BVbXGMBR2cq9fgn6Jmxx9FvlAPL57EqxTg== X-Received: by 2002:a05:6a00:2388:b0:714:2069:d90e with SMTP id d2e1a72fcca58-724133966b8mr4742841b3a.26.1731097553013; Fri, 08 Nov 2024 12:25:53 -0800 (PST) Received: from 1337.tail8aa098.ts.net (ms-studentunix-nat0.cs.ucalgary.ca. [136.159.16.20]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-724078a7ef5sm4342095b3a.63.2024.11.08.12.25.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 12:25:52 -0800 (PST) From: Abhinav Saxena To: linux-kernel-mentees@lists.linuxfoundation.org, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com Cc: Tony Nguyen , Przemek Kitszel , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Jonathan Corbet , Saeed Mahameed , Leon Romanovsky , Tariq Toukan , Allison Henderson , Russell King , Dragos Tatulea , Rahul Rameshbabu , Abhinav Saxena Subject: [PATCH 1/2] docs: net: Fix text in eth/intel, mlx5 and switchdev docs Date: Fri, 8 Nov 2024 13:25:47 -0700 Message-Id: <20241108202548.140511-1-xandfury@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Fix various issues across networking documentation: remove duplicate word in drivers/ethernet/intel/iavf, fix quote formatting in mlx5/counters, correct typo in rds.rst and improve wording in switchdev topology doc. These changes are purely documentation cleanup. Signed-off-by: Abhinav Saxena --- Documentation/networking/device_drivers/ethernet/intel/iavf.rst | 2 +- .../device_drivers/ethernet/mellanox/mlx5/counters.rst | 2 +- Documentation/networking/rds.rst | 2 +- Documentation/networking/switchdev.rst | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/networking/device_drivers/ethernet/intel/iavf.rst b/Documentation/networking/device_drivers/ethernet/intel/iavf.rst index eb926c3bd4cd..73ce04c05071 100644 --- a/Documentation/networking/device_drivers/ethernet/intel/iavf.rst +++ b/Documentation/networking/device_drivers/ethernet/intel/iavf.rst @@ -171,7 +171,7 @@ queues: for each tc, @ (e.g. queues 16@0 16@16 assigns 16 queues to tc0 at offset 0 and 16 queues to tc1 at offset 16. Max total number of queues for all tcs is 64 or number of cores, whichever is lower.) -hw 1 mode channel: ‘channel’ with ‘hw’ set to 1 is a new new hardware +hw 1 mode channel: 'channel' with 'hw' set to 1 is a new hardware offload mode in mqprio that makes full use of the mqprio options, the TCs, the queue configurations, and the QoS parameters. diff --git a/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/counters.rst b/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/counters.rst index 99d95be4d159..b23f36a2d28c 100644 --- a/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/counters.rst +++ b/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/counters.rst @@ -1135,7 +1135,7 @@ like flow control, FEC and more. - Informative * - `rx_pcs_symbol_err_phy` - - This counter counts the number of symbol errors that wasn’t corrected by + - This counter counts the number of symbol errors that wasn't corrected by FEC correction algorithm or that FEC algorithm was not active on this interface. If this counter is increasing, it implies that the link between the NIC and the network is suffering from high BER, and that diff --git a/Documentation/networking/rds.rst b/Documentation/networking/rds.rst index 498395f5fbcb..955afe0567aa 100644 --- a/Documentation/networking/rds.rst +++ b/Documentation/networking/rds.rst @@ -339,7 +339,7 @@ The send path rds_sendmsg() - struct rds_message built from incoming data - CMSGs parsed (e.g. RDMA ops) - - transport connection alloced and connected if not already + - transport connection allocated and connected if not already - rds_message placed on send queue - send worker awoken diff --git a/Documentation/networking/switchdev.rst b/Documentation/networking/switchdev.rst index f355f0166f1b..df4b4c4a15d5 100644 --- a/Documentation/networking/switchdev.rst +++ b/Documentation/networking/switchdev.rst @@ -162,7 +162,7 @@ The switchdev driver can know a particular port's position in the topology by monitoring NETDEV_CHANGEUPPER notifications. For example, a port moved into a bond will see its upper master change. If that bond is moved into a bridge, the bond's upper master will change. And so on. The driver will track such -movements to know what position a port is in in the overall topology by +movements to know what position a port is in the overall topology by registering for netdevice events and acting on NETDEV_CHANGEUPPER. L2 Forwarding Offload From patchwork Fri Nov 8 20:25:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhinav Saxena X-Patchwork-Id: 13868949 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (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 84BF31F26D9; Fri, 8 Nov 2024 20:25:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731097557; cv=none; b=DclHSQOvn9AKWch8lbxH78y+LD1vAGUG6lBiYVMsoctMZ6uo1E7lwuQJXq+cddvm2F2jS+bU+d0FLWLEhatROMXK5e7hxndN3GcheUiUKF1JxRTTKCLdz6fdSEYNFWoep1ikLhpLMrcwM8twV5NmfNSHugtn8ExIYJCZO48suYI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731097557; c=relaxed/simple; bh=EwuR0aEZqAZbI/6IsUs5eyGt9WzC2ruGQlQLKWSC90Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=P3TanqqtkiLGwvWccU8MFxlZLL9T/RsmWcRPVHLnDgArAx2egh0vKaJgjsaxMeTJW8J2UBf2Dr9AoCxYtts6EtVYyx29hZMr7of5fBDw9WdBHgAYy9kaf8fvzy5a6IKlzhVt+D3EBnj4RkxsJ+pVO11f4uPXhPiKXyrnzpypQSI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eqgg0yN0; arc=none smtp.client-ip=209.85.210.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eqgg0yN0" Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-723f37dd76cso2738740b3a.0; Fri, 08 Nov 2024 12:25:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731097555; x=1731702355; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ziC/Yq61LN2QkFiWm1kDqgTQsLk/e+GZCQ9Xzo2PVrg=; b=eqgg0yN00miMkTGeuWVh+6utVnlHGb1ofEagTZzxcSdbJUh0ycvWUadbl9sEtQNfZU xeVLiRNMYM0vlLAMk4WyDnlwY67h/wJVMSan1r3uPPiLWJ/3B9zLundQZOXyVjONCYY0 yjc7D+XPe5Y1BJBBThqq8UdfSxAxLH25vaU3ONyQAv50vifKaR1ycZ7os5dwOZqll9uu 3rlwLWG/aOMHDROJWyXGmoM5do8AySK6erAJhXe94MjouIRWgFEClhwHckcnbfIPJ+9h OxVzIAJp+bp1MPan8foQ7WnqIwGmQOkRMjVp8wXmQFNwnaCng+wArNIEXI5XKIAIkqQW YULQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731097555; x=1731702355; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ziC/Yq61LN2QkFiWm1kDqgTQsLk/e+GZCQ9Xzo2PVrg=; b=onvGGl8RybmP+miQ6NRa4LJw4AAwk7OEp6SCnESSwEYqk0xP4MqJ72cqZCPIqz9yMZ C1O9yR9qdTtKIp2kcu+3kSRVpW+Wvszvwj2RB4VLAPCp7FhCD7RYgSDbKYkU0jZ3v1TN qK3+ClGmZeQHZ2b7gm2M0S1/P/3tymyixPP1/BxP6C+SrQEHRmhH8eD2JSCFzxk7NMmP WnIF7Gij6gl7AmGNveOA8h3qTOppr4UrPNZYfLrsldPW6bds+NalnHZGVO/5U0bgLSW8 O2K/AXcfPSPS3yL6jTD8ozhy01TvDT+EakwqOV+OpSoGd1HFNX20PuT61QQMbJSIAWYA LH3g== X-Forwarded-Encrypted: i=1; AJvYcCUrsUF7SvsoIlZQgkWH5NUcmDYpK4oVH3mjMKX+FAQeGV6cHJ9wY5HSqy5/Kl5pPybib+/Rg5/Vgf0=@vger.kernel.org, AJvYcCWFZ3m9gG5E+LlUILtOlZ+w9KNsYoAsGYF55PlKOmgusIs6ZDe8+uim+DMUdWZvfFStQUOeYn0r@vger.kernel.org, AJvYcCWhCGQoOu0Ai14IRdmbquqVBv0Jj3vk/IySiqM5wuDjMS7Y0DmvLliKR2OoHCWTY8OIhZCG3ENuUUC4DFDF@vger.kernel.org, AJvYcCXDtJEDk/UHeuc0Y9c/2ZHihDIPgF/lW6kCD1PsrkqvC0UpjJgu0rOagap9IHcXEK2AxuSQSyofnq1WfQ==@vger.kernel.org X-Gm-Message-State: AOJu0YzJ5HBi7g91VSmejDvaJS6yqxCVrjVIxjdMkpcn6eitLfqdAd1E ik1b1CqjOrES6Rj65UheM8Vm1XmZ6IOUfUwv4SkUQYhkg+/jaTKK X-Google-Smtp-Source: AGHT+IFzz8Lbq/N+oEHpfPZUIZbcUUGi+YneJibJoBrUZTYSicjrrJP7xbTOlSK+DN7/o1E/TruelQ== X-Received: by 2002:a05:6a00:3399:b0:71e:7d52:fa8c with SMTP id d2e1a72fcca58-7241338b59fmr5742858b3a.22.1731097554716; Fri, 08 Nov 2024 12:25:54 -0800 (PST) Received: from 1337.tail8aa098.ts.net (ms-studentunix-nat0.cs.ucalgary.ca. [136.159.16.20]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-724078a7ef5sm4342095b3a.63.2024.11.08.12.25.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 12:25:54 -0800 (PST) From: Abhinav Saxena To: linux-kernel-mentees@lists.linuxfoundation.org, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com Cc: Tony Nguyen , Przemek Kitszel , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Jonathan Corbet , Saeed Mahameed , Leon Romanovsky , Tariq Toukan , Allison Henderson , Russell King , Dragos Tatulea , Rahul Rameshbabu , Abhinav Saxena Subject: [PATCH 2/2] docs: net: Fix sfp-phylink whitespace Date: Fri, 8 Nov 2024 13:25:48 -0700 Message-Id: <20241108202548.140511-2-xandfury@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241108202548.140511-1-xandfury@gmail.com> References: <20241108202548.140511-1-xandfury@gmail.com> Precedence: bulk X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Remove trailing whitespace from sfp-phylink.rst documentation. Trailing whitespace can cause diff formatting issues and violate kernel coding style guidelines. This is a trivial cleanup with no content changes. Signed-off-by: Abhinav Saxena --- Documentation/networking/sfp-phylink.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/networking/sfp-phylink.rst b/Documentation/networking/sfp-phylink.rst index 5bf285d73e8a..4ce46aef6568 100644 --- a/Documentation/networking/sfp-phylink.rst +++ b/Documentation/networking/sfp-phylink.rst @@ -142,7 +142,7 @@ this documentation. const struct ethtool_link_ksettings *cmd) { struct foo_priv *priv = netdev_priv(dev); - + return phylink_ethtool_ksettings_set(priv->phylink, cmd); } @@ -150,7 +150,7 @@ this documentation. struct ethtool_link_ksettings *cmd) { struct foo_priv *priv = netdev_priv(dev); - + return phylink_ethtool_ksettings_get(priv->phylink, cmd); }