Re: [ovs-dev] [PATCH v8 4/5] dpif-netdev: refactor generic implementation

2019-05-08 Thread Ilya Maximets
On 08.05.2019 17:44, Van Haaren, Harry wrote: >> -Original Message- >> From: Ilya Maximets [mailto:i.maxim...@samsung.com] >> Sent: Wednesday, May 8, 2019 3:20 PM >> To: Van Haaren, Harry ; ovs-dev@openvswitch.org >> Cc: Stokes, Ian ; acon...@redhat.com; >> echau...@redhat.com >> Subject:

Re: [ovs-dev] [PATCH v8 4/5] dpif-netdev: refactor generic implementation

2019-05-08 Thread Van Haaren, Harry
> -Original Message- > From: Ilya Maximets [mailto:i.maxim...@samsung.com] > Sent: Wednesday, May 8, 2019 3:20 PM > To: Van Haaren, Harry ; ovs-dev@openvswitch.org > Cc: Stokes, Ian ; acon...@redhat.com; > echau...@redhat.com > Subject: Re: [PATCH v8 4/5] dpif-netdev: refactor generic

Re: [ovs-dev] [PATCH v8 4/5] dpif-netdev: refactor generic implementation

2019-05-08 Thread Ilya Maximets
On 08.05.2019 13:22, Harry van Haaren wrote: > This commit refactors the generic implementation. The > goal of this refactor is to simply the code to enable > "specialization" of the functions at compile time. > > Given compile-time optimizations, the compiler is able > to unroll loops, and

Re: [ovs-dev] [PATCH v8 4/5] dpif-netdev: refactor generic implementation

2019-05-08 Thread Ilya Maximets
On 08.05.2019 13:22, Harry van Haaren wrote: > This commit refactors the generic implementation. The > goal of this refactor is to simply the code to enable > "specialization" of the functions at compile time. > > Given compile-time optimizations, the compiler is able > to unroll loops, and

[ovs-dev] [PATCH v8 4/5] dpif-netdev: refactor generic implementation

2019-05-08 Thread Harry van Haaren
This commit refactors the generic implementation. The goal of this refactor is to simply the code to enable "specialization" of the functions at compile time. Given compile-time optimizations, the compiler is able to unroll loops, and create optimized code sequences due to compile time knowledge