Re: [dpdk-dev] [RFC] ethdev: introduce sample action for rte flow

2020-06-24 Thread Thomas Monjalon
24/06/2020 20:09, Stephen Hemminger: > > > +/** > > > + * @warning > > > + * @b EXPERIMENTAL: this structure may change without prior notice > > > + * > > > + * RTE_FLOW_ACTION_TYPE_SAMPLE > > > + * > > > + * Adds a sample action to a matched flow. > > > + * > > > + * The matching packets will be d

Re: [dpdk-dev] [RFC] ethdev: introduce sample action for rte flow

2020-06-24 Thread Stephen Hemminger
On Wed, 24 Jun 2020 19:07:49 +0200 Thomas Monjalon wrote: > > > > +/** > > + * @warning > > + * @b EXPERIMENTAL: this structure may change without prior notice > > + * > > + * RTE_FLOW_ACTION_TYPE_SAMPLE > > + * > > + * Adds a sample action to a matched flow. > > + * > > + * The matching packet

Re: [dpdk-dev] [RFC] ethdev: introduce sample action for rte flow

2020-06-24 Thread Thomas Monjalon
Ping for review 11/06/2020 15:19, Jiawei Wang: > When using full offload, all traffic will be handled by the HW, and > directed to the requested vf or wire, the control application loses > visibility on the traffic. > So there's a need for an action that will enable the control application > some

[dpdk-dev] [RFC] ethdev: introduce sample action for rte flow

2020-06-11 Thread Jiawei Wang
When using full offload, all traffic will be handled by the HW, and directed to the requested vf or wire, the control application loses visibility on the traffic. So there's a need for an action that will enable the control application some visibility. The solution is introduced a new action that