acl: deduplicate a bit of RT code
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Tue, 20 Jan 2015 18:40:58 +0000 (18:40 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 28 Jan 2015 16:11:25 +0000 (17:11 +0100)
commit3858b90d824443e6a77a380f22d0ad13422e93a3
tree9c58cd8fb8b7b17220e077198accb4e9588b3545
parent5c0e6c3de554c496fe0e8921badc2e3bbd237e32
acl: deduplicate a bit of RT code

Move common check for input parameters up into rte_acl_classify_alg().

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
lib/librte_acl/acl_run_scalar.c
lib/librte_acl/acl_run_sse.c
lib/librte_acl/rte_acl.c