Article View: linux.kernel.netdev
Article #7365Re: [PATCH net 2/2] selftests: forwarding: vxlan_reserved: add gbp changelink test
From: Nikolay Aleksandrov
Date: Mon, 26 Oct 2026 07:58
Date: Mon, 26 Oct 2026 07:58
47 lines
12259 bytes
12259 bytes
On 23/10/2026 14:14, Hannes Laimer wrote:
> 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
>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Technical Details
Message-ID:
<c561b8e2-40f3-48d4-8f2f-85b46163466b@blackwall.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351739-linux-kernel-netdev=dewy.ruReferences:
<20261023-b4-vxlan-changelink-gbp-v1-0-f0d13951c09b@proxmox.com> <20261023-b4-vxlan-changelink-gbp-v1-2-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-351739-linux-kernel-netdev=dewy.ru
From: razor@blackwall.org (Nikolay Aleksandrov)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 2/2] selftests: forwarding: vxlan_reserved: add gbp
changelink test
Date: Mon, 26 Oct 2026 09:58:55 +0200
Organization: Usenet Network
Message-ID: <c561b8e2-40f3-48d4-8f2f-85b46163466b@blackwall.org>
References: <20261023-b4-vxlan-changelink-gbp-v1-0-f0d13951c09b@proxmox.com>
<20261023-b4-vxlan-changelink-gbp-v1-2-f0d13951c09b@proxmox.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="1255797"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:hL4bSKGSnTyQiJ7i5Pdy0XDxRvE= sha256:mj0qLxybCc9dGyci4qL7mhd7316/UYUBOlakFk28q08=
sha1:GuDz0uqbZx73Notpfvooe7SP7bI= sha256:TxvObycc0tCZxt19m/dpsaTogFPhuNAAvR6eWa/NeUk=
Content-Language: en-US, bg
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 3E7EB125B8C; Mon, 26 Oct 2026 11:00:01 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-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, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=blackwall.org
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 Xyf_UTkTgAz1;
Mon, 26 Oct 2026 10:59:58 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-351739-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=blackwall.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 5A67E125B7B; Mon, 26 Oct 2026 10:59:50 +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 E40473A7E4; Mon, 26 Oct 2026 07:59:00 +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=1793001540;
b=zlBOa5mQlGZP/BaFy47aR2266062sykdSNx/OUJhvrNShVUG27lBTGD/5kzTOJcki9t+
/ow9t2UVEexSoyjc4TXZCiN6CZdoTMIBKWd6ur0a6/J+hZB6Vk5N/S/9mXZkqknvNAe3Q
V5PptjCyVLipg+D7amVAD+oxytSmUpvJXEUuLe+5SzWUQGLTPBG+NGGlMvPJ/d/VNt2J+
EyqboQQXv++LHvYmunhZ0BI/XEi+fWZcdYjDhag2AQzJ88btDDEDJvgdXWQ0xdwovwche
XGmDg6LCqO7WjEggDW6LRad2udDWnGh1zfMQOWaiyjM/cec5NfobhrDh12cPhUoBuKg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793001540;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
Received:Message-ID:Date:X-Mailing-List:List-Id:List-Post:List-Help:
List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
User-Agent:Subject:Content-Language:To:Cc:References:From:In-Reply-To:
Content-Type:Content-Transfer-Encoding;
bh=ENqpIp5OCMvGLbQfuRT56moz6XxyZs/DH9YB2R1VAX4=;
b=TtVjjK0q82j0HvpCbHeLlEbwoBJH0iggs3Exx7cnXH65hfdz/ZAfF3F36WMoSBhnpWuL
uNMSICNFtFyxJEV3zpFj9WNagfr8yXPZQyaLqT/M+6zDQLeZQ/OZ1QEISBZIiuY/K5uec
pwFD4lcoFQUnCZ1N5ylmC1KDbYeKvCb3fsX8r7VVl4mZ0t3H7I0NsvIRW2zpIeBiZAIWS
/WBBePHb+zSLLlmbIKYVfNwFCsZixHvthhKGlHkP8+Yf5vdYZWo8tMqsB7nZWQWG4udoR
3o5m2xf5GzmzJewLjYB+60Ot0mPFe68qF8pe99R1l0Ukplq4aoscA6FeTA2aa7C4uZw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=blackwall.org header.i=@blackwall.org header.a=rsa-sha256 header.s=google header.b=YIkiyv88;
dmarc=none header.from=blackwall.org;
spf=none smtp.mailfrom=blackwall.org;
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 755A9606A32A;
Mon, 26 Oct 2026 07:59:00 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=blackwall.org header.i=@blackwall.org header.a=rsa-sha256 header.s=google header.b=YIkiyv88
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.46
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1793001539;
b=gPII6Y8iRPh20A/0dYdyc6/H5iC6ONOiVP5SjiV9j7eJsT0Pt4rKu5xulqvhRFyBoYE7
m3H8zpBBqV+Ijn/eVmqcWKL+w5NIw/vRTb7208Rs6o4lTe54WRiq4JXCZFpTd+03tUVqX
vxIlKz+sphkIKODL9DBFtBs2gQuawwffhAV9h7rKnZWLQLBXfIfWYTAcjbo9Y5Ua46DIz
eI+8yyhZDktX4rrseiPRyy/HfwjTVCmhG6uc14KxDhUWn3+2xfG7Uu1O2/lDKDVDiH+bT
mXOwzQOEuvvuyrVgGazbZpQOlD3/z7TCISpuejeUdPMkSBesBVF1ONX7fvfRLR0ePbA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793001539;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Message-ID:Date:
MIME-Version:User-Agent:Subject:Content-Language:To:Cc:References:
From:In-Reply-To:Content-Type:Content-Transfer-Encoding;
bh=ENqpIp5OCMvGLbQfuRT56moz6XxyZs/DH9YB2R1VAX4=;
b=AyYKxNLRJp+9rPE8T2UKLk/TG5bqpArR+ZplxqvIl8u1iI3IR/C2a5Kwkfx1UgoyWhtg
SN9GKHrl5v1yhbFIsoyJX52MlaV3pEwEChq5ei0bGwdvIQiVCTj8+QKUiuQi4lP2AfwRm
KGh0tdtKStQyqQrpvo65v/53HrJF14kLoDMwl6124+GdR4NRXSQRAQaIZ2QE5wtv3EegD
nXBE83nxH7QilwXEqJolwLxMVyxuhq9q1ovWr7B/oyzXR8mLsSRbasS4qIUuPBOGFm/ej
CyqHaWl1LmRoOIuGsBhOrJxOGwvwzz6DAZj1o3SEzQeySum5pr0i9uVUSUcg4KtHQIQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=none header.from=blackwall.org;
spf=none smtp.mailfrom=blackwall.org;
dkim=pass header.d=blackwall.org header.i=@blackwall.org header.a=rsa-sha256 header.s=google header.b=YIkiyv88;
arc=none smtp.remote-ip=209.85.128.46
X-Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id F12B5606A31B
for <netdev@vger.kernel.org>; Mon, 26 Oct 2026 07:58:58 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org F12B5606A31B
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=blackwall.org
X-Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=blackwall.org
X-Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4a20bdaf39cso27198325e9.1
for <netdev@vger.kernel.org>; Mon, 26 Oct 2026 00:58:58 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=blackwall.org; s=google; t=1793001537; x=1793606337; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:in-reply-to:from:references
:cc:to:content-language:subject:user-agent:mime-version:date
:message-id:from:to:cc:subject:date:message-id:reply-to:content-type;
bh=ENqpIp5OCMvGLbQfuRT56moz6XxyZs/DH9YB2R1VAX4=;
b=YIkiyv88wEEaX9fcSbw7nvWAWwnKoGCpr68rh8SmVrnPxrMcW6i9lXw/gEkPqfFhM2
Bi1bYj966tUFjI83HwGRD0kb1x4mwoQUdBo0tYT/3xHhIy0pancQ9TR5VXrmUoow3B8W
RlUhVzzYnLVHUS8XO7S7GNahgM08iD/hnciCfwkxkqAQBRcXVZfX7DvM1JNTgaCtnHir
fChs2UF2cPdCpY/nM39VMhXhDrQs6MSQRqKmhyLFukXx/c+rGEU13D2cXlwk4+aRI8Xt
0ElwE487d5xkJZg3S62lGaXygv/SZlDeZIhe3CosQ0+blDs69NwWZ4ywEHW1WjamGOxR
A37g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1793001537; x=1793606337;
h=content-transfer-encoding:content-type:in-reply-to:from:references
:cc:to:content-language:subject:user-agent:mime-version:date
:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=ENqpIp5OCMvGLbQfuRT56moz6XxyZs/DH9YB2R1VAX4=;
b=2VacaJesL8GjBFYb2pkzzpXP2e4l0wJLccy7Giw3Vzr2WyzZQFrSWWKh7Ql6vc2mjz
3ap6kYmKGB+eeYCVZ3bJMekESdZEgvtz4k8/x836mSO60NFMfSS1pH9+cxWi5QqwpoBP
373pzJrMQ5oaBvCyD03YWmXMorEC91Ir+TREo4XeoQABLtY5ITZ3sZp3iEd42HNqrUou
3hjY3pulYGlobsR+hZ8t4vNP/i0v7XUDlUodezuhnkxClc3FCFkGs82CTnWzA10JqpLg
GbJ39Lp9e3GH3/qxiSnmA4WGjxNzqQArBqD5II5aGVsPNO8QeD4uGzAygYrESWN/8eCk
pWaQ==
X-Gm-Message-State: AFq9FYKA8l/Tlp+g6KvMqyYIcOiSmPOPqw0yXYsbiruipMjt0KvIdz7k
EpCLoy1cmnoEuA2OALM0NzOW3IcPdfV96Nclap2u17IrzUtm+AqH42jLeaCUw0bsZZ4=
X-Gm-Gg: AYBFou3BrMMoDzKieFrbD3WIcF9gGmhHnzbgn8uRyX0MEzTvvoiuDj87Z1aC9SMA3/0
UQvLyyWWGCw3FOnswpaciTluJLA94KuyFQ5kgshcYX9UHyAnYtOab+EAKxTG5oqYZUkoaqpJkmH
b7ZaN1SPhZebuiI9/jksDhiUAch2Z5s/bRclNjOgWunU3IYqBhfCbG9ZefBVRE7p8k14kKahWDw
VkTj03eWD2b3qMBShxOPYzYJHdX5mJF/OY5+7o6cwZDM6ePEB15u4rnLJmqWKX8REauWLDCphxg
2T23mcZ1D0A/dtn/SHY0mI1kAvhE9RzBTxypvmOTbxP5ODBRa6gmqeiIj+UMd9fm7cKr8l8jIS8
SvAj4NdxgJeRT3c93YMkB1zJohviAn7nTMUVxkLVOa11NFHKli4MBJ2UmwIgCDy9MtEhoNjM+4s
4iwrX7/Num8ehylA89FI4JbUwzZvlljIaZYIBAyhxC494IDnPe107j7/tJhQt2YKFKi3Db0AtXq
XK53QS9so9IOYI8FzHFzwCuJxS+AN6BFd7FMDbArqwRMdEKEYE1kqqEdFriDgdECld50f3/YE7W
I7vNGKpAHg==
X-Received: by 2002:a05:600d:c:b0:4a3:7344:13b5 with SMTP id 5b1f17b1804b1-4a373be2a9emr75329375e9.16.1793001537419;
Mon, 26 Oct 2026 00:58:57 -0700 (PDT)
X-Received: from [192.168.0.161] (78-154-14-127.ip.btc-net.bg. [78.154.14.127])
by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a35a5697a7sm170954675e9.7.2026.10.26.00.58.56
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Mon, 26 Oct 2026 00:58:56 -0700 (PDT)
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-User-Agent: Mozilla Thunderbird
X-Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-kselftest@vger.kernel.org
X-In-Reply-To: <20261023-b4-vxlan-changelink-gbp-v1-2-f0d13951c09b@proxmox.com>