Article View: linux.kernel.netdev
Article #6784[PATCH net 2/2] selftests: forwarding: vxlan_reserved: add gbp changelink test
From: Hannes Laimer
Date: Fri, 23 Oct 2026 11:14
Date: Fri, 23 Oct 2026 11:14
46 lines
8946 bytes
8946 bytes
On a device created with gbp, run the reserved bit probes before and
after an unrelated changelink. Check that what the device accepts has
not changed.
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
---
tools/testing/selftests/net/forwarding/vxlan_reserved.sh | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/tools/testing/selftests/net/forwarding/vxlan_reserved.sh b/tools/testing/selftests/net/forwarding/vxlan_reserved.sh
index 709845123727..0ce264cc57f8 100755
--- a/tools/testing/selftests/net/forwarding/vxlan_reserved.sh
+++ b/tools/testing/selftests/net/forwarding/vxlan_reserved.sh
@@ -40,6 +40,7 @@
reserved_31_test
reserved_56_test
reserved_63_test
+ gbp_changelink_test
"}
NUM_NETIFS=4
@@ -338,6 +339,20 @@ reserved_63_test()
reserved_test 63
}
+gbp_changelink_test_do()
+{
+ vxlan_device_add gbp
+ __default_test_do 25 "gbp"
+ ip link set dev vx1 type vxlan ageing 300
+ __default_test_do 25 "gbp after changelink"
+}
+
+gbp_changelink_test()
+{
+ in_defer_scope \
+ gbp_changelink_test_do
+}
+
trap cleanup EXIT
setup_prepare
--
2.47.3
Technical Details
Message-ID:
<20261023-b4-vxlan-changelink-gbp-v1-2-f0d13951c09b@proxmox.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351029-linux-kernel-netdev=dewy.ruReferences:
<20261023-b4-vxlan-changelink-gbp-v1-0-f0d13951c09b@proxmox.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351029-linux-kernel-netdev=dewy.ru From: h.laimer@proxmox.com (Hannes Laimer) Newsgroups: linux.kernel.netdev Subject: [PATCH net 2/2] selftests: forwarding: vxlan_reserved: add gbp changelink test Date: Fri, 23 Oct 2026 13:14:28 +0200 Organization: Usenet Network Message-ID: <20261023-b4-vxlan-changelink-gbp-v1-2-f0d13951c09b@proxmox.com> References: <20261023-b4-vxlan-changelink-gbp-v1-0-f0d13951c09b@proxmox.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="484223"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:gNkKAwYv7Jkxw0wApPWN3Ve9rA8= sha256:spE11aponRifwvNH0/Ekf7AhYd+E3e45YNQGQmvL9xE= sha1:gZlKDlrPKpPH+cp1dwgmrvc6Q9E= sha256:jEimzsfckDikM/Ymu5C40OZLcVeldhotCSYXBo9Tqug= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 6606111147B; Fri, 23 Oct 2026 14:20:33 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -2.95 X-Spam-Status: No, score=-2.95 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z-AomYRy5bpq; Fri, 23 Oct 2026 14:20:27 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-351029-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=proxmox.com X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id CC0E7111402; Fri, 23 Oct 2026 14:20:23 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id C425939DD0; Fri, 23 Oct 2026 11:15:04 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1792754102; b=eX/P+mJgbl9/QsQ8lMm94ihz48si48u6Ri6C2UgDYwIoTD6ctWsCem+kXynrTfK1WNRl 6nFZerOTe4DqwGndp+IDe0Scs7mf8xH/muacsbGEqURnql6H+Fbwr0771/ySxtqXw4paC l1xdfIydvYH3kkQYQ3/idCjkn2BywZpov+Ps6lGgGh7T1bV23aeCtVO4UquVOrQt5XMJ0 8SxddSc7VNMwjxvlDwthSNoruKSGD4Ey7rAeRcDBxTNXqHRwxoMnTUL82vRFmICIru2+F JrIAUCafLiiEYvzaWW/RR9msLUXkJTwTEa/VK03TW5q8xvHuqfg//N0QvQ3f78ZZEGg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792754102; h=X-Original-To:Received:DMARC-Filter:Received:From:Date:Subject: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:References:In-Reply-To:To:Cc: X-Mailer:X-Developer-Signature:X-Developer-Key:X-Bm-Milter-Handled: X-Bm-Transport-Timestamp; bh=fEbTalWWHpL5wfQv8QafMuDznLm146Cwe02W00WG1lQ=; b=Gi6RI7RegiHVFdxiWOznK+bEetXBSIH2g2r7YvhmADNYr4GFXroRFDUgNdwo/O5Vq8mB ElXWulK9jzlq528aURBRFzFJOnHh17k5I6zxMXDhCAV6kHCwwoFnhGwSC8i1WCix/gyJF eEvVWndAZcMZZm3f15cuHIKTtPW6bglri8vhgR4kC7Q2FQNRd4lbHe1CU3Kojmu0H/4ZJ uH5GM1W38e+H+rTDkjz4nwpzhAF+y92aMcrRBcSYa/ykEQ7OELR9dxIJlaoMQTm1BCV6u gA+d4MBd7YcH3Gg2tzzklANrn7ZHgWtHAW282hzhTUypdrrq3AYmiuEJwXAUl4XVFNA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none header.from=proxmox.com; spf=pass smtp.mailfrom=proxmox.com; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 15D3E60A260B; Fri, 23 Oct 2026 11:15:02 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=94.136.29.106 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792754101; b=H4FXoCqKYaErLhklDoD0ug/nhMvH4HqG6J+llHDO8zDddUrPHvlwyw3WxBNzdd/iNwqW p4P+/HO2lfL73BTfQPoomp0hjwwvHJuGdcumnDRqiKyO/Jd8wQXJGY6sS7T5Jb6Pt1oco E87g6+oemj+quHLvdIQWirT2kQDA2/35WYuIfgdX8t+oJHzEQBnU4Cznk7r/fCKETiOhg j1dS9GJ8JLv+w5Qd3phn7bob6h6OyfQ9wm+qD8RHTc7DOiqpxog2zZO0TJFSuswT0JTd7 yJVweBgETdUAvvyr15aDeOWOU/y7s3suFZAoLgOkIUI6zzghTOz3oUMQKoDJtgbwmWQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792754101; h=DMARC-Filter:Received:From:Date:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:References:In-Reply-To:To:Cc: X-Mailer:X-Developer-Signature:X-Developer-Key:X-Bm-Milter-Handled: X-Bm-Transport-Timestamp; bh=fEbTalWWHpL5wfQv8QafMuDznLm146Cwe02W00WG1lQ=; b=O8mVPMMdmJ02cxjx9NNkMi1VwdIwDJcTt+CfHQkym4a63ssdXZtPMv6aj7DMEa/g8uEn uTmhEsvhjcflbTxhF5TheVqDt/8PBVQvlwCidte39R3VGE4rraqXtCHS+WN3uBzi3tjqs /oK2YfsNS2LK6b0V4SCOfu7+Wo4WMnfiIkNSkEx+xsToqMtfwY1pfSHULnTwayGqZiL8f Xp5KZWeisV99WZ92s2NtRaQKOZ6VE3C7smQbK78x4qY2ELnb6tzlF68/QRdPJ6Fb88OL8 Hxu/bzQFioZ3aA3+cPOk1O0W4+hYfMysmUXBH9Yx0TTQ5wzAUWR/cehw9klGjiEn3/w== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=proxmox.com; spf=pass smtp.mailfrom=proxmox.com; arc=none smtp.remote-ip=94.136.29.106 X-Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE078606A31E; Fri, 23 Oct 2026 11:14:59 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CE078606A31E X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=proxmox.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=proxmox.com X-Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 0A6C245349; Fri, 23 Oct 2026 13:14:58 +0200 (CEST) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261023-b4-vxlan-changelink-gbp-v1-0-f0d13951c09b@proxmox.com> X-Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Hannes Laimer <h.laimer@proxmox.com> X-Mailer: b4 0.16-dev-4217c X-Developer-Signature: v=1; a=openpgp-sha256; l=1155; i=h.laimer@proxmox.com; h=from:subject:message-id; bh=+Wja4C4KW6NKwPxy0uuOg9TWw8YkEeIgPXO5U+KJEH8=; b=owGbwMvMwCU2e2Iv83RDTSPG02pJDFm3HTd+r2Z2Xz255qY167fSTa9kD4X/23nb+HSYtOBJp Tumx0/ZdZSyMIhxMciKKbJctt//dVbv1Dij05u5YOawMoEMYeDiFICJVKcw/M8zr5MVeXLmshVD 6BXzPDYd6fymDLvwt1v2Tl9ks2GxSDsjwzc+p/V+rIpep7j/OH4Nu5Ejfs//OkuF9OPyX1/nBcz WZAYA X-Developer-Key: i=h.laimer@proxmox.com; a=openpgp; fpr=64D04F905C35D23EBE24D079FA418E647F2175D1 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1792754097457