Re: [dpdk-dev] [PATCH v2] ethdev: support action with any config object type

2019-07-03 Thread Ferruh Yigit
On 7/2/2019 4:15 PM, Adrien Mazarguil wrote: > On Tue, Jul 02, 2019 at 05:17:26PM +0300, Dekel Peled wrote: >> In current implementation, an action which requires parameters >> must accept them enclosed in a structure. >> Some actions require a single, trivial type parameter, but it still >> must b

Re: [dpdk-dev] [PATCH v2] ethdev: support action with any config object type

2019-07-02 Thread Adrien Mazarguil
On Tue, Jul 02, 2019 at 05:17:26PM +0300, Dekel Peled wrote: > In current implementation, an action which requires parameters > must accept them enclosed in a structure. > Some actions require a single, trivial type parameter, but it still > must be enclosed in a structure. > This obligation result

Re: [dpdk-dev] [PATCH v2] ethdev: support action with any config object type

2019-07-02 Thread Andrew Rybchenko
On 02.07.2019 17:17, Dekel Peled wrote: In current implementation, an action which requires parameters must accept them enclosed in a structure. Some actions require a single, trivial type parameter, but it still must be enclosed in a structure. This obligation results in multiple, action-specifi

[dpdk-dev] [PATCH v2] ethdev: support action with any config object type

2019-07-02 Thread Dekel Peled
In current implementation, an action which requires parameters must accept them enclosed in a structure. Some actions require a single, trivial type parameter, but it still must be enclosed in a structure. This obligation results in multiple, action-specific structures, each containing a single tri