Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1425166lqp; Mon, 15 Apr 2024 06:23:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUbMLrFoa1mrRJvr4ch8zzYluE8XQjSqpcmoKSxPugtuaE4Lvt/6jSkW6hna2lM78/BMIGXtGAK66Fsym3hcuXUUYSZej2QMjyw0G4CuQ== X-Google-Smtp-Source: AGHT+IFFpFdX2k9XO1Ed6Kg1pGqS49cIbDCFuGvyQXtmbaedH7+argDZhDKQBwn//Y73T9O2Js5s X-Received: by 2002:a17:906:378d:b0:a52:6413:1e3c with SMTP id n13-20020a170906378d00b00a5264131e3cmr1974204ejc.19.1713187402694; Mon, 15 Apr 2024 06:23:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713187402; cv=pass; d=google.com; s=arc-20160816; b=e34IsbYebc5vc45zWKZYmRPtihkHvzp0RF6qctIIf8WUGwloPx9FCERSct4Mns0pJn keW7M1B3ahazdsU3Qzeerh7/+tsnwDRPfNz6rVQCu0kjWFCMRY0vvQLlDj35aEVnMBgD SySAvAJ4eNY96njd/5l9GY/oP/uLzpc2EyCe+vuqtT+djV7oZMjpm9a6bNfDEtSiLfmT ai+A3kXgQv0OIrMrMA40GJBmYxaLjRgHZqe70IU15ILDL+NvfowEZHve/m5m55NF6zBX y/DXqBhygaOYO9IIMiPNR2eIoqSTwe7WVH2elbPlEKyU0AjaKJaSxpX4aj+kS5yVsL/J RlgA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=EZgCe8MC6ounYgKhKrs9TKuCFJBcKGHgVbUqPP0dKLg=; fh=hGIG7B8NA0YtqohLEUMWMEvOc71hEuAJT+Z4drh2YgU=; b=xHD/p6gpbXe6mfQDd46euQn3SwRq7aT99vpRXdDOj6ADg+j0AOjs7P2lgyq+fdJ+Le wKXJN/pCOHOjrWvcYanpUQgA1pxZj/w6/2izAUObAwIPiIm+XxRBnDzAVOeeEh8mtOpr CY2RQaCtGuOkStCn4d0JC0wUi7pXm6jZ4OkW8nifTnzFlwuD6Qu3vWKJ43emPm0A9LE4 7RDxTUCBCLtFYN4LpYMi1eRcVuzx19THhQq+xGVijWlnsXMAvZbHBe9qigfXabdY+StV xNs/CcvFesDLHbyLdWvcSbJ9/CADCtJ9qPpKRZkggd08S3lLVcKwge7ob5fhpoD4TYUn w3JQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=uG90ffqy; arc=pass (i=1 spf=pass spfdomain=denx.de dkim=pass dkdomain=denx.de dmarc=pass fromdomain=denx.de); spf=pass (google.com: domain of linux-kernel+bounces-145224-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145224-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id lu24-20020a170906fad800b00a4e3dc7d36esi4649039ejb.77.2024.04.15.06.23.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 06:23:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145224-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=uG90ffqy; arc=pass (i=1 spf=pass spfdomain=denx.de dkim=pass dkdomain=denx.de dmarc=pass fromdomain=denx.de); spf=pass (google.com: domain of linux-kernel+bounces-145224-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145224-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6D2CD1F2199A for ; Mon, 15 Apr 2024 13:23:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CF9A712C47E; Mon, 15 Apr 2024 13:07:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="uG90ffqy" Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 5FB2412BF38; Mon, 15 Apr 2024 13:07:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.62.61 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713186478; cv=none; b=p8yhS8C9zIjgvW4WGUz4wB/q46QWJQFs430g0F/WozSg21UZS6RX9fxp/7op8Jf1VXvFlrSfbSEoZ8iDC0+nl/RMmCVd6nsOb5LR/Z0Gne8HtKpIMQuHFwa14Fg/cZ3aNqaBZmZXXpJI5U20E/EwPdWTsfranCrwQCqBXweqLSc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713186478; c=relaxed/simple; bh=sLmgag4Ktuf2ouZPmlzSHrzVjlVxXMA7N+Uq41q0BzU=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=TnUVrwz/yTF9s6wkdOHUhW2onv1IkbBlu9zHqEWW0UBLXYzOtEiyAyZGVKaeakXpxZCXnyijNUSZOT3xIyX4d2/o+0Y9m/01PKD+TVAs3kUwUESqLg1YN1R+vgXHiUo14aiHuMubyPlPhltWU9XmTnLjWkCPaKd2KtX+IFClWnA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=uG90ffqy; arc=none smtp.client-ip=85.214.62.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Received: from wsk (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 61D6C88158; Mon, 15 Apr 2024 15:07:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1713186471; bh=EZgCe8MC6ounYgKhKrs9TKuCFJBcKGHgVbUqPP0dKLg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=uG90ffqykF9WqGbnq6FlQvywALad7kxsgS2ERfVKe11Fl54AgfevRZoYyUNJAjLA7 PCeE2qbJ6ymz5LwazuqMHpM6FNxHJcc+MJKLkA8xd64zo0jx6w3VjCfd/RtpWgcPnJ kDfBJCdp6QpsHlFKRL/jreaJkutZGiVoqZbkS/MWVigjiCVn+a+dhC8OfCWWgRFRNr hqp6aB1GnrZFZbyEoBOXD7rpwAhUp16zqTAv+RqnBLsVMM789mJYyOmHTBkL3eBLsk e4S7NnN7+fy+rOuBaz+wXuSydCYBgpBxW6V516YYbZimkAnShKAzomBysW7tYXJG9k onAIlgMgB7Pmg== Date: Mon, 15 Apr 2024 15:07:44 +0200 From: Lukasz Majewski To: netdev@vger.kernel.org, Paolo Abeni Cc: Andrew Lunn , Eric Dumazet , Vladimir Oltean , "David S. Miller" , Jakub Kicinski , Oleksij Rempel , Tristram.Ha@microchip.com, Sebastian Andrzej Siewior , Ravi Gunasekaran , Simon Horman , Nikita Zhandarovich , Murali Karicheri , Jiri Pirko , Dan Carpenter , Ziyang Xuan , Shigeru Yoshida , "Ricardo B. Marliere" , linux-kernel@vger.kernel.org Subject: Re: [net-next PATCH v5 0/4] net: hsr: Add support for HSR-SAN (RedBOX) Message-ID: <20240415150744.5992b27e@wsk> In-Reply-To: <20240415124928.1263240-1-lukma@denx.de> References: <20240415124928.1263240-1-lukma@denx.de> Organization: denx.de X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/8g.6qsssst/iy6d4SlJ5m5h"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean --Sig_/8g.6qsssst/iy6d4SlJ5m5h Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Dear Community, > This patch set provides v5 of HSR-SAN (RedBOX) as well as > hsr_redbox.sh test script. >=20 > Applied on top of: > Branch: net-next/main > SHA1: 50aee97d1511 >=20 Please be informed that without this patch series, with the current net-next (with above credentials), the hsr_ping.sh test fails, as nodes are not merged, so duplicate HSR frames are not filtered). I'm going to investigate this issue now. > Runs inside: Buildroot (2024.02.1+): > SHA1: b31443e09cb7bb67b97ae6fb7614fe3a22889d50 >=20 > Lukasz Majewski (4): > net: hsr: Provide RedBox support (HSR-SAN) > test: hsr: Move common code to hsr_common.sh file > test: hsr: Extract version agnostic information from ping command > output > test: hsr: Add test for HSR RedBOX (HSR-SAN) mode of operation >=20 > include/uapi/linux/if_link.h | 1 + > net/hsr/hsr_device.c | 36 ++++++- > net/hsr/hsr_device.h | 4 +- > net/hsr/hsr_forward.c | 85 ++++++++++++++-- > net/hsr/hsr_framereg.c | 52 ++++++++++ > net/hsr/hsr_framereg.h | 6 ++ > net/hsr/hsr_main.h | 7 ++ > net/hsr/hsr_netlink.c | 30 +++++- > net/hsr/hsr_slave.c | 1 + > tools/testing/selftests/net/hsr/hsr_common.sh | 97 > +++++++++++++++++++ tools/testing/selftests/net/hsr/hsr_ping.sh | > 93 +----------------- tools/testing/selftests/net/hsr/hsr_redbox.sh | > 97 +++++++++++++++++++ 12 files changed, 403 insertions(+), 106 > deletions(-) create mode 100644 > tools/testing/selftests/net/hsr/hsr_common.sh create mode 100755 > tools/testing/selftests/net/hsr/hsr_redbox.sh >=20 Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de --Sig_/8g.6qsssst/iy6d4SlJ5m5h Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEgAyFJ+N6uu6+XupJAR8vZIA0zr0FAmYdJqAACgkQAR8vZIA0 zr2J5QgAo2/LHZUNbBwSVHZargWXl0pSmEZgIcHDlE+AHT4x4zrERGmEBYNfq8Ue O6CbnloM2VEEswtUbcKJTrXDjHaBYM1ezgwfjyafhgndvhDK0QdahT7oie0S3XXX znq6E/8CoMLpWuwOhcUo6v81V3+Lvnk1h7PD3I4MdSJ5bfu4tUwl0RIWQ4neqj6T HziXcTXV7On3jxDY+0bgO5WUr/ogWSfIaMXC9aSjfY0nU4aA5LEtfZa7BxhfiVLu wYA8IWnlBf8GQY81Y5wLtoZHBTXplDDcTbzt4gtpwlEuU7b4WQkrenal/kADXQH/ w8Lcjlnpu0/XSWBfvnKKHQIHlTvNjw== =ZX/5 -----END PGP SIGNATURE----- --Sig_/8g.6qsssst/iy6d4SlJ5m5h--