[PATCH net-next v6 3/6] net: bcmasp: Add support for ASP2.0 Ethernet controller

Justin Chen justin.chen at broadcom.com
Wed Jun 7 04:22:45 UTC 2023



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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4206 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20230606/5d133e07/attachment.bin>


More information about the dri-devel mailing list