Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2846258pxf; Sun, 21 Mar 2021 08:52:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwS7DPkhkpZeLPFmAXhg4ziRNGyULAamExJx2d7kmZhBSBttY94Q7C1J2F8AjPCpn7mIvCl X-Received: by 2002:a17:906:5203:: with SMTP id g3mr14500991ejm.95.1616341951074; Sun, 21 Mar 2021 08:52:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616341951; cv=none; d=google.com; s=arc-20160816; b=VUoUh9T4C3d27GC8WCPNl5se2yGCyT+3Bxr1MqhnoQM/fL8PNKm4X6w1IpGYcVJohn B7PpQkm2scxe9F5H6q7YKgZi0Z4zJk8nFyrbFLVJud4A85jumhJmtcWgTjDVytzi+6Ms duXxYj4fo80MkxOzaFkB4Jn5wVLw3I70F8vq8dh3XNguPIRTTt6tdWKYGvfYqVw7FMTY gAKKZKFF0IvalgnGuM4BzIJvwkrlCek98SnZBS28swr25yM06XK1UnWGCVMVBkFHNU+p 3z5qz2XikrHTAXhLkLI/Ezkn2v7scLYfr53qc6fkZqxQeWzBfB75snjvzYIgkWPMDNyf crMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=AjHv2YLzDMjxqcmYBgwQ2QH2GP/VOHcbXHI13WwlRdo=; b=C574F5suL41jmCHzl+RBB13ell1hkTAdcTcszWvy8f83n62EMaVoYbzg8DmkvHwWgp iaRH27kZhWdViSNgtrii1VJv1CQxM1g++rOWBeXWHYhUB0qEMJFQxsbE1vrVBF2DuwIe N3K31ffBsLw4XqpaAh10lUvoY0YqX+U5gOtpf+kUPRfh/yS2SqJVoOGZoBEi+ULLlbZ9 MLd9Gc6EX5eiSxMhFpS7zqwaGu/T9uuMYOTM9ifEIxhdTnz5rrvn/P/nulHFeG6JodAn H4l8bzQhsjSTPwRNSPi4j+z/jRk25y0AMwA6hGJSJ/bfDO4ujexgEAtOZc4d8bofHNqa WusQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i22si9120452edc.112.2021.03.21.08.52.07; Sun, 21 Mar 2021 08:52:31 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230170AbhCUOPe (ORCPT + 99 others); Sun, 21 Mar 2021 10:15:34 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:39148 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229973AbhCUOP3 (ORCPT ); Sun, 21 Mar 2021 10:15:29 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1lNyrW-00CFBs-Gb; Sun, 21 Mar 2021 15:15:26 +0100 Date: Sun, 21 Mar 2021 15:15:26 +0100 From: Andrew Lunn To: Hariprasad Kelam Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kuba@kernel.org, davem@davemloft.net, sgoutham@marvell.com, lcherian@marvell.com, gakula@marvell.com, jerinj@marvell.com, sbhatta@marvell.com Subject: Re: [net-next PATCH 0/8] configuration support for switch headers & phy Message-ID: References: <20210321120958.17531-1-hkelam@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210321120958.17531-1-hkelam@marvell.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 21, 2021 at 05:39:50PM +0530, Hariprasad Kelam wrote: > This series of patches add support for parsing switch headers and > configuration support for phy modulation type(NRZ or PAM4). > > PHYs that support changing modulation type ,user can configure it > through private flags pam4. > > Marvell switches support DSA(distributed switch architecture) with > different switch headers like FDSA and EDSA. This patch series adds > private flags to enable user to configure interface in fdsa/edsa > mode such that flow steering (forwading packets to pf/vf depending on > switch header fields) and packet parsing can be acheived. Hi Hariprasad Private flags sound very wrong here. I would expect to see some integration between the switchdev/DSA driver and the MAC driver. Please show how this works in combination with drivers/net/dsa/mv88e6xxx or drivers/net/ethernet/marvell/prestera. Andrew