Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp847547lqj; Mon, 3 Jun 2024 02:39:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUjh3SXcjEjr9FsgnR6Xs/OMCvVc4TRO2wYChtTYWruugInCD+lKT2LFbXb4jRWG4w5KjytEhbtTQM0I4ZRLxs9UPbRn/2K+DT2uUpuVA== X-Google-Smtp-Source: AGHT+IGkJLfWVixwQn8r+0hMCnWAjWyIg/Z6DY4B+7pinuVxABNgn1StNX40yeao1BqHSTkfCC4a X-Received: by 2002:a17:903:11c5:b0:1f2:f090:b2c1 with SMTP id d9443c01a7336-1f636ff5266mr84681395ad.14.1717407570003; Mon, 03 Jun 2024 02:39:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717407569; cv=pass; d=google.com; s=arc-20160816; b=rL5oOHSDSnsXL7zM+C5trcwTzurg0QRxpQo+hXoLXXaHHUmYGVSiyYx14i3tybM5+a 3S9ajOAAKKN9G6qqKwBPJ5nfJKd5UlN0LlnI17jUAORq1cCsEQx235KjGA2BExWtR0oG 0UMqd0g1N9phubGUFrWzzoqC6StwTdWZvKEOInodWWtslS6b6jEMwRqk4JzSaqayaiux jLX8IjVyLiHpQG9r+dX/0VnZgNPjGvH0jtoGc4sNt4CTPbvF6AeJCLjvKwDAv2XQZqKV qmnfa/FaVCOq/0VhCAxlWg3UuDdkW+exdk0cRzZKMd+CXtR31TrxeX5NBzMJaIi1xPyX LHcw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=83ISchEr6FXxHFw79UtFtHyrfzEy5Csmv0xAnwcON+Q=; fh=37DlWd3XkbrCmvt6BVK1V8ELqDHfYcvz/KQoY9e7Cos=; b=FGYnXrQajZTja0GkCX5fHqmHeQ12plQK/zT7e0R0ER8B3gKxr1st3WDW7edFiBzk6P mHYgvm8n6IMjx2xrt3MZx17oYVPUge27/0Q1T5aIQ0AWv0Md21Qo+t51uHYottXu9gTb Szb4j/jA/NAiSkF9snoNG1IMeaQNXnQAyJwchjed+fK36xwpduRffeiIfQBH06mADqab dTxkzC/VhJ7XEiXZV928iOZ9X+Vnm7rnXpEBW1gqZE0S/IOz+MMXEtpiz2j+HBH4QSU7 EzYtLQLDVeRZxR4mLshWlabeC8Z40i0XgEG/tkI+IpOn9P2TH1co8Ns94RHBjSI0pCpP RtTw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jBOCY2XB; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-198904-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198904-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f63233d63bsi61392415ad.40.2024.06.03.02.39.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 02:39:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198904-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jBOCY2XB; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-198904-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198904-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 174B928A49A for ; Mon, 3 Jun 2024 09:39:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C5BE5824B1; Mon, 3 Jun 2024 09:32:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jBOCY2XB" Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.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 9CDE87A140; Mon, 3 Jun 2024 09:32:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717407127; cv=none; b=CirMIZ08Ex2WwIgHmjtmyHGJaG1uB7rnCSFHhqyagEqF7nJbbpisjCc1GZ3UMrXLsqQeY5x/K7JQTOjA601f5kAHYNXnFfzWONo98XQ56l0ZBp/bOJPuVzPy9DZ1YFTI+fsai1qBLInMPYj6Rso/xDkq84VvB/5GQr7/EZwPBiA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717407127; c=relaxed/simple; bh=TVE8DZONja0s1bSsoBvAXL63/o3/AtA5FtzW/UuFgGM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hnhueMCVPUksfeK6KHOAMaEgetjydL+7vxuRuyLhwEHV5SuivTAUYuk+8N2hxSXnh7nt1MqLr+/PKguYmi6xydD0LTihej/4w7ZqT0HvTTRbLxqr79rvt8KocM9vz5agmM2xJU+KUn9GlUKCtTT/rHbMCb3NhkluuIMdh1jbTs8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=jBOCY2XB; arc=none smtp.client-ip=209.85.210.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-6f6a045d476so3216732b3a.1; Mon, 03 Jun 2024 02:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717407125; x=1718011925; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=83ISchEr6FXxHFw79UtFtHyrfzEy5Csmv0xAnwcON+Q=; b=jBOCY2XBGppBqd0fXDAEFierWJXwmsPmAdr/zog9SHawABhv2pDmjYE+3xj1r/Xnv6 5FTThAT7tiSk55GJFblCmE6u72Zu3/cShtUdzFg36APeScNFi4fq+r5DLrqMX53YpksF y3hFIoR9+5gbqFv/7uGQo8vJUGccTU3i3gZm+aba+945EGM9Ey+JpuTOutolBhCKuDh7 bUsmiDOlvWmjM+K/3Ml9MXVdi/Lq/EvWjzbA1wJ6Q46ScDcO2FShUDM44U9XIatGDbAp njcaISt0N9IOJGZIbnoj7xpTcPFbu5jKCczRM8A5LugkszGAQVLDOU+QDFnvLr6hWOG7 tRKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717407125; x=1718011925; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=83ISchEr6FXxHFw79UtFtHyrfzEy5Csmv0xAnwcON+Q=; b=TB/vrphPB8ILUjrpWXWXKlqi+eLtvu0ety6WnWf1KNebQyRYKdTSbS5Jqx5cUXWgSQ BcEae3NOeg6odHXAalwzxF2Rgxb/brpN5vptUfC2r3DKOdpbdI+lY/EbVg6GHcqpXIIc N4aVNu9/0t0HVEIjU3sGp0FE0B9ItzPaBPn5hYBdmx5mxTG2srig2AEkDNJvHCcFjlcl 6Zz7bNYFBpiERZJAKYGON4YryanEmGubOZ3TpEpI8EpkUWom200UC7rtLufTT3tq9J4T 6zTRDelMhYzHI6ert64m3L3obZdaRDn/dVJEsuIiYpNo68P09/Z9vIduBmWeuWQ+fbu4 Fllw== X-Forwarded-Encrypted: i=1; AJvYcCWK8QfjlLtSlgVyQ5NgSNDtleYgJ9E3CoJUKPd+d5fBb6MXZzPoTYH3qz2gDCuZ2/2PlkBn9WKfd/eX1meXQd9dpSAJfWYWkrAs8xLVsa38ZL//n3v0n+bX5dMN1Ckqig6wUvj8dh5bdCYRtKmCmZdHXraBNgO/eawbmcGh5NsYVrgefWvK X-Gm-Message-State: AOJu0YxyPA5UdkhnuMe7RLn4Px2t4/Id2+vjJ+Kb0hFbJ2YOcInBul/W +DVzRrqUNSll1JWns+oi6mxL3++gTj6rjqi6HZ7IKAVWwf+tbBRM X-Received: by 2002:a05:6a20:3946:b0:1b1:d2b4:1148 with SMTP id adf61e73a8af0-1b26f25d044mr8695675637.48.1717407124823; Mon, 03 Jun 2024 02:32:04 -0700 (PDT) Received: from Laptop-X1 ([43.228.180.230]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6323e9aa7sm60138645ad.192.2024.06.03.02.31.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 02:32:04 -0700 (PDT) Date: Mon, 3 Jun 2024 17:31:54 +0800 From: Hangbin Liu To: Lukasz Majewski Cc: Jakub Kicinski , netdev@vger.kernel.org, Paolo Abeni , Eric Dumazet , Vladimir Oltean , "David S. Miller" , Oleksij Rempel , Tristram.Ha@microchip.com, Sebastian Andrzej Siewior , Ravi Gunasekaran , Simon Horman , Nikita Zhandarovich , Murali Karicheri , Arvid Brodin , Dan Carpenter , "Ricardo B. Marliere" , Casper Andersson , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Geliang Tang , Shuah Khan Subject: Re: [PATCH] selftests: hsr: Extend the hsr_ping.sh test to use fixed MAC addresses Message-ID: References: <20240529142232.2625747-1-lukma@denx.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240529142232.2625747-1-lukma@denx.de> On Wed, May 29, 2024 at 04:22:31PM +0200, Lukasz Majewski wrote: > Fixed MAC addresses help with debugging as last four bytes identify the > network namespace. > > Signed-off-by: Lukasz Majewski > --- > tools/testing/selftests/net/hsr/hsr_ping.sh | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/tools/testing/selftests/net/hsr/hsr_ping.sh b/tools/testing/selftests/net/hsr/hsr_ping.sh > index 3684b813b0f6..f5d207fc770a 100755 > --- a/tools/testing/selftests/net/hsr/hsr_ping.sh > +++ b/tools/testing/selftests/net/hsr/hsr_ping.sh > @@ -152,6 +152,15 @@ setup_hsr_interfaces() > ip -net "$ns3" addr add 100.64.0.3/24 dev hsr3 > ip -net "$ns3" addr add dead:beef:1::3/64 dev hsr3 nodad > > + ip -net "$ns1" link set address 00:11:22:00:01:01 dev ns1eth1 > + ip -net "$ns1" link set address 00:11:22:00:01:02 dev ns1eth2 > + > + ip -net "$ns2" link set address 00:11:22:00:02:01 dev ns2eth1 > + ip -net "$ns2" link set address 00:11:22:00:02:02 dev ns2eth2 > + > + ip -net "$ns3" link set address 00:11:22:00:03:01 dev ns3eth1 > + ip -net "$ns3" link set address 00:11:22:00:03:02 dev ns3eth2 > + > # All Links up > ip -net "$ns1" link set ns1eth1 up > ip -net "$ns1" link set ns1eth2 up > -- > 2.20.1 > Reviewed-by: Hangbin Liu