Re: [ovs-dev] [PATCHv2 3/6] lib: Introduce ovs_u128_is_zero().

2015-09-18 Thread Ben Pfaff
On Thu, Sep 17, 2015 at 04:04:25PM -0700, Joe Stringer wrote: > From: Daniele Di Proietto > > is_all_zeros() is quite slow for u128 initialization because: > - It is not inlined > - It checks byte by byte > > This commit introduces a new function to perform this function, which > improves perfor

[ovs-dev] [PATCHv2 3/6] lib: Introduce ovs_u128_is_zero().

2015-09-17 Thread Joe Stringer
From: Daniele Di Proietto is_all_zeros() is quite slow for u128 initialization because: - It is not inlined - It checks byte by byte This commit introduces a new function to perform this function, which improves performance in the DPDK packet processing path for upcoming commits that regularly c