Message ID | 20240131102150.728960-1-leitao@debian.org |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-46221-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1792793dyb; Wed, 31 Jan 2024 02:26:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/k7IKFTj6PafC+xPDd2U4kyyQ7KgyDZx27mbCXF4In+xwLkJAFCU374F9w+UZrXModh2K X-Received: by 2002:a17:906:f811:b0:a31:1178:8e6d with SMTP id kh17-20020a170906f81100b00a3111788e6dmr657545ejb.70.1706696769829; Wed, 31 Jan 2024 02:26:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706696769; cv=pass; d=google.com; s=arc-20160816; b=fgt0xHhJtP9yePoPM86us8j4uobJ9YQxJlhPNuA3xLfvFMCpiIT/5LIN5WkFusMkCi ehginCSSRmIdJiJ/w+yISeoxsWIgXEZrmDSA4GKNKQkZi05VBrPSl7TXb48m3NDU4mVi tGV5T8/3R0c47qHLEOOkRR6gkfo+lR1ZtiivHAsnfcGRYxQH0+/7hkIjqV+wrFRnzenN LeRGW+aqjz/tVuNON3yhalLCvgivFQFN/uVIWvzwWAUNO2dfZpvbbGDLIFsG/xVk3Yxr V77uIAPToi/OnUZDIrcGtGhS98zVCgl+9t8BQKwJQ46Sg03E/NfVOiJ2vn9hu7sj9mi/ 7fYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=rzbanewUQQj5wy+n5V1UkkEIPWprha4U/2Zbco09ODI=; fh=H8I8IPf9IxCuq9PSY9eiH83sCIDkviJMRemEIzQ1rss=; b=z+T/5Y33sOOjowPvcXyrAQaPsmsQPmAJz2RSJ9+2VfR4lWz7cW/cVyYEKXEFYvL4oB 7D27geiaCg4zmSTg4ZYvk8/Sdbey8M/uKdKrbFz0xCo7xeebwSYMbb7sVfD/4gO5hHb4 fkV5m7qaNDgq+ILO2R091NFplfd2C0UQYFLe/H8P9Y91nDNdLD9/IFT0wjNkTdmg6N41 +v+g0tF1p6mZE7FNpLgHuzR0A14Yb4m0nTJQ83BnbGF3WKeY4bKY8UFu9EkkpJqzpnSP V8mRVjZzHXLiZif/bpyCFaUVodMM/sdmrjUQM8G1x7j201007cKg3hrfi7DRPcEg171+ +oww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-46221-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46221-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCWzDiyO/y5K+1ZGk5QSFtf40lL6anlWnec5EvCgmiXoX11vCxuE79JNSzzyNAlk/9Cr5frQm1kJlhNcKPVxL+HZNspl4Q== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t11-20020a1709066bcb00b00a3599b5e76csi3385601ejs.692.2024.01.31.02.26.09 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 02:26:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46221-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-46221-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46221-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1F34D1F30379 for <ouuuleilei@gmail.com>; Wed, 31 Jan 2024 10:26:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 282BB76047; Wed, 31 Jan 2024 10:22:04 +0000 (UTC) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (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 7F1BE69964; Wed, 31 Jan 2024 10:22:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706696522; cv=none; b=ct2e/JnpFWA6mRAzoD1PVLlmjK4ysIVuwLlbRURlNKMgzRxPsip/DnKWu5MNnQ02DlEMPWreL4VaoheHqzrlOfmoNGovz/vrOTi5BFurayjjuxVhtPKIh4YDAQxRq04Zo/xT+Mczy4SbyaDLqY76ikn2pwOxousx4aN+Ovmud2M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706696522; c=relaxed/simple; bh=/JV1uEYHXrbnJa7WNg6DLHiDN+2ZhG/Pr0mBmoeU/90=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=skrpAw+OWTDeyQEg3IIodLxAeiMy0Z/l3dRWHkxxT5P3iV3KP4VVjngXoL8gd6ZQUcJceyjzdojddBUbiyneAMLT26E4Pa4Hj6XNzzwSWITCAqxHGY/beIjw7TmCCnCtD5ZcbH9SaPjtq0Mjk33hHiZNVfJivTka77iaPzTYZAs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.218.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a271a28aeb4so634503266b.2; Wed, 31 Jan 2024 02:22:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706696519; x=1707301319; 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=rzbanewUQQj5wy+n5V1UkkEIPWprha4U/2Zbco09ODI=; b=E6l8B4bO7IBH7s2QyLGlDOoDxhBOZDKmbAQvIoxI+fPLrBPHEUdduPqAGRy1R4p9YF gks22U/45Iv0fIOaP0/0pAGDMasb/pleQG5CG6fq/LqBiMcDnV240Gm24tTHX2ufvx46 qmNifaCZerH+Yngn/ziJhZz83nHoplpVtNzR7yl4+9oBigsGQCd1saeKiGBCKFJbvmtE HEc+j2C5sEPQUh6rasj6Qxs2n7H7qJeWGMyUY3EfTAjYZ+NrMqaOHcDRxOx77RDtPrgu nLwehrDIyCZfYf+BCNRs4MPosrwgDx0HcpswOHegn4P+KRnilWuzGzIpuaLFbar9v2KI l3Bw== X-Gm-Message-State: AOJu0YwWP8XRb6SfsbcMqCgnh291fFyiT9BDB4ePBvl/lYP9zNBgk4z9 gO/BTDl411oefohEUUxgR8jqY0pOVr320Ff8EH9Sq7+Iiav10LmMpP0bp8slF3NVrw== X-Received: by 2002:a17:906:78a:b0:a30:2597:83dd with SMTP id l10-20020a170906078a00b00a30259783ddmr868370ejc.43.1706696518457; Wed, 31 Jan 2024 02:21:58 -0800 (PST) Received: from localhost (fwdproxy-cln-005.fbsv.net. [2a03:2880:31ff:5::face:b00c]) by smtp.gmail.com with ESMTPSA id f14-20020a170906494e00b00a3681468567sm307427ejt.81.2024.01.31.02.21.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 02:21:58 -0800 (PST) From: Breno Leitao <leitao@debian.org> To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net v2 0/2] net: dqs: NIC stall detector Date: Wed, 31 Jan 2024 02:21:48 -0800 Message-Id: <20240131102150.728960-1-leitao@debian.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789601272207965628 X-GMAIL-MSGID: 1789601272207965628 |
Series |
net: dqs: NIC stall detector
|
|
Message
Breno Leitao
Jan. 31, 2024, 10:21 a.m. UTC
This is a patch that was sent by Jakub Kicinski six month ago, and I am reviving it. This is still mostly Jakub's code, with some small improvements, described in the changelog. Changelog: ---------- v1: * https://lore.kernel.org/netdev/202306172057.jx7YhLiu-lkp@intel.com/T/ v2: * Fix the documentation file in patch 0001, since patch 0002 will touch it later. * Fix the kernel test robot issues, marking functions as statics. * Use #include <linux/bitops.h> instead of <asm/bitops.h>. * Added some new comments around, mainly around barriers. * Format struct `netdev_queue_attribute` assignments to make checkpatch happy. * Updated and fixed the path in sysfs-class-net-queues documentation. Breno Leitao (1): net: sysfs: Fix /sys/class/net/<iface> path Jakub Kicinski (1): net: dqs: add NIC stall detector based on BQL .../ABI/testing/sysfs-class-net-queues | 45 ++++++++++---- include/linux/dynamic_queue_limits.h | 35 +++++++++++ include/trace/events/napi.h | 33 ++++++++++ lib/dynamic_queue_limits.c | 58 +++++++++++++++++ net/core/net-sysfs.c | 62 +++++++++++++++++++ 5 files changed, 222 insertions(+), 11 deletions(-)
Comments
On Wed, 31 Jan 2024 02:21:48 -0800 Breno Leitao wrote: > Breno Leitao (1): > net: sysfs: Fix /sys/class/net/<iface> path Let me take this on in, but the other one is not a fix, so it has to go to net-next.
Hello: This series was applied to netdev/net.git (main) by Jakub Kicinski <kuba@kernel.org>: On Wed, 31 Jan 2024 02:21:48 -0800 you wrote: > This is a patch that was sent by Jakub Kicinski six month ago, and I > am reviving it. > > This is still mostly Jakub's code, with some small improvements, > described in the changelog. > > Changelog: > > [...] Here is the summary with links: - [net,v2,1/2] net: sysfs: Fix /sys/class/net/<iface> path https://git.kernel.org/netdev/net/c/ae3f4b44641d - [net,v2,2/2] net: dqs: add NIC stall detector based on BQL (no matching commit) You are awesome, thank you!
On Thu, Feb 01, 2024 at 08:14:32AM -0800, Jakub Kicinski wrote: > On Wed, 31 Jan 2024 02:21:48 -0800 Breno Leitao wrote: > > Breno Leitao (1): > > net: sysfs: Fix /sys/class/net/<iface> path > > Let me take this on in, but the other one is not a fix, > so it has to go to net-next. Sure. I didn't know how to split the dependencies. Maybe I should have sent both of them to net-next, and you would cherry-pick the fix to net? Is this a better approach for next time?
On Thu, 1 Feb 2024 10:47:40 -0800 Breno Leitao wrote: > > Let me take this on in, but the other one is not a fix, > > so it has to go to net-next. > > Sure. I didn't know how to split the dependencies. Maybe I should have > sent both of them to net-next, and you would cherry-pick the fix to net? > Is this a better approach for next time? You gotta send the net part and then wait until Thu afternoon Pacific time when Linus pulls from us. We then pull net (and Linus's tree into net-next).
On Thu, Feb 01, 2024 at 11:43:18AM -0800, Jakub Kicinski wrote: > On Thu, 1 Feb 2024 10:47:40 -0800 Breno Leitao wrote: > > > Let me take this on in, but the other one is not a fix, > > > so it has to go to net-next. > > > > Sure. I didn't know how to split the dependencies. Maybe I should have > > sent both of them to net-next, and you would cherry-pick the fix to net? > > Is this a better approach for next time? > > You gotta send the net part and then wait until Thu afternoon Pacific > time when Linus pulls from us. We then pull net (and Linus's tree into > net-next). Thanks for the clarification. I will wait for that before sending the second patch against net-next.