From patchwork Tue Jan 23 12:27:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Tammela X-Patchwork-Id: 13527323 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.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 2FC3A5DF33 for ; Tue, 23 Jan 2024 12:28:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706012886; cv=none; b=uioRGtdVdROjQVnhcoxbqShUhvAxnJUU76syAG68QeBNDu2ZvMBNaGTBVTVATVyBPGKt7+QcVr1iSYogtioWAE9zCjLLUEy1wJzp52Y7jiwxvmlFODRSr0IwVjXQZRkuQa2QJB1MDUJ/Ll7OSm94PVOxivL6XvUKxIxY4BD06Bc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706012886; c=relaxed/simple; bh=hNio0nD1Jw8dvozmdpvI20LoAzPAeMst7QlmZwbRnt8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=QT+Zv7jNMXJtzsubq0P+gCVoXVOVJR9xmqbTbpVTIf/gFyIAVESU6DuxRPXhRW73SOmh3xfDqMI+jlpZLXNLJ5aHRF8a4EoD1yxJnM/FJjl4MhzyOv0M5o859C9JfDfp87nnmVrmB0wB1vft/gAi3fS3g0JZaptnBqyJ9bev7CU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com; spf=none smtp.mailfrom=mojatatu.com; dkim=pass (2048-bit key) header.d=mojatatu-com.20230601.gappssmtp.com header.i=@mojatatu-com.20230601.gappssmtp.com header.b=AF2agY6F; arc=none smtp.client-ip=209.85.214.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=mojatatu.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mojatatu-com.20230601.gappssmtp.com header.i=@mojatatu-com.20230601.gappssmtp.com header.b="AF2agY6F" Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1d711d7a940so36283585ad.1 for ; Tue, 23 Jan 2024 04:28:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu-com.20230601.gappssmtp.com; s=20230601; t=1706012884; x=1706617684; 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=/0aWr6I4AG0v1dbSwbiagBcAQfQgpKpYJbEuHRWpjLo=; b=AF2agY6FiEtmXolpgqZJSdLqAiQ+Dspdc7yI6uQs5Ka5yaJrda92dZp+UppPehLwaK xCawr+uyRfZkdlFCxfmue3lK2EMa8n4cwP1mFzo+hMr5OQqF1i6appASEm/njL3SRsSd JsJMrUSA5Yj+lKZfDN6Q2X+8kQ1qEV+NsCPVmuizwmYbjmVb3/yotNLsaWBSNgokdIog +07RdzCzIsKNMDdb2OLjqGAu33M6D/mjIHk3QNpTCxPAisQM7rfnPNFQER8C1Q9qwH7e omb447PjiBb5u4+00cq/dA099MRtIsplMYNUoDZStd3IC8Y22l7G61ufyHih8nM30biM BtBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706012884; x=1706617684; 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=/0aWr6I4AG0v1dbSwbiagBcAQfQgpKpYJbEuHRWpjLo=; b=CMuOUrsFkDKgPYPLtmVTBoxGIhulps/3X6lHrqKl1Z1k+3A/0DMDlRSdjEu1qXnDin oeS82xXOoZEzLWHL8f/Kpsk6pQFAUXycNulDTH6UxpSze3kOKXNuz9Ac2ZZeZBiEAwdw fbW+i6o3moBc0ENRn0XeqOcOZZrp6DA2W6MJkwb9+RT0qXNipnPv3ULNdZ4CQt9n2D65 dbaQsORpXQcIOaO7+0Zkt55BmKaM/GUKaS6rWDMeXf/1NZMU7cYqdCkrGnqoHxw/UDep BPSIbx77W4FIZ7mOxTLPNFWRQ8bLvlnNhxmllBeluf+vPraL982fOYDvlu+6e03nHxUC A1nQ== X-Gm-Message-State: AOJu0YyQhJZCIeIlHyc+qe5VlE28XI3L3EusWVX9EtmqYGuGOCzqCk+Q EpRpF2XjnDAmFAtw7GYk9m5bVRP7k3fyvaCyZdA1VqrWMy4RFjkFFT3toYbqSiXBQ4Y5ek0Ub2b /uA== X-Google-Smtp-Source: AGHT+IH+j++0Z4LJicGfMhDn4wsXWvlBrkFUYpvREu0saz7SbxcqHQ5+aTarwo0UXzA7phAzv9xZSA== X-Received: by 2002:a17:902:dacc:b0:1d7:6feb:b0b4 with SMTP id q12-20020a170902dacc00b001d76febb0b4mr562706plx.19.1706012884519; Tue, 23 Jan 2024 04:28:04 -0800 (PST) Received: from rogue-one.tail33bf8.ts.net ([201.17.86.134]) by smtp.gmail.com with ESMTPSA id ke5-20020a170903340500b001d33e6521b9sm8867643plb.14.2024.01.23.04.28.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 04:28:04 -0800 (PST) From: Pedro Tammela To: netdev@vger.kernel.org Cc: jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, shuah@kernel.org, kuba@kernel.org, vladimir.oltean@nxp.com, dcaratti@redhat.com, edumazet@google.com, pabeni@redhat.com, linux-kselftest@vger.kernel.org, Pedro Tammela Subject: [PATCH net-next 1/4] selftests: tc-testing: add missing netfilter config Date: Tue, 23 Jan 2024 09:27:33 -0300 Message-Id: <20240123122736.9915-2-pctammela@mojatatu.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240123122736.9915-1-pctammela@mojatatu.com> References: <20240123122736.9915-1-pctammela@mojatatu.com> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On a default config + tc-testing config build, tdc will miss all the netfilter related tests because it's missing: CONFIG_NETFILTER=y Signed-off-by: Pedro Tammela --- tools/testing/selftests/tc-testing/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/tc-testing/config b/tools/testing/selftests/tc-testing/config index c60acba951c2..db176fe7d0c3 100644 --- a/tools/testing/selftests/tc-testing/config +++ b/tools/testing/selftests/tc-testing/config @@ -8,6 +8,7 @@ CONFIG_VETH=y # # Core Netfilter Configuration # +CONFIG_NETFILTER=y CONFIG_NETFILTER_ADVANCED=y CONFIG_NF_CONNTRACK=m CONFIG_NF_CONNTRACK_MARK=y From patchwork Tue Jan 23 12:27:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Tammela X-Patchwork-Id: 13527324 Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (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 88EA25DF36 for ; Tue, 23 Jan 2024 12:28:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706012889; cv=none; b=gX7D7yJVpdtdTk0m4QQmxtIIHpPOpUr4S9o6d2RBr1xrrojZbr/uET/BrrayntkjetdqsmSCsCbrNRUhzcoNq9/qk/1P4VV5wHfjHLffRsd3dIACQUjVV6epl9GC35zGjv8NamLHaw+WR83iuCn1aVeMeuaggjPZnsgKMXC/dYk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706012889; c=relaxed/simple; bh=mNJfhFrzCnirpLXJ5iI3TEJymxjQIJ/DWffLWkrOsl4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=APISMWyEPI1s1TEObNzMvFu4DEzgwuLIn1msCz8IwOQIoj0WLKyFqCmDXn65A+X2W72u4WWR14TZaXTJlCIY8YSVPV5U+FcopQSH4DgGIAmOSbmNknSRqgr075IUJuRQl/915QFJU0mLqX7E/D+roP8DQIKyVTMYqZyB4OjiE1c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com; spf=none smtp.mailfrom=mojatatu.com; dkim=pass (2048-bit key) header.d=mojatatu-com.20230601.gappssmtp.com header.i=@mojatatu-com.20230601.gappssmtp.com header.b=HZ1upIbq; arc=none smtp.client-ip=209.85.214.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=mojatatu.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mojatatu-com.20230601.gappssmtp.com header.i=@mojatatu-com.20230601.gappssmtp.com header.b="HZ1upIbq" Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1d72f71f222so12881655ad.1 for ; Tue, 23 Jan 2024 04:28:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu-com.20230601.gappssmtp.com; s=20230601; t=1706012888; x=1706617688; 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=TWNyc2ZrRFbLhMvmi6sT5LZ78Db+KMqOAgITyuzVG8A=; b=HZ1upIbqWEtD+rYAI6hR9EAj3nnLU3l/TVmFESEpfSubrSkuPVP5d45q8HjJW3sOS3 E1VUuo8lA6r3qIQi5vMYYfJvvdHq/oMNH2fDk2TaTlNdmeUfApuZVJn2icx1QEkX5ePL 9KU7jN5oshZKVPsBfuXIZSWHJfMBoBDtS2qu0EDPC4BOCRMLjoUcNGWsw/UTUjqsvg3k Gwqtw4au+kvhZvqAd0opTwn8TKMR/+A4li+zfPDBAm2YeeiBBUGNXlCTOtOJSR8nYQBE ddpG1U8h0BEf1iIyJTp2U0hZilEdNqytJlE7NPXRch16NXtnE5lbm+iDwRtZuIrouDi+ MsKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706012888; x=1706617688; 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=TWNyc2ZrRFbLhMvmi6sT5LZ78Db+KMqOAgITyuzVG8A=; b=Nka5AYxd+oVadXxluFno2X7I2fYx4ojoAhQJaCGumJabxS9OYN8N7SgKj/0hEoMjkq djC8N8HeOwQpQlNX2io4+Itol2Bd2/0pKqPv3rknFGVaE45uGZaAB1nCV05wZUekInCk 21e8IFh+shR2fZWkBeII/P1L0RngwH9IVivLXrLXOQbLtmbpM0SiXPo41a5c/Wi2glwm STrPtwUs76JGHlAKVet/nMca394NbJJ+kdfI842pLjaGy2Ms5jgtXcKh7erHbU4Q7aX8 +JIe49U3D98C+PxfRnnt07rMxe8D2VjmczjMOxfnZ+yBH6woQYBEzvkNHoSUd1CCbrCv yOtA== X-Gm-Message-State: AOJu0YwLQipitlzZZ72DvgBwm68sIn2FNWRZ/yfPo0bAs17JPDUdqwsd POnqCHG1ObTt0oAm/ruJVEM/wJ3ySjke70QMQSdx/qMr+EBjf+yFQNukfjWACQ== X-Google-Smtp-Source: AGHT+IFIVaZpG5Qjwmncagn0GBVeBnT+Shg5p9hRljc/0rIrzuxqOGd3+wHj/nc+1CJfJj6KfyKaDg== X-Received: by 2002:a17:903:2689:b0:1d4:94f6:56cb with SMTP id jf9-20020a170903268900b001d494f656cbmr3016815plb.117.1706012887977; Tue, 23 Jan 2024 04:28:07 -0800 (PST) Received: from rogue-one.tail33bf8.ts.net ([201.17.86.134]) by smtp.gmail.com with ESMTPSA id ke5-20020a170903340500b001d33e6521b9sm8867643plb.14.2024.01.23.04.28.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 04:28:07 -0800 (PST) From: Pedro Tammela To: netdev@vger.kernel.org Cc: jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, shuah@kernel.org, kuba@kernel.org, vladimir.oltean@nxp.com, dcaratti@redhat.com, edumazet@google.com, pabeni@redhat.com, linux-kselftest@vger.kernel.org, Pedro Tammela Subject: [PATCH net-next 2/4] selftests: tc-testing: check if 'jq' is available in taprio script Date: Tue, 23 Jan 2024 09:27:34 -0300 Message-Id: <20240123122736.9915-3-pctammela@mojatatu.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240123122736.9915-1-pctammela@mojatatu.com> References: <20240123122736.9915-1-pctammela@mojatatu.com> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 If 'jq' is not available the taprio tests that use this script will run forever. Check if it exists before entering the while loop. Signed-off-by: Pedro Tammela --- .../selftests/tc-testing/scripts/taprio_wait_for_admin.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/testing/selftests/tc-testing/scripts/taprio_wait_for_admin.sh b/tools/testing/selftests/tc-testing/scripts/taprio_wait_for_admin.sh index f5335e8ad6b4..68f2c6eaa802 100755 --- a/tools/testing/selftests/tc-testing/scripts/taprio_wait_for_admin.sh +++ b/tools/testing/selftests/tc-testing/scripts/taprio_wait_for_admin.sh @@ -3,6 +3,11 @@ TC="$1"; shift ETH="$1"; shift +if ! command -v jq &> /dev/null; then + echo "Please install jq" + exit 1 +fi + # The taprio architecture changes the admin schedule from a hrtimer and not # from process context, so we need to wait in order to make sure that any # schedule change actually took place. From patchwork Tue Jan 23 12:27:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Tammela X-Patchwork-Id: 13527325 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (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 191555DF2E for ; Tue, 23 Jan 2024 12:28:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706012893; cv=none; b=PMNVODo4/2/4zNe134A+B3fAAd9e0ZVDAGEyf3z01l/vPqa3iCxoAWkzMGUB2jxQSIptyCCHTmyrxcAY58r5CTgVioLwYuA0tA8KpAAnSEGsC+UlfrvdQNvE/5I1zP29DQTH00ERgu3w5bPOtqgyBYXQlsn7WTIJk0PieIBuN4c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706012893; c=relaxed/simple; bh=ewKXOUbu1Pyuh9x+cdnLLtObcxSdtkqTBHdNo9HRO8g=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=UmSyNVQCCaGALxIhV9aQj9xZmw8izs8QcpOnJeP4ap9TzV3+EFBcFX+JTTrPblQ0wQz8anPYzdU8myrUPX7iGOl9MNyc1iUQkhP7RrYWSGv5tEL9+8OzQZbeKzugfJFplHS2IHaaU9MmYmRH7FRE1KxWCdGpOdRFWA7PHSLbXmU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com; spf=none smtp.mailfrom=mojatatu.com; dkim=pass (2048-bit key) header.d=mojatatu-com.20230601.gappssmtp.com header.i=@mojatatu-com.20230601.gappssmtp.com header.b=kmNr51nV; arc=none smtp.client-ip=209.85.214.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=mojatatu.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mojatatu-com.20230601.gappssmtp.com header.i=@mojatatu-com.20230601.gappssmtp.com header.b="kmNr51nV" Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1d720c7fc04so22316775ad.2 for ; Tue, 23 Jan 2024 04:28:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu-com.20230601.gappssmtp.com; s=20230601; t=1706012891; x=1706617691; 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=Rk3nWSvAIa1Zh4Z+2SFhPhPRTodwriGnEQi3EvZJ3+I=; b=kmNr51nVnyt3KTuxV/aCf52I+nBG0gUd1jpIMdDdiXJqdTNiZu/SPYErQMN0NmPvU6 J5e5CqRwftdA+aqnFCIpsWNmdZR5L8APSu5HQHQ8Skj68BmoA99zxs3hgfdoc8N7CPys amHj5E2J9/SpP3ywPMmwfCY8yDgGjyJ4Qfu6nUsFdgFm09Wn6zb1PMwF4EGDh0JGYXt/ nzFca9Ov1zypBFZofOokVHXxZKMB6Rdk/eg5QybNHDlAv+lCQtdCgm1rYRm85PUcjBDx 0VbhOdxbnN4vLEbpG9XDhBuoJA/8q9pDZ+ApN20TWdzq6euitS8iAfZBOsjXMzgDFifJ X6Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706012891; x=1706617691; 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=Rk3nWSvAIa1Zh4Z+2SFhPhPRTodwriGnEQi3EvZJ3+I=; b=fbxCWTTeRvS9qmzH2ZsbM9OeO6m2TWuq1viD60eVKfXDjZdRWWEa/9Cg2OlfM4Ym35 SQkJNixrv8cvu1i/acP/zEgS8iv28IN5blvCJtmXaY7xU+7OPcCbmSkV2BGA1Eb/uJbx aEaZLjrDMLUT4r6brUcxapY6nISVgIe7DIVdDc/15+N8nsRElaulM9qXJQgEcdhgTyM1 zzKp6IiR4bgPvUdnetZRzHF1wsFMF1sJd0nFsFpSmf1Q0AIqXwN1m/aYiVutZGGXDR/y R2HPMxeRxfB2EEDW1MZ1MOrg2Xr7RbVhvsUIt3FbtIJ3oyBXjhslKsz5Ui86SIVh2rWz xkFw== X-Gm-Message-State: AOJu0YzPu6nzJMYq+eXGWSJYMV95DH2vWgYFwRi5cjq7hMq0Q/T7faZ3 O/8Bne++JeKM9G5IarxB4XAzhKKRki7LQtT71xzWxsf6fptFsua53UF/Wlc2Tw== X-Google-Smtp-Source: AGHT+IFQWONi4JPN7dRHb1W2osyizSbrUOCTFhj4HxwmfjMclQs2bHn9GEHTimAzwcAFrjBjgInkzw== X-Received: by 2002:a17:902:bd86:b0:1d7:4d7:a64b with SMTP id q6-20020a170902bd8600b001d704d7a64bmr3082732pls.121.1706012891477; Tue, 23 Jan 2024 04:28:11 -0800 (PST) Received: from rogue-one.tail33bf8.ts.net ([201.17.86.134]) by smtp.gmail.com with ESMTPSA id ke5-20020a170903340500b001d33e6521b9sm8867643plb.14.2024.01.23.04.28.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 04:28:11 -0800 (PST) From: Pedro Tammela To: netdev@vger.kernel.org Cc: jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, shuah@kernel.org, kuba@kernel.org, vladimir.oltean@nxp.com, dcaratti@redhat.com, edumazet@google.com, pabeni@redhat.com, linux-kselftest@vger.kernel.org, Pedro Tammela Subject: [PATCH net-next 3/4] selftests: tc-testing: adjust fq test to latest iproute2 Date: Tue, 23 Jan 2024 09:27:35 -0300 Message-Id: <20240123122736.9915-4-pctammela@mojatatu.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240123122736.9915-1-pctammela@mojatatu.com> References: <20240123122736.9915-1-pctammela@mojatatu.com> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Adjust the fq verify regex to the latest iproute2 Signed-off-by: Pedro Tammela --- tools/testing/selftests/tc-testing/tc-tests/qdiscs/fq.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/tc-testing/tc-tests/qdiscs/fq.json b/tools/testing/selftests/tc-testing/tc-tests/qdiscs/fq.json index be293e7c6d18..3a537b2ec4c9 100644 --- a/tools/testing/selftests/tc-testing/tc-tests/qdiscs/fq.json +++ b/tools/testing/selftests/tc-testing/tc-tests/qdiscs/fq.json @@ -77,7 +77,7 @@ "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq quantum 9000", "expExitCode": "0", "verifyCmd": "$TC qdisc show dev $DUMMY", - "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p buckets.*orphan_mask 1023 quantum 9000b", + "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p.*quantum 9000b", "matchCount": "1", "teardown": [ "$TC qdisc del dev $DUMMY handle 1: root" From patchwork Tue Jan 23 12:27:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Tammela X-Patchwork-Id: 13527326 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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 6B25E5DF30 for ; Tue, 23 Jan 2024 12:28:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706012896; cv=none; b=s+jxJqDVut4NH257QqayFXwSNXvG2JfAz6KKPg5rlUit+N6exrWptVwOURzOC4OBqYq5jxUsaInBBqzFRad4QSp780E2ahS0jefEzAa1ktGw8NDpZT5bU5nd+j/Uj4S6dkNtcutWtin3uScVt7tc60e0EYDxbMIYf0biHAD0L/U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706012896; c=relaxed/simple; bh=Ot+bTBOPefhnDDQDaFuxiuUfKC6AG33bf2g9LLIDp3o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ZSRdj5N85zQ4EVs9EeQemFt1SXS4CBl5gQvB02LgnTMM57SS3oX5t8MdelLuLsLipoXke+GrAJasxxsGSi+QJeIvMV3spwweQhZCeGVfkMzpij5wbByMMmqYeRbwc9zycvR+Klu2AK/cPsTg2VfFBL0tBRCO1PwqR4wkz8pVd5k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com; spf=none smtp.mailfrom=mojatatu.com; dkim=pass (2048-bit key) header.d=mojatatu-com.20230601.gappssmtp.com header.i=@mojatatu-com.20230601.gappssmtp.com header.b=tQ7tJGtU; arc=none smtp.client-ip=209.85.214.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=mojatatu.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mojatatu-com.20230601.gappssmtp.com header.i=@mojatatu-com.20230601.gappssmtp.com header.b="tQ7tJGtU" Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1d7232dcb3eso17243385ad.2 for ; Tue, 23 Jan 2024 04:28:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu-com.20230601.gappssmtp.com; s=20230601; t=1706012895; x=1706617695; 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=36MRRmXPqllz5KyDGXZTrimLPtySszyCB1oWLfkeCAE=; b=tQ7tJGtUx5zaEJjNxaVyvpH6BVhyDlF37uv/kfxSUGee7v8BRTSZgLX2G7725D+CbC mkd721JiCz2mQBGoRBJbFe5e7HVfQPrQXowz6yTu9QGuuePv0V2H0IFF/2k/I4aD5OuR 7en0I0MgVnTDyrfrdJSr7uLTLeMM1vw5dCdimzbhasXH9hDD3E/GKYsqlKR86M5mTfmd x4fi+J/RKaWoehGcJWpZJGeYN9zWRA0+/NOEqBlbSBKaM1TYT8Xp7SWpddXCyBdhN0H7 2fOq/xVCFKgwjwR8BzLW/aWKBXlqzTgo3HoKAY+v2QOaZZwVgfZyRDgcbnvDjh3ti7qF zc7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706012895; x=1706617695; 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=36MRRmXPqllz5KyDGXZTrimLPtySszyCB1oWLfkeCAE=; b=XYwljHKmWwmr9EbCKVk/Mq8U+vZuu/eKsP3JhZuTA/p5IaZJgPWul+RedDZ4fXzGYs ANRVguU/gapHwsqSSj7AAC5RnwTDQpb8G9b8YEzk+FHM66DrmQ6VYB9woZx0Y9CXjXvW ufYcu9ugZVGR9L+/4OtaeIXSkQFI9N0KuakVwGRtUiPDRPtpXa3xOFDjGmsRj6062WE9 9nw1xJgezogVdONfkoeRH9+FXAlrCazUeSl40msyEDqqhEPTTBG111I4BckKj+SPKMxS N5jYAf0xShuEqG+LzPSsO8LYlaA/Hi4Xjux95GW0sQKKLWF2E0qZtnAvLghZt7BTp9jj vhBA== X-Gm-Message-State: AOJu0YxwIRd3knGcn943YA/u8S0C8/KQPpBjfRXkDnwEdv9d42lU6YQ5 2CH0UQYk7QK9w8s06YU9a40ZjpfADMyhNN8qMDuy/hqNJWQKIxlLknX4EKyvOg== X-Google-Smtp-Source: AGHT+IF0D0kljlbjAfG9BQ5CCjJ6VWS3TBt2KIYftFW1fryDQUEvqOl4G6JTG7qZT5ezdUMQ1tcUrw== X-Received: by 2002:a17:902:70cc:b0:1d5:5984:df52 with SMTP id l12-20020a17090270cc00b001d55984df52mr3091162plt.60.1706012894834; Tue, 23 Jan 2024 04:28:14 -0800 (PST) Received: from rogue-one.tail33bf8.ts.net ([201.17.86.134]) by smtp.gmail.com with ESMTPSA id ke5-20020a170903340500b001d33e6521b9sm8867643plb.14.2024.01.23.04.28.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 04:28:14 -0800 (PST) From: Pedro Tammela To: netdev@vger.kernel.org Cc: jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, shuah@kernel.org, kuba@kernel.org, vladimir.oltean@nxp.com, dcaratti@redhat.com, edumazet@google.com, pabeni@redhat.com, linux-kselftest@vger.kernel.org, Pedro Tammela Subject: [PATCH net-next 4/4] selftests: tc-testing: enable all tdc tests Date: Tue, 23 Jan 2024 09:27:36 -0300 Message-Id: <20240123122736.9915-5-pctammela@mojatatu.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240123122736.9915-1-pctammela@mojatatu.com> References: <20240123122736.9915-1-pctammela@mojatatu.com> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 For the longest time tdc ran only actions and qdiscs tests. It's time to enable all the remaining tests so every user visible piece of TC is tested by the downstream CIs. Signed-off-by: Pedro Tammela --- tools/testing/selftests/tc-testing/tdc.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/testing/selftests/tc-testing/tdc.sh b/tools/testing/selftests/tc-testing/tdc.sh index c53ede8b730d..cddff1772e10 100755 --- a/tools/testing/selftests/tc-testing/tdc.sh +++ b/tools/testing/selftests/tc-testing/tdc.sh @@ -63,5 +63,4 @@ try_modprobe sch_hfsc try_modprobe sch_hhf try_modprobe sch_htb try_modprobe sch_teql -./tdc.py -J`nproc` -c actions -./tdc.py -J`nproc` -c qdisc +./tdc.py -J`nproc`