Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp89881ybm; Tue, 26 May 2020 11:30:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybiAu2DJ/+uCe0z908GPyx8rHz3P+7vd/wtgP/T/UnYBW1oT4cw4ChHFn9nCrNi6MultVL X-Received: by 2002:aa7:cb53:: with SMTP id w19mr3334576edt.328.1590517808031; Tue, 26 May 2020 11:30:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590517808; cv=none; d=google.com; s=arc-20160816; b=La69wTzBzTWZdW7HQSL+Jjje0fqAH3kFn++B5CH4fRcgCd9bMQuO9ewL8nFEezGC9o /uo9hYFQV/FTKyjDdDRR12UgcBo3ukIcykr37Mz/dGBS7umpC+N4BXz5a3pRHPPmf1QW oHt6oq+IFLh1CzVaupsijHP5g+qTJl16o5OBFUV6tvHAcTNyrCHEw16x037lsIcCMp6h CxzaSVPCBf508FkKh3vuBZgnsuuQoGzEBIOXBlBFF0gBtFoYwmdt4w0i4BhkeFiioAH7 UmtqR10H8cS5OvImczVyM1JB+zDyWpOygfG7BaBPh+bnWcmn/uztTA6RXAKAmhXt/IPQ d5Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=afKePXV5UqK2ZUvdMymIq9tPCqQ112HpkYrwABU1zys=; b=I6CYLu2/OQSqhawPldLlqrEhHzGuOok3dmSn+MvneVOHnilvNCt2940uicCI8VzxRh tBJuGhgeSrvxCldowdCYiRHk2xF9XkHIg0ao4dz4Zpj4rlAcofQLLevaD+x+a3eGtcfM blXZaXDzGvTzYdjPU809FU6ALzgeW9DOghmJkn0CDJEqVfkvGKMpIrCA/b03mDSS7XnP 3tr70InitDD75yvsDm1nQ7hSw+lTefLrw96akaBzOmk0fOrUP9JWxJqh7MLEKH/KrtBp Jg6zw8eMkDYr4WnutIEP9Df0RD8t592hbDihLXDc/Z1fCh0yxXzjuKcLPlrmDlU1cnWR DCmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="plsjLQU/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v5si331069edy.511.2020.05.26.11.29.44; Tue, 26 May 2020 11:30:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="plsjLQU/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729127AbgEZSZ7 (ORCPT + 99 others); Tue, 26 May 2020 14:25:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728179AbgEZSZ6 (ORCPT ); Tue, 26 May 2020 14:25:58 -0400 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2805BC03E96D; Tue, 26 May 2020 11:25:58 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id g9so18449956edr.8; Tue, 26 May 2020 11:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=afKePXV5UqK2ZUvdMymIq9tPCqQ112HpkYrwABU1zys=; b=plsjLQU/KzwWN+TjdGYXz8YVIQm1239ou0S/5f4jCz3we8r1Qke+/ts0DI3PeVuh6q CKByTKnGyQ1iQaedMldR6pNpKsarP9nHRolpXCallJMpZENuq8sI6EN+3Pvo9tyWT8tj JCDwK89P6jFFhPr0WlYTIwva8Vytyq0c8isR9+CHB+4DxJP9d9nYCx1mC5OF8eG3Np2Z lZtfKGvFRkgFBB35MR4lDzVT4S7O4E+iv3Q+FZ2JvUs7+G2iuyN+YhMBaHWiijdumWEt KanGWC1YQLH/IR9t+DoZn3y8NOOFE/OU/vrV1rwZHciT2nPrJ4u3v2prYAbzXBLN3Ky1 shSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=afKePXV5UqK2ZUvdMymIq9tPCqQ112HpkYrwABU1zys=; b=gaGKBQnKWGKSqGCjmB8QRDyHyBqOI8cAil5Hb3gq4N8AY2Fm/Q0dSGQLfheFqy3I0L GuQmT6ie1+Lq8PNsq8rBg3G3ZXRfn/ggVZ560xODB39Ngrxy8iu2II+CQ/G4RJUp55hV DeK6yMocgPIH+w0jZyj7yaL0NX4qs0LJ5JM5LkPCUx36uCvJVV3UUyk/f7AAsyKUEhHC rlY8zg7dnyfYYAcIp+OQUDjar62moQM4sJy8ElwotZNXRSkLDYdMKXRGmxz3Pd9BLO2w XDgFFV0v1ElGjLeZCyP5UYF424nnsv1XaiarAacE3rzyd2O1cGBkv+R5hs9r3xR20qhD Krtw== X-Gm-Message-State: AOAM531vo1nZDzDT3+ea8d2ZgDZDayrE0ymr5Zo8+9qzJbaag62h06vn ROJXGsUKZFOCA5mrad5hM6BVQB+E4fXbGonDvMM= X-Received: by 2002:a05:6402:2213:: with SMTP id cq19mr21276373edb.337.1590517556754; Tue, 26 May 2020 11:25:56 -0700 (PDT) MIME-Version: 1.0 References: <20200506163033.3843-1-m-karicheri2@ti.com> <87r1vdkxes.fsf@intel.com> In-Reply-To: From: Vladimir Oltean Date: Tue, 26 May 2020 21:25:45 +0300 Message-ID: Subject: Re: [net-next RFC PATCH 00/13] net: hsr: Add PRP driver To: Murali Karicheri Cc: Vinicius Costa Gomes , "David S. Miller" , Jakub Kicinski , netdev , lkml , linux-api@vger.kernel.org, Sekhar Nori , Grygorii Strashko Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Murali, On Tue, 26 May 2020 at 17:12, Murali Karicheri wrote: > > Hi Vladimir, > > I haven't looked the spec for 802.1CB. If they re-use HSR/PRP Tag in the > L2 protocol it make sense to enhance the driver. Else I don't see any > re-use possibility. Do you know the above? > > Thanks > > Murali IEEE 802.1CB redundancy tag sits between Source MAC address and Ethertype or any VLAN tag, is 6 bytes in length, of which: - first 2 bytes are the 0xf1c1 EtherType - next 2 bytes are reserved - last 2 bytes are the sequence number There is also a pre-standard version of the IEEE 802.1CB redundancy tag, which is only 4 bytes in length. I assume vendors of pre-standard equipment will want to have support for this 4-byte tag as well, as well as a mechanism of converting between HSR/PRP/pre-standard 802.1CB tag on one set of ports, and 802.1CB on another set of ports. > > -- > Murali Karicheri > Texas Instruments Thanks, -Vladimir