summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0f5e675)
The #ifdef only had the break in the else leg rather than in the first leg,
leading to the value set their being overridden on fall-through.
Fixes:
986ff526fb84 ("net: add CRC computation API")
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Jasvinder Singh <jasvinder.singh@intel.com>
handlers = handlers_sse42;
#else
alg = RTE_NET_CRC_SCALAR;
handlers = handlers_sse42;
#else
alg = RTE_NET_CRC_SCALAR;
case RTE_NET_CRC_SCALAR:
default:
handlers = handlers_scalar;
case RTE_NET_CRC_SCALAR:
default:
handlers = handlers_scalar;