]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_net/rte_net_crc.h
net: implement CRC for ARM64 NEON
[dpdk.git] / lib / librte_net / rte_net_crc.h
index d22286c6e4079f2e45b8206ba88d3e8f7e2e0d58..d01cf4b473f109dccfcd8d9e12a851035e8e0051 100644 (file)
@@ -57,6 +57,7 @@ enum rte_net_crc_type {
 enum rte_net_crc_alg {
        RTE_NET_CRC_SCALAR = 0,
        RTE_NET_CRC_SSE42,
+       RTE_NET_CRC_NEON,
 };
 
 /**
@@ -68,6 +69,7 @@ enum rte_net_crc_alg {
  *   This parameter is used to select the CRC implementation version.
  *   - RTE_NET_CRC_SCALAR
  *   - RTE_NET_CRC_SSE42 (Use 64-bit SSE4.2 intrinsic)
+ *   - RTE_NET_CRC_NEON (Use ARM Neon intrinsic)
  */
 void
 rte_net_crc_set_alg(enum rte_net_crc_alg alg);