[NET]: Optimize is_valid_ether_addr()
Low level optimization of the comparison with zero address. On most cpu's faster to use unrolled or rather than a loop and memcmp. This is in the fastpath of bridge forwarding. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment