numam-dpdk/lib/librte_net
Ciara Power 209fd1984a net: check max SIMD bitwidth
When choosing a vector path to take, an extra condition must be
satisfied to ensure the max SIMD bitwidth allows for the CPU enabled
path.

The vector path was initially chosen in RTE_INIT, however this is no
longer suitable as we cannot check the max SIMD bitwidth at that time.
Default handlers are now chosen on initialisation, these default
handlers are used the first time the crc calc is called, and they set
the suitable handlers to be used going forward.

Suggested-by: Jasvinder Singh <jasvinder.singh@intel.com>
Suggested-by: Olivier Matz <olivier.matz@6wind.com>
Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Jasvinder Singh <jasvinder.singh@intel.com>
2020-10-19 16:45:02 +02:00
..
meson.build app/testpmd: add GENEVE parsing 2020-10-16 19:18:47 +02:00
net_crc_avx512.c net: add CRC AVX512 implementation 2020-10-13 19:26:15 +02:00
net_crc_neon.c net: add CRC implementation runtime selection 2020-10-13 19:26:03 +02:00
net_crc_sse.c net: add CRC implementation runtime selection 2020-10-13 19:26:03 +02:00
net_crc.h net: add CRC AVX512 implementation 2020-10-13 19:26:15 +02:00
rte_arp.c net: replace htons with constant endian swap 2020-09-10 21:52:28 +02:00
rte_arp.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_ecpri.h ethdev: add eCPRI key fields to flow API 2020-07-13 02:11:30 +02:00
rte_esp.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_ether.c net: build on Windows 2020-09-10 21:53:48 +02:00
rte_ether.h net: check first segment length on SW VLAN insertion 2020-09-18 18:55:10 +02:00
rte_geneve.h app/testpmd: add GENEVE parsing 2020-10-16 19:18:47 +02:00
rte_gre.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_gtp.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_higig.h ethdev: add HIGIG2 key field to flow API 2019-10-23 16:43:10 +02:00
rte_icmp.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_ip.h ethdev: add IPv6 fragment extension header item 2020-10-16 19:48:18 +02:00
rte_mpls.h net: fix pedantic build 2020-07-21 17:36:54 +02:00
rte_net_crc.c net: check max SIMD bitwidth 2020-10-19 16:45:02 +02:00
rte_net_crc.h net: add CRC AVX512 implementation 2020-10-13 19:26:15 +02:00
rte_net_version.map version: 20.11-rc0 2020-08-12 11:32:16 +02:00
rte_net.c net: add function to calculate IPv4 header length 2020-10-16 19:48:17 +02:00
rte_net.h net: adjust header length parse size 2020-09-18 18:55:12 +02:00
rte_sctp.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_tcp.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_udp.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_vxlan.h app/testpmd: cleanup tunnel protocols parsing 2020-10-16 19:18:47 +02:00