[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <024a6733-f552-c538-2b59-26058c750d66@broadcom.com>
Date: Tue, 6 Jun 2023 19:33:13 -0700
From: Justin Chen <justin.chen@...adcom.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
bcm-kernel-feedback-list@...adcom.com,
florian.fainelli@...adcom.com, davem@...emloft.net,
edumazet@...gle.com, pabeni@...hat.com, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
opendmb@...il.com, andrew@...n.ch, hkallweit1@...il.com,
linux@...linux.org.uk, richardcochran@...il.com,
sumit.semwal@...aro.org, christian.koenig@....com,
simon.horman@...igine.com
Subject: Re: [PATCH net-next v6 3/6] net: bcmasp: Add support for ASP2.0
Ethernet controller
On 6/6/2023 6:54 PM, Jakub Kicinski wrote:
> On Tue, 6 Jun 2023 18:35:51 -0700 Justin Chen wrote:
>>> Also - can you describe how you can have multiple netdevs for
>>> the same MAC?
>>
>> Not netdevs per se, but packets can be redirected to an offload
>> co-processor.
>
> How is the redirecting configured?
>
Through filters that can be programmed by the Host cpu or co-processor.
> Could you split this patch into basic netdev datapath,
> and then as separate patches support for ethtool configuration features,
> each with its own patch? This will make it easier for area experts to
> review.
>
> The base patch can probably include these:
>
> + .get_drvinfo = bcmasp_get_drvinfo,
> + .get_link = ethtool_op_get_link,
> + .get_link_ksettings = phy_ethtool_get_link_ksettings,
> + .set_link_ksettings = phy_ethtool_set_link_ksettings,
> + .get_msglevel = bcmasp_get_msglevel,
> + .set_msglevel = bcmasp_set_msglevel,
>
> WoL can be a separate patch:
>
> + .get_wol = bcmasp_get_wol,
> + .set_wol = bcmasp_set_wol,
>
> Stats a separate patch:
>
> + .get_strings = bcmasp_get_strings,
> + .get_ethtool_stats = bcmasp_get_ethtool_stats,
> + .get_sset_count = bcmasp_get_sset_count,
> + .nway_reset = phy_ethtool_nway_reset,
>
> Flow steering separate:
>
> + .get_rxnfc = bcmasp_get_rxnfc,
> + .set_rxnfc = bcmasp_set_rxnfc,
>
> EEE separate:
>
> + .set_eee = bcmasp_set_eee,
> + .get_eee = bcmasp_get_eee,
Will do.
Download attachment "smime.p7s" of type "application/pkcs7-signature" (4206 bytes)
Powered by blists - more mailing lists