Re: [dpdk-dev] [PATCH v3 1/1] ethdev: introduce indirect action APIs

2021-04-16 Thread Ajit Khaparde
On Fri, Apr 16, 2021 at 12:03 AM Thomas Monjalon wrote: > > 15/04/2021 19:59, Ajit Khaparde: > > On Thu, Apr 15, 2021 at 8:52 AM Bing Zhao wrote: > > > There are two types of flow actions: > > > 1. the direct (normal) actions that could be created and stored > > >within a flow rule. Such acti

Re: [dpdk-dev] [PATCH v3 1/1] ethdev: introduce indirect action APIs

2021-04-16 Thread Thomas Monjalon
15/04/2021 19:59, Ajit Khaparde: > On Thu, Apr 15, 2021 at 8:52 AM Bing Zhao wrote: > > There are two types of flow actions: > > 1. the direct (normal) actions that could be created and stored > >within a flow rule. Such action is tied to its flow rule and > >cannot be reused. > > 2. the i

Re: [dpdk-dev] [PATCH v3 1/1] ethdev: introduce indirect action APIs

2021-04-15 Thread Bing Zhao
Hi Ajit, > -Original Message- > From: Ajit Khaparde > Sent: Friday, April 16, 2021 2:00 AM > To: Bing Zhao > Cc: Ori Kam ; NBU-Contact-Thomas Monjalon > ; Ferruh Yigit ; Andrew > Rybchenko ; Matan Azrad > ; Slava Ovsiienko ; dpdk- > dev ; Gregory Etelson ; Andrey > Vesnovaty > Subject:

Re: [dpdk-dev] [PATCH v3 1/1] ethdev: introduce indirect action APIs

2021-04-15 Thread Ajit Khaparde
On Thu, Apr 15, 2021 at 8:52 AM Bing Zhao wrote: > > Right now, rte_flow_shared_action_* APIs are used for some shared > actions, like RSS, count. The shared action should be created before > using it inside a flow. These shared actions sometimes are not > really shared but just some indirect acti

Re: [dpdk-dev] [PATCH v3 1/1] ethdev: introduce indirect action APIs

2021-04-15 Thread Ori Kam
Hi Bing > -Original Message- > From: Bing Zhao > Sent: Thursday, April 15, 2021 6:52 PM > Subject: [PATCH v3 1/1] ethdev: introduce indirect action APIs > > Right now, rte_flow_shared_action_* APIs are used for some shared > actions, like RSS, count. The shared action should be created b