Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp589147rdb; Thu, 15 Feb 2024 09:05:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVkZ/jnCeI38SKaWJxdA2kGJhmxqlsGYX7MuEyvLtyM/WWbnmKnQaPsyatImCgjQznxseGZiy+s1WVx5reXshmmdmswMnQelP6EpvNLgA== X-Google-Smtp-Source: AGHT+IECU/T9gdcLnvWgJlbGsICfiKJp9X4iBmr97qAr+hBKBWqpi1dgitGCHiC2DArtJAuuAdWW X-Received: by 2002:a17:906:816:b0:a3c:5e17:1635 with SMTP id e22-20020a170906081600b00a3c5e171635mr3392205ejd.30.1708016732432; Thu, 15 Feb 2024 09:05:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708016732; cv=pass; d=google.com; s=arc-20160816; b=CndfyvgHQ5GyLVtV6CFQrz8+JFcd9VBsQISiL/UN4snQd9jFdPbMcUbz/0JNIWgRrZ Qri4tslPCcDt0u441oOMFhRZM0pwYEDBCxB8+W+cckvGVePxLkzBsWtFTNE/w1Egw7MR Vz4pjuMfNB0+Gq2cSuyuLo/PramZPWVgODmSoicEfwuGuBkfwcdSm+XUerV4sURBwc/5 VAqqviEZUTl+qq2/3uNOzGugcVpdtkl1Rn3q0f8Di6Begdg6nsER/43dEGjk0UTTKRpV g2CLgJ52dTGe3ZnqUuzmMD0NIRnGap/JWVwCQMxTJlgIjBPloEd7P9EE0CJw7ulmAT/E L0pg== 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=itdKMY5sCR696Z1aNNcyo052D3kyhlXW5LOJNDNYPz0=; fh=jArh0TJpRS2LI5iGC2sGPlbMg5cC3oPBlVxTdyEW/Po=; b=mANhChaepqtogG4GrZnhBRsAuDdSzCuE20YjRKBnL8cMlOngOkbNfHjHdm49mIjcYw e734xGNxWLor9vralgiqok5c5rpgHy/C9f1YjjZ5brrkH55bq7TYF7F+pU+ejSSHKwHv 8mRq2Wrj0eSnLLda1HdNjXYaibnGB0Dnyt8ZVhQud9nS8R9oKtELuK1vMi/UGd0isEGK A9M+Qq5QRDhPNW5mOy2vTR+OduIe4+bDtCmDkzVTyAa4mTr1D034KkgxTbS2kFqNTUGs f3XbqcKg/5KXUDrJS14J4YJ9ev4p/CsMQ5maUQLaItksW87iluKtKGO55RO5lw92f7Q0 Mwsw==; 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-67367-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67367-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n15-20020a170906688f00b00a3d72d77a6fsi784514ejr.401.2024.02.15.09.05.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 09:05:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67367-linux.lists.archive=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-67367-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67367-linux.lists.archive=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 2EDF71F26F5E for ; Thu, 15 Feb 2024 17:05:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 073EB13699E; Thu, 15 Feb 2024 17:05:23 +0000 (UTC) Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (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 C125113666D; Thu, 15 Feb 2024 17:05:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708016721; cv=none; b=EyFJ3tWEROxG8S2TpGdew5Dv8UFb65dgo3Rmh4ftbQ7ct62Te0E18YLG9pOs69HZUdGJmFuPREgFUOx2KhRpDRKov64WQfUOgAs9ZAC/hdG/B+TgVYgkFy72sribWfe2MwwyIlxnAGEG418QmRjxc/I1+yf4U0uP6Mr+e/6EkwI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708016721; c=relaxed/simple; bh=ZJKxsH5Cr0XFznZUyCBX+l/QkRNCKGBmvnZMLkrtVF8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=p4ZIU4R3cVGlNb0Lam/OhdZnTDYX3yQj9oHwmWMy7MvtgRk5OLxDdwyc034vdp4XaklFWvMZ0tDmRoSjA22SRW5GRTsbo8T5GaeJHxkio7srj2eMQmKbDlF0V9hkemEDM7D9mJmmdMzopuFGqMchdVc36iYpx5jyLArp6H5jkmM= 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.208.52 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-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-563b49a0f44so1321759a12.0; Thu, 15 Feb 2024 09:05:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708016718; x=1708621518; 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=itdKMY5sCR696Z1aNNcyo052D3kyhlXW5LOJNDNYPz0=; b=eaFCVjyXyVjuRV+9yCnDAeLECW6Bs9+N+Sy4Tj7fD0dzLE3/qOFFUHqQntX7ypoY/F hNIoFWcBpbUrx+G/LcyuK1w4LgtLg2LPg+0aDXm4E1UAdRupz59uJBoRcvJcfS6Mc3VB lDK1NUgPk9DxcNBmt0Ay7qrPIoPnObTmVkLO0fQp3l12BmZILrOoUjwHuqd9SpjRRvmL PAcJn4dtQGm0BAqcAnF0+uWIfpX7dICtwoGX5Qa4xvHyetgRM4bB4guRMUpOTlK50g6c JrDBOs7GvQBw2NUSj2vd76jXZEZo2oWAZ1w2ZVrDJibUHf1nTN/RNFmgkADD+HkUT+a0 8elw== X-Forwarded-Encrypted: i=1; AJvYcCWe8XyghTFle+J1R437Z7SDkVx12NOA/y8Tn+j79ojqoG2VHMPIJjTRNITc2TheHHVGo0j5jEPMWMoULMPGM54BQGNH33lUaGbt3Htq X-Gm-Message-State: AOJu0YxeiegKAkMrolmoX9B5mKZ6w5oB7Z6HWdb9Jxz8feXfTQgQPqgM LzhI/95S0r51HtRTloihapNyxXhWpEiX2P+vN8hot0Anv5zsZGOV54hNLhBE X-Received: by 2002:a17:907:20e9:b0:a3d:6cb1:1889 with SMTP id rh9-20020a17090720e900b00a3d6cb11889mr3031736ejb.23.1708016717662; Thu, 15 Feb 2024 09:05:17 -0800 (PST) Received: from localhost (fwdproxy-lla-007.fbsv.net. [2a03:2880:30ff:7::face:b00c]) by smtp.gmail.com with ESMTPSA id dk24-20020a170906f0d800b00a3d81b90ffcsm731472ejb.218.2024.02.15.09.05.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 09:05:17 -0800 (PST) From: Breno Leitao To: kuba@kernel.org, davem@davemloft.net, pabeni@redhat.com, edumazet@google.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, horms@kernel.org, therbert@google.com Subject: [PATCH net-next] net: bql: allow the config to be disabled Date: Thu, 15 Feb 2024 09:05:07 -0800 Message-Id: <20240215170508.3402883-1-leitao@debian.org> X-Mailer: git-send-email 2.39.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit It is impossible to disable BQL individually today, since there is no prompt for the Kconfig entry, so, the BQL is always enabled if SYSFS is enabled. Create a prompt entry for BQL, so, it could be enabled or disabled at build time independently of SYSFS. Signed-off-by: Breno Leitao --- net/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/net/Kconfig b/net/Kconfig index 4adc47d0c9c2..3e57ccf0da27 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -331,6 +331,7 @@ config NET_RX_BUSY_POLL config BQL bool + prompt "Enable Byte Queue Limits" depends on SYSFS select DQL default y -- 2.39.3