Re: [ovs-dev] [PATCH v26 3/8] netdev-offload-tc: Introduce group ID management API

2023-06-01 Thread Eelco Chaudron
On 26 May 2023, at 10:17, Chris Mi wrote: > On 5/10/2023 5:54 PM, Eelco Chaudron wrote: >> On 26 Apr 2023, at 4:36, Chris Mi wrote: >> >>> On 4/12/2023 10:06 PM, Eelco Chaudron wrote: >> >> > +{ > +new->type = old->type; > +new->action = xmemdup(old->action,

Re: [ovs-dev] [PATCH v26 3/8] netdev-offload-tc: Introduce group ID management API

2023-05-26 Thread Chris Mi via dev
On 5/10/2023 5:54 PM, Eelco Chaudron wrote: On 26 Apr 2023, at 4:36, Chris Mi wrote: On 4/12/2023 10:06 PM, Eelco Chaudron wrote: +{ +new->type = old->type; +new->action = xmemdup(old->action, old->action->nla_len); +new->userspace_actions = old->userspace_actions +

Re: [ovs-dev] [PATCH v26 3/8] netdev-offload-tc: Introduce group ID management API

2023-05-10 Thread Eelco Chaudron
On 26 Apr 2023, at 4:36, Chris Mi wrote: > On 4/12/2023 10:06 PM, Eelco Chaudron wrote: >>> +{ >>> +new->type = old->type; >>> +new->action = xmemdup(old->action, old->action->nla_len); >>> +new->userspace_actions = old->userspace_actions >>> + ?

Re: [ovs-dev] [PATCH v26 3/8] netdev-offload-tc: Introduce group ID management API

2023-04-25 Thread Chris Mi via dev
On 4/12/2023 10:06 PM, Eelco Chaudron wrote: On 29 Mar 2023, at 13:42, Chris Mi wrote: When offloading sample action to TC, userspace creates a unique ID to map sample action and tunnel info and passes this ID to kernel instead of the sample info. Kernel will send this ID and sampled packet to

Re: [ovs-dev] [PATCH v26 3/8] netdev-offload-tc: Introduce group ID management API

2023-04-12 Thread Eelco Chaudron
On 29 Mar 2023, at 13:42, Chris Mi wrote: > When offloading sample action to TC, userspace creates a unique ID > to map sample action and tunnel info and passes this ID to kernel > instead of the sample info. Kernel will send this ID and sampled > packet to userspace. Using the ID, userspace

[ovs-dev] [PATCH v26 3/8] netdev-offload-tc: Introduce group ID management API

2023-03-29 Thread Chris Mi via dev
When offloading sample action to TC, userspace creates a unique ID to map sample action and tunnel info and passes this ID to kernel instead of the sample info. Kernel will send this ID and sampled packet to userspace. Using the ID, userspace can recover the sample info and send sampled packet to