From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2666C606C1 for ; Mon, 8 Jul 2019 16:10:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A276120693 for ; Mon, 8 Jul 2019 16:10:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="tgF9BNXl" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390386AbfGHQK2 (ORCPT ); Mon, 8 Jul 2019 12:10:28 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:33260 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729062AbfGHQK2 (ORCPT ); Mon, 8 Jul 2019 12:10:28 -0400 Received: by mail-io1-f65.google.com with SMTP id z3so21531945iog.0 for ; Mon, 08 Jul 2019 09:10:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-disposition:content-transfer-encoding; bh=4/cAHY9CswFMxHmGkROgr5n3C7ZgXdkwUp/kaLByq5Y=; b=tgF9BNXlvQlGZme/zHOLvOjU2wA+h8mF22gXkaHnjBq9UIvKfn3tmQKg8l2YnDnbNz wBldhi7KTxI+1MGcUvBdNrzbCh/A9YBCE3yCwU0PyC9AHATRcSvetXwxg1EBt7tHkbog q/Xp6llyDHK1/H5DMByfXNrquhxQ4MSWmcaCg2attUIW85I/GrZVsgnwwtjL7SRYryJr nr1VaXDSslw3ARMLrylHPUqNR9UlBZ1SfEK0W9PtzivAmwQIM3q9MH0gF+A9dC3f/q8c 23Z/Z8BfK5hmDGQen0Zcgb9fHSexy6kQ+Ebv9TWnj5P3Kp8pmj7Q3+jNQl/9aZWtlbMY OA4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:from:to:cc:subject:in-reply-to :references:mime-version:content-disposition :content-transfer-encoding; bh=4/cAHY9CswFMxHmGkROgr5n3C7ZgXdkwUp/kaLByq5Y=; b=stE12DxtIaRnCIXcChPRH9BY3QV3OwskULCzkb0XJTAJI42FZCjHpCb74yRoPfKwoR by8xq/Pq1rvQA4ddhbBbke0oi3xSHIl0M8uMRLzVbWEmxY4AZDE2uwqu5Lzo9O2L51wf ecpuPREKnTZ2posWjjpybhdytnjxhsaqC2VjW8t7TTZ4Qmo2NiYoaP+/Z22SRR06tl6S Uw3Rbu30rTRAS61fceD64OoVPfC3nX1k8qEfcTZ54jQeyYX0GXE8XaNpHTedO6N7LviM PaDBtiJatGrZ9tnrq47B/u/W2SztWFijf9gYAYBVWqCB86vl7Zy6FgVcL9hx2vT/THUS IK9Q== X-Gm-Message-State: APjAAAWXATQpcazNHNwTZT5U0Cj+UPfQG3nzv4+/5CuIzH4VjAKHlBF+ NCia17vYY5iEb1+L3jidouI= X-Google-Smtp-Source: APXvYqwYyuhtXIY07Zl/AllyHfzp17Xu6+KiOzMHbnaGPFsPH7DplHh1WSvYLFsErZRm63ZbAgcZEQ== X-Received: by 2002:a05:6638:cf:: with SMTP id w15mr16516800jao.136.1562602226995; Mon, 08 Jul 2019 09:10:26 -0700 (PDT) Received: from localhost (mtrlpq2848w-70-48-16-149.dsl.bell.ca. [70.48.16.149]) by smtp.gmail.com with ESMTPSA id b14sm18752102iod.33.2019.07.08.09.10.25 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jul 2019 09:10:26 -0700 (PDT) Date: Mon, 8 Jul 2019 12:10:23 -0400 Message-ID: <20190708121023.GB17624@t480s.localdomain> From: Vivien Didelot To: Vladimir Oltean Cc: Andrew Lunn , Florian Fainelli , "David S. Miller" , Vinicius Costa Gomes , vedang.patel@intel.com, Richard Cochran , weifeng.voon@intel.com, jiri@mellanox.com, m-karicheri2@ti.com, Jose.Abreu@synopsys.com, ilias.apalodimas@linaro.org, netdev Subject: Re: [RFC PATCH net-next 0/6] tc-taprio offload for SJA1105 DSA In-Reply-To: References: <20190707172921.17731-1-olteanv@gmail.com> <20190707174702.GC21188@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, 7 Jul 2019 23:28:24 +0300, Vladimir Oltean wrote: > I thought the dsa_port_notify functions are just to be > called from switchdev. I'm still not sure I fully understand, but I'll > try to switch to that in v2 and see what happens. dsa_port_notify is used to forward an event occuring on a given port, to all switch chips of a fabric. For example when programming a VLAN on a port, all ports interconnecting switches together must to programmed too. Even though mainly switchdev objects or attributes are notified at the moment, a DSA notification is not specific to switchdev. Thanks, Vivien