Re: [ovs-dev] [PATCH v24 7/8] netdev-offload-tc: Add offload support for sFlow

2023-03-22 Thread Chris Mi via dev
On 3/22/2023 6:11 PM, Eelco Chaudron wrote: On 22 Mar 2023, at 7:31, Chris Mi wrote: On 3/16/2023 5:23 PM, Eelco Chaudron wrote: On 1 Mar 2023, at 8:22, Chris Mi wrote: Create a unique group ID to map the sFlow info when offloading sample action to TC. When showing the offloaded datapath fl

Re: [ovs-dev] [PATCH v24 7/8] netdev-offload-tc: Add offload support for sFlow

2023-03-22 Thread Eelco Chaudron
On 22 Mar 2023, at 7:31, Chris Mi wrote: > On 3/16/2023 5:23 PM, Eelco Chaudron wrote: >> On 1 Mar 2023, at 8:22, Chris Mi wrote: >> >>> Create a unique group ID to map the sFlow info when offloading sample >>> action to TC. When showing the offloaded datapath flows, translate the >>> group ID f

Re: [ovs-dev] [PATCH v24 7/8] netdev-offload-tc: Add offload support for sFlow

2023-03-21 Thread Chris Mi via dev
On 3/16/2023 5:23 PM, Eelco Chaudron wrote: On 1 Mar 2023, at 8:22, Chris Mi wrote: Create a unique group ID to map the sFlow info when offloading sample action to TC. When showing the offloaded datapath flows, translate the group ID from TC sample action to sFlow info using the mapping. See s

Re: [ovs-dev] [PATCH v24 7/8] netdev-offload-tc: Add offload support for sFlow

2023-03-16 Thread Eelco Chaudron
On 1 Mar 2023, at 8:22, Chris Mi wrote: > Create a unique group ID to map the sFlow info when offloading sample > action to TC. When showing the offloaded datapath flows, translate the > group ID from TC sample action to sFlow info using the mapping. See some comments inline below. //Eelco > Si

[ovs-dev] [PATCH v24 7/8] netdev-offload-tc: Add offload support for sFlow

2023-02-28 Thread Chris Mi via dev
Create a unique group ID to map the sFlow info when offloading sample action to TC. When showing the offloaded datapath flows, translate the group ID from TC sample action to sFlow info using the mapping. Signed-off-by: Chris Mi Reviewed-by: Roi Dayan --- lib/netdev-offload-tc.c | 267 +