MCPcopy Create free account
hub / github.com/F-Stack/f-stack / acl_check_alg_ppc

Function acl_check_alg_ppc

dpdk/lib/acl/rte_acl.c:130–142  ·  view source on GitHub ↗

* Helper function for acl_check_alg. * Check support for PPC specific classify methods. */

Source from the content-addressed store, hash-verified

128 * Check support for PPC specific classify methods.
129 */
130static int
131acl_check_alg_ppc(enum rte_acl_classify_alg alg)
132{
133 if (alg == RTE_ACL_CLASSIFY_ALTIVEC) {
134#if defined(RTE_ARCH_PPC_64)
135 if (rte_vect_get_max_simd_bitwidth() >= RTE_VECT_SIMD_128)
136 return 0;
137#endif
138 return -ENOTSUP;
139 }
140
141 return -EINVAL;
142}
143
144#ifdef CC_AVX512_SUPPORT
145static int

Callers 1

acl_check_algFunction · 0.85

Calls 1

Tested by

no test coverage detected