numam-dpdk/lib/librte_net
Stephen Hemminger 7750b036d8 net: speedup ethernet address comparison with bitops
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 <stephen@networkplumber.org>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2019-07-08 21:26:52 +02:00
..
Makefile net: deinline non-critical ethernet functions 2019-07-08 21:26:52 +02:00
meson.build net: deinline non-critical ethernet functions 2019-07-08 21:26:52 +02:00
net_crc_neon.h lib: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
net_crc_sse.h add missing static keyword to globals 2018-10-29 02:01:08 +01:00
rte_arp.c remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00
rte_arp.h enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
rte_esp.h net: add rte prefix to ESP structure 2019-05-24 13:34:45 +02:00
rte_ether.c net: add function to convert string to ethernet address 2019-07-08 21:26:52 +02:00
rte_ether.h net: speedup ethernet address comparison with bitops 2019-07-08 21:26:52 +02:00
rte_gre.h net: add rte prefix to GRE structure 2019-05-24 13:34:45 +02:00
rte_icmp.h net: add rte prefix to ICMP defines 2019-05-24 13:34:46 +02:00
rte_ip.h ipsec: support header construction 2019-07-05 15:28:14 +02:00
rte_mpls.h net: add MPLS header structure 2018-10-26 22:14:06 +02:00
rte_net_crc.c lib: fix shifting 32-bit signed variable 31 times 2018-11-06 01:14:05 +01:00
rte_net_crc.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_net_version.map net: add function to convert string to ethernet address 2019-07-08 21:26:52 +02:00
rte_net.c remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00
rte_net.h net: fix how L4 checksum choice is tested 2019-06-28 20:32:18 +02:00
rte_sctp.h net: add rte prefix to SCTP structure 2019-05-24 13:34:46 +02:00
rte_tcp.h net: move TCP flags from ethdev header 2019-07-03 12:57:30 +02:00
rte_udp.h net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00