Verified the changes with crc_autotest unit test case

Signed-off-by: Ashwin Sekhar T K <ashwin.sek...@caviumnetworks.com>
---
v2:
* Fixed checkpatch errors/warnings

 test/test/test_crc.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/test/test/test_crc.c b/test/test/test_crc.c
index cd5af69..9f2a17d 100644
--- a/test/test/test_crc.c
+++ b/test/test/test_crc.c
@@ -178,6 +178,15 @@ test_crc(void)
                return ret;
        }
 
+       /* set CRC neon mode */
+       rte_net_crc_set_alg(RTE_NET_CRC_NEON);
+
+       ret = test_crc_calc();
+       if (ret < 0) {
+               printf("test crc (arm64 neon pmull): failed (%d)\n", ret);
+               return ret;
+       }
+
        return 0;
 }
 
-- 
2.7.4

Reply via email to