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

From: Justin Chen
Date: Wed Jun 07 2023 - 00:26:43 EST




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.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature