[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fd0f87b9-a822-c83a-4880-9ed1ac34794e@broadcom.com>
Date: Tue, 6 Jun 2023 21:22:45 -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 8:45 PM, Jakub Kicinski wrote:
> On Tue, 6 Jun 2023 19:33:13 -0700 Justin Chen wrote:
>>>> 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.
>
> How are the filter programmed by the host (in terms of user API)?
You are stumbling upon my next objective here. This patch set does not
support this because it wasn't clear how to do it. The plan was to get
the base driver merged first then introduce a way to specify an offload
channel.
If you must know, I introduced a rxnfc flow_spec ring cookie to specify
an offload filter. Not sure if this is the right way to do it or not,
but figured this would be a future discussion.
Download attachment "smime.p7s" of type "application/pkcs7-signature" (4206 bytes)
Powered by blists - more mailing lists