Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3482788lqp; Tue, 26 Mar 2024 10:13:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXpr79voj8f/9MooYU8Hb9csK45jwLN4ii3i5z05sa87dLOPg4KSBN8zD9zfI1gX6D23zHVMtZ8wvc7W5+OVDIVGdgPWt+ZfxXrbBBFLg== X-Google-Smtp-Source: AGHT+IH9YZweJGZPC5OVR7SEntWdhurr4KL9kWGalrEuVozt9yK+YryuUbeVndtP5g+jFYVU2+nO X-Received: by 2002:a05:6830:a49:b0:6e6:a3e0:5c54 with SMTP id g9-20020a0568300a4900b006e6a3e05c54mr3371964otu.27.1711473220777; Tue, 26 Mar 2024 10:13:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711473220; cv=pass; d=google.com; s=arc-20160816; b=rpLtN3/u4KmodWO2rcrZB1gVvaAsOgZOJXldfzwEhQaNmzngAnrXP4Wg0zsq7sGgxV BWjdagCeipTVygqCxCKstDKRMxDrvf+xdvZi7Z/7r7AI/c1yNw58yPdizQaXTGkS210S lfBdvwJ3EZoCBmZ9/CHIhMMtVtjHYKifIqKsWE2gTAc8NTe5i9v8EW0Z0hQBdRSvAJmR oQosk1A1/EglWvrUy5JdMzKmX/B4Aw17i7qynAK/DTQMWe7gbKW4WcUjH7DF3fBXy4Mu 5/kXGoCeSiy1VHTDWV3u4LTQiS0YMRDg6kV3Mhrtm7Y/ygNaKd/1x/U67PZGM9UYqd97 sXSw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=68zkLJbxYYmwUoOB0L6Mut+xqSnMcNf2y/wAtt/JDdk=; fh=trZ/Oh4mHS3d1iRup5qNmmnOHaLnGxQAEqdLnKJfWqc=; b=oTYTeo2z9afKS3T3NuCK43FKHeImGCSwWlczM/ApGyAKVXF1vB7QygHA9zNitudEKG rXV1aBq4pGTJDjAJN09Ucw+v0j5tZan2pZjm5olC71VA5OvOabOrAC0SMHY7udnUteuN ClKMrrarsDQ9McylKnSHsQYOTOHYO+maWOO2GT2EOLT+lZb+XdWU6FSOhR5+9cOvH5fL RLL8sBd82rbsqV2/OXaRgweHNRBEFj5mAVtX9PraI0uO+MX0NGbheReexq4ZXxyaRdRN ifqaCk/Lj6lNYIjiMRpdE00j8ivouY1jMiEOkhGHZI15K9CxxLlhK0SXEZ8sO7IhTzt3 /vxA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@networkplumber-org.20230601.gappssmtp.com header.s=20230601 header.b=1Naru1UQ; arc=pass (i=1 spf=pass spfdomain=networkplumber.org dkim=pass dkdomain=networkplumber-org.20230601.gappssmtp.com dmarc=pass fromdomain=networkplumber.org); spf=pass (google.com: domain of linux-kernel+bounces-119563-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=networkplumber.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f4-20020a05620a20c400b00789c696da7asi7980276qka.382.2024.03.26.10.13.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 10:13:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119563-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@networkplumber-org.20230601.gappssmtp.com header.s=20230601 header.b=1Naru1UQ; arc=pass (i=1 spf=pass spfdomain=networkplumber.org dkim=pass dkdomain=networkplumber-org.20230601.gappssmtp.com dmarc=pass fromdomain=networkplumber.org); spf=pass (google.com: domain of linux-kernel+bounces-119563-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=networkplumber.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 055B61C66298 for ; Tue, 26 Mar 2024 17:13:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 48E771D539; Tue, 26 Mar 2024 17:12:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20230601.gappssmtp.com header.i=@networkplumber-org.20230601.gappssmtp.com header.b="1Naru1UQ" Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (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 D93301C69C for ; Tue, 26 Mar 2024 17:12:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711473165; cv=none; b=XrNVmiBpbu8Lz7uyuIkcv9ng1OFQhfxTBC335i2XsYUE1I8uQzb6JW1sUAKg7pNrgzzJY8+H+9QaYipCFAIHA637/xgt5ye4rBjn2x54EMqz2UI54xOqmMwxk7fT5OI0zD07OLiEUkVVZVbJNR909tifaOVmai9lT7QmfXqp1aE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711473165; c=relaxed/simple; bh=68zkLJbxYYmwUoOB0L6Mut+xqSnMcNf2y/wAtt/JDdk=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RIeDG0eytpZyMjS+QiE6tRSy5lox0eahFtjywmPLd/YqUxzP7iQ59GzliQ05A5/N/f4Yi7DUsBc+E8Wq8YgTZjGzclDhoDKoWKnzjihEo/5UpPTBwgpZcT33lEiPdFgeTFUMWLI4rQijbTLs9k1nQQovacBZrwqVQmLU6hOJHOc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=networkplumber.org; spf=pass smtp.mailfrom=networkplumber.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20230601.gappssmtp.com header.i=@networkplumber-org.20230601.gappssmtp.com header.b=1Naru1UQ; arc=none smtp.client-ip=209.85.210.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=networkplumber.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=networkplumber.org Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-6e8f765146fso4414364b3a.0 for ; Tue, 26 Mar 2024 10:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1711473163; x=1712077963; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=68zkLJbxYYmwUoOB0L6Mut+xqSnMcNf2y/wAtt/JDdk=; b=1Naru1UQWTn0v6LNMsAhGaXxzxkukwBOOpniibHlqnvlBDZWtjZaovT+JkD72nwI78 OeaOcfW8W+mmVa8XqZnNLGMa3Fk3DS32edtZklkW3jdGfABMi2Do8BtGNAPclNVSVd/2 cO2oHvmjcI34bmDlSS0qR+lsh3ytM2m4bMyHxR3yXFaGu5uJYDlCQ9uocAyhDBFnQFIu X+V7fayFBN8h1mCGjxEf2iuiBeU9CA1b6ioeb+QqKbe2OzFNiSgpJazW+YSNW3XUZL6X JkSBVSWLTz8u8CncKvg5cSsJYSip9pXDtciQ07A3DeSlLdv5CHPhoiWtngfj4IsB65jX K0Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711473163; x=1712077963; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=68zkLJbxYYmwUoOB0L6Mut+xqSnMcNf2y/wAtt/JDdk=; b=Hk4BxYXV3nu/z1hMNDGM6oFJMvoHCBH00/9BssNn3Qd89na09VV7Wwti3LLQrOGvC7 ItZA0HihQa6ND3HHyxGnayXP6t2ERDmidxZWEYUs0hEeTKBB+tOg/fOg3VqeD4b02MDg qy5tKKa1GJeC76tITUYggOnutQEipeiCO1e70oQvxFU/UKR4KuL3dqDQun+gpMBMbqE+ 3u9X9K1pTyEXlswMp2LlAK2KmMDP4c1bpJDBJtn490Y5GnbN0med15lHigVf3mgyD42F MqRg6JY94E3PGSg539pwnGCAsQnLxvH5LwlcAPJeibvXnRIm2nTVRlGs/vWlw9jzow/y 7bOQ== X-Forwarded-Encrypted: i=1; AJvYcCVbFzrepPAOiRFtVPgt6wAKHCnYfW0VMv0EUXBC9KeGWFYDLAFOnBx10YKwP1A9lIXSZnpohnLibjhTLd6jeH0Li5x2ujwcXRPWRmip X-Gm-Message-State: AOJu0YzhAne3b3KY3DexSYcZmhkrVu981S6r5/CSfX6iUINeTD80xlBW m6AanpxYZn0h5NV0ZYJA7otwbUbEMYG0honD7ECmjkG7GBenFIUKRAJ+J1b7L4o= X-Received: by 2002:a05:6a20:4d94:b0:1a3:6833:1cf5 with SMTP id gj20-20020a056a204d9400b001a368331cf5mr2559992pzb.29.1711473163178; Tue, 26 Mar 2024 10:12:43 -0700 (PDT) Received: from hermes.local (204-195-123-203.wavecable.com. [204.195.123.203]) by smtp.gmail.com with ESMTPSA id it13-20020a056a00458d00b006ea80a9827dsm6199912pfb.82.2024.03.26.10.12.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 10:12:42 -0700 (PDT) Date: Tue, 26 Mar 2024 10:12:40 -0700 From: Stephen Hemminger To: Lukasz Majewski Cc: netdev@vger.kernel.org, Andrew Lunn , Eric Dumazet , Vladimir Oltean , "David S. Miller" , Jakub Kicinski , Oleksij Rempel , Tristram.Ha@microchip.com, Sebastian Andrzej Siewior , Paolo Abeni , Ravi Gunasekaran , Simon Horman , Nikita Zhandarovich , Murali Karicheri , Jiri Pirko , Dan Carpenter , Ziyang Xuan , Shigeru Yoshida , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 RESEND] net: hsr: Provide RedBox support Message-ID: <20240326101240.65c28519@hermes.local> In-Reply-To: <20240326090220.3259927-1-lukma@denx.de> References: <20240326090220.3259927-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-Transfer-Encoding: 7bit On Tue, 26 Mar 2024 10:02:20 +0100 Lukasz Majewski wrote: > Configuration - RedBox (EVB-KSZ9477): > ifconfig lan1 down;ifconfig lan2 down > ip link add name hsr0 type hsr slave1 lan1 slave2 lan2 supervision 45 version 1 > ip link add name hsr1 type hsr slave1 lan4 slave2 lan5 interlink lan3 supervision 45 version 1 > ifconfig lan4 up;ifconfig lan5 up > ifconfig lan3 up > ifconfig hsr1 192.168.0.11 up Learn to use ip instead of ifconfig... ip link set lan4 up