[dpdk-dev] [PATCH] net: rte_ether minor optimizations

Ferruh Yigit ferruh.yigit at intel.com
Tue Aug 25 19:30:33 CEST 2020


On 7/27/2020 8:34 AM, Olivier Matz wrote:
> On Fri, Jun 26, 2020 at 06:51:35PM +0200, Morten Brørup wrote:
>> * rte_is_broadcast_ether_addr():
>> Use binary logic instead of comparisons and boolean logic, thus reducing
>> the number of branches.
>> It now resembles rte_is_zero_ether_addr().
>>
>> * rte_ether_addr_copy():
>> The source code modifications were discussed on the mailing list:
>> http://mails.dpdk.org/archives/dev/2020-June/171584.html
>> Remove obsolete ICC-specific code and related comment.
>> Restrict pointer aliasing (suggested by Jerin Jacob).
>> Remove superfluous "Fast" from function description headline; all DPDK
>> data plane functions are supposed to be fast.
>>
>> Signed-off-by: Morten Brørup <mb at smartsharesystems.com>
> 
> Acked-by: Olivier Matz <olivier.matz at 6wind.com>
> 

Applied to dpdk-next-net/main, thanks.


More information about the dev mailing list