Re: [patch net-next v2 02/10] switchdev: introduce transaction item queue for attr_set and obj_add

2015-09-23 Thread Jiri Pirko
Wed, Sep 23, 2015 at 05:46:44PM CEST, sfel...@gmail.com wrote: >On Wed, Sep 23, 2015 at 12:57 AM, Jiri Pirko wrote: >> From: Jiri Pirko >> >> Now, the memory allocation in prepare/commit state is done separatelly >> in each driver (rocker). Introduce the similar mechanism in generic >> switchdev

Re: [patch net-next v2 02/10] switchdev: introduce transaction item queue for attr_set and obj_add

2015-09-23 Thread Scott Feldman
On Wed, Sep 23, 2015 at 12:57 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Now, the memory allocation in prepare/commit state is done separatelly > in each driver (rocker). Introduce the similar mechanism in generic > switchdev code, in form of queue. That can be used not only for memory > alloca

[patch net-next v2 02/10] switchdev: introduce transaction item queue for attr_set and obj_add

2015-09-23 Thread Jiri Pirko
From: Jiri Pirko Now, the memory allocation in prepare/commit state is done separatelly in each driver (rocker). Introduce the similar mechanism in generic switchdev code, in form of queue. That can be used not only for memory allocations, but also for different items. Commit/abort item destructi