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: 13527329 X-Patchwork-Delegate: kuba@kernel.org Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.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 64F415DF36 for ; Tue, 23 Jan 2024 12:28:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706012886; cv=none; b=mWUs1glnAqqZE7NhyswKQWsw/Vc2nnk6F6gFzKrntZV2ozOPXKy8Qlk/F8jiUy2bN7i2OYdgC9+80un0F+xiSR6KQy+ofXkAcrjQN+WQmm40bUQYi02xFGWOTHk6k07gq2n3xhSA6rsq3Ec0Y9BhT/ew9PGnAxrSPSngDRjswJs= 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.181 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-f181.google.com with SMTP id d9443c01a7336-1d74dce86f7so16689475ad.2 for ; Tue, 23 Jan 2024 04:28:05 -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=C9LXSjVjL+g+MhQbJWK6uvJiqX7LABAyix/F4ga/I99iyuHQ2+vbzY62yt1iMz5kTY Fvo118IGS3N1U+NjHwVlGAUVt+VvyB2HsX4oH8mbbu+2O5F1dZbJrz8uDUZ/LawZR/ek s86aTKsGTG0Yqw4Pu+rXgT8YkuvmwWRLz4eEW+Jfdj/xDCp2FDJBPbFV4Hqlkk3++kxS nyKJkC6/gv5yJIxL/OhdyvSp/aR20mLmwZSDhOY9DwDe8ileORAU57V3XM+BnkxijM5U JoaYcsXwiMgNIOGeFz0c7rlNVBCD3TzXokcXsG9u2IyuYZb0neQp5mKF40glO3vaKJZv enMA== X-Gm-Message-State: AOJu0Yz5gDg2O/eKibJRM/HSjAy9pMFWRcWzos9MaeJnwBVdHUjdU4T9 dU8gCw9FdFAULPBMHrc92rM63587FTnQ09wBzkO4qLbBI3RulbosCX7KN95NshkiUTeGM+JrkeR Weg== 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: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org 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: 13527330 X-Patchwork-Delegate: kuba@kernel.org 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 CCA455EE71 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=1706012890; cv=none; b=p9vuodKmKIAz/XBKIg4kqAp0glpCtn5+EMv3bXkOqE/Xbs/A3gzzbDBNh8nk04Wiwt7FmhRXiVhzLs+BsNmlMVM27yGvHUfXmnkW6dGXM8+chWtW8jF1Q06I5RsV91YS/384qMxBfPSuPAnGtwIACpn7BC8dsFz7+nGUjRNIpzY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706012890; c=relaxed/simple; bh=mNJfhFrzCnirpLXJ5iI3TEJymxjQIJ/DWffLWkrOsl4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=lrF756W0g2GLsl4iYdHF4DT2LlzP3KfcZUm7S01qlA45JlaPojM47u9sYZFUEqosiOEy3FH0A+LRbmSyhOyIBTdpSRaUbds3IqpCjDBUwCyabedJe8wk+QqISHympkBg8XNxF65qmvQwPO953gCmZlbUc5uDkC85dBO66VkI6es= 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-1d746856d85so11493965ad.0 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=CMWetv3xHhXgoB1D7g8ziXJJ2dzQtB47h8ltVPOi5Uh9h+LYHxguWgfKWazoJNO+qA Ojbfw386UblWis3eKFXa1lSZ4zDEppIODXiAWVvID/ZS0NAXOQTBYDoum+vcvdqHATmO sh3bT8pVZyLDYdc4rqnKKS4p+sgOCkuur3BdCGP/eWO7Qm4QGthaJhD03S9w8t5YFUSN 5c3ylciIG9OyjhriZ9yiXxLDUuxdRg9uG+gnLFJXCcVvRkt9YB2lUDrxo6vlGNaiRoar Hf3r0KA++IFqjqy7Slx04YDYDj2kRIPITbLQLxv976EVqwgUxOXqiFOXNe/20mmtsxhy V8LA== X-Gm-Message-State: AOJu0YwBiQ3UHPdySxxBqvpScWzx8VIDZTZJC/1oMi8UoEbxNmkwMaGC Zo+qUvYYW3jaCHDLmDefNvOXtcyQeKpomSmBv/FaL+EFi8HevRloA0WsXygwGEBN+wZj8NDty/3 MJw== 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: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org 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: 13527331 X-Patchwork-Delegate: kuba@kernel.org Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (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 3E7755DF30 for ; Tue, 23 Jan 2024 12:28:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706012893; cv=none; b=JGiMTQ3ar4P6NKTAk3MDgUKEPgrBL9jtg2SeYrgQ21Vui0c2J3vdFUHX1m3KR1w1/8AeahKElyq+0yrm3VkccxrAFH8s6HIa9pLWKXv1A+2I0IdTHWpbn3pxbRj9rvKSZ/UxQkePtEpfW2f2A4GHRD4gfVH2LA24oHAjUqh5g7I= 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.182 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-f182.google.com with SMTP id d9443c01a7336-1d6ff29293dso26171365ad.0 for ; Tue, 23 Jan 2024 04:28:12 -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=OkXJX+NmoR7+uyVT39FVJVrANJfmNudoXBqHX6IImYyZNz/qFFCXet/876OpEYet2a fwyPXnRerV7v+vHwvA04CzMx3LphPBJqvEFEAZQ447/t/LBjE6RtKTUx4HYBc2t6w2iy V/xlRMTIS6guOuyE6GVDbCSK7kWLLSsT8nhSrMOShS2j618At/iQlvKPO1aDLq2zvyrJ 8RNUPFU3lZGL+0qt12TT5XSAdNj6l72dXY5viF9sozvV5TbPKH+sETjPYKi/+ImDnGqm +AjdC6vdbJRFq89lqX9/XeIkSJQZd5Pzri9nGDpmzytg4Bf7EJdFlsASefzDqFbBG8TQ rOfA== X-Gm-Message-State: AOJu0YyTTs/XnsdbyIoBpQvWkFoKDPmXKd539peRMB7QYMo/wChQwb8H SU1QP5LB1h+3oy+lyTFfpOnRfyhuEwlf8Hrv7DshewJ2FmxsuESJv+2UN9zH0ym/Any63K9kJAb CSg== 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: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org 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: 13527332 X-Patchwork-Delegate: kuba@kernel.org Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (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 9DF535DF3D for ; Tue, 23 Jan 2024 12:28:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706012896; cv=none; b=DljFuMTP0H5TNF4w1tfmyTefF6C5DHdXHv32ExjV5CGv+Ugbx+Ms5QLzbNfVa6g6N+a8zfF+7bDjsy+51idNjUjhn60A63bH5p/d7YoKKeL25BjlzpbEodVlhR79Hw3oeGhrYn6PLcWmZPjEIDIt157JTVI7zojtOQ52kA7j0qE= 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.174 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-f174.google.com with SMTP id d9443c01a7336-1d7232dcb3eso17243425ad.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=RAulgyka6tYxDj0v/EB9D7AeCR1ZKgT94SrxaFRs0jjWYdoVrSs0h33jmJrC+/7Gf1 CFQlIx6M3fvPZgyU850X65TwPyIdcC49aMYqdsmkDVZhO5hPhTZAOO42yYR0ihrVdNC/ z5SAStOszYcMW9nyEfREviRW1hfCpjeyEAIbeejkERVDk6Fng2eiqxvPzZppVfUU3thP zBeXEU0uywu8j34RpN3zMqFDJWx9/Ecl/jL1oB3lVF/n+aNMloYKsLK/wtHf0PnbFEMe BQlomrataQ4cf/3igf+FoZ59FU5CpYmcUdJpnZS/iAuE4F6NozHFn4JOGJyDuDTtjICe K/UQ== X-Gm-Message-State: AOJu0YygK4wqfsyKRSSsbWkrFdO67gdRkx8XcbAbFM6bvkygAimdLJP+ zC9avuflOMkJpzCD0tuIb/XWzzq+1aDrfkDuo5VEcgfU1/ftYXuTT3NgfO03cLEqh2bU4vqH2XZ /ag== 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: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org 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`