[dpdk-dev] [RFC v2 1/1] add flow shared action API

2020-06-20 Thread Andrey Vesnovaty
This commit introduces extension of DPDK flow action API enabling sharing of single rte_flow_action in multiple flows. The API intended for PMDs where multiple HW offloaded flows can reuse the same HW essence/object representing flow action and modification of such an essence/object effects all the

Re: [dpdk-dev] [RFC v2 1/1] add flow shared action API

2020-07-01 Thread Stephen Hemminger
On Sat, 20 Jun 2020 16:32:57 +0300 Andrey Vesnovaty wrote: > + > +void * > +rte_flow_shared_action_create(uint16_t port_id, > + const struct rte_flow_action *action, > + struct rte_flow_error *error) > +{ NAK API's that return void * (opaque pointer) are dangerous and sh

Re: [dpdk-dev] [RFC v2 1/1] add flow shared action API

2020-07-02 Thread Ori Kam
Hi Stephen, > -Original Message- > From: Stephen Hemminger > Sent: Thursday, July 2, 2020 3:24 AM > To: Andrey Vesnovaty > Cc: Thomas Monjalon ; Ferruh Yigit > ; Andrew Rybchenko ; > Ori Kam ; dev@dpdk.org; Andrey Vesnovaty > > Subject: Re: [dpdk-dev] [

Re: [dpdk-dev] [RFC v2 1/1] add flow shared action API

2020-07-02 Thread Andrey Vesnovaty
henko ; > > Ori Kam ; dev@dpdk.org; Andrey Vesnovaty > > > > Subject: Re: [dpdk-dev] [RFC v2 1/1] add flow shared action API > > > > On Sat, 20 Jun 2020 16:32:57 +0300 > > Andrey Vesnovaty wrote: > > > > > + > > > +void * > &g