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=-3.8 required=3.0 tests=BAYES_00, 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 55960C433DB for ; Mon, 8 Mar 2021 13:43:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2AFB765100 for ; Mon, 8 Mar 2021 13:43:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229756AbhCHNmf (ORCPT ); Mon, 8 Mar 2021 08:42:35 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:45588 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229701AbhCHNm3 (ORCPT ); Mon, 8 Mar 2021 08:42:29 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1lJG9R-009pfL-OF; Mon, 08 Mar 2021 14:42:25 +0100 Date: Mon, 8 Mar 2021 14:42:25 +0100 From: Andrew Lunn To: Sunil Kovvuri Cc: Vladimir Oltean , Jakub Kicinski , Linux Netdev List , "David S. Miller" , George Cherian , Subbaraya Sundeep , Sunil Goutham , Florian Fainelli , Alex Marginean Subject: Re: Query on new ethtool RSS hashing options Message-ID: References: <20210305150702.1c652fe2@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20210306131814.h4u323smlihpf3ds@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > This is Marvell OcteonTx2/CN10K RVU controller > drivers/net/ethernet/marvell/octeontx2. > And no the controller doesn't have a internal switch and hence > currently there is no switchdev support. > The switch I referred to is an external one whose CPU port is > connected to this controller. Hi Sunil That is a classic Linux DSA setup. I know it is no longer an issue, but you might want to look at how switches are supported in Linux. I'm sure there are people here who are interested in the setup, and having the MAC do the DSA header work in hardware poses interesting questions for the Linux DSA architecture. What would a tag driver in net/dsa/tag_.c look like, how do we tell the MAC about the switch ports it needs to have slave interfaces for, etc. Andrew