net/dpaa2: fix check for key size
authorApeksha Gupta <apeksha.gupta@nxp.com>
Thu, 24 Sep 2020 04:02:06 +0000 (09:32 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Oct 2020 12:43:40 +0000 (14:43 +0200)
commit056ec485861d3e0c9e9ad612e2dca70f66f83af9
tree9518824a330f83efa6f4996bff16a5e1bae05162
parent7807a4fd386532d39aabfd94c08cf098f2eec3f0
net/dpaa2: fix check for key size

DPAA2 has support for raw flow classification, which can
be used for any protocol rules. This change fixes flow key
pattern length match boundary condition with spec length.

Fixes: 3f881f8d6eb0 ("net/dpaa2: support raw flow classification")
Cc: stable@dpdk.org
Signed-off-by: Apeksha Gupta <apeksha.gupta@nxp.com>
Acked-by: Nipun Gupta <nipun.gupta@nxp.com>
drivers/net/dpaa2/dpaa2_flow.c