On 6/5/19 4:08 AM, Stephen Hemminger wrote:
Using bit operations like or and xor is faster than a loop
on all architectures. Really just explicit unrolling.
Similar cast to uint16 unaligned is already done in
other functions here.
Signed-off-by: Stephen Hemminger
Reviewed-by: Andrew Rybchenk
Using bit operations like or and xor is faster than a loop
on all architectures. Really just explicit unrolling.
Similar cast to uint16 unaligned is already done in
other functions here.
Signed-off-by: Stephen Hemminger
---
lib/librte_net/rte_ether.h | 17 +++--
1 file changed, 7 in
2 matches
Mail list logo