net/dpaa2: add sanity check for flow extracts
authorJun Yang <jun.yang@nxp.com>
Tue, 7 Jul 2020 09:22:32 +0000 (14:52 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:52 +0000 (06:18 +0200)
commit926c127907247b7191789c408ca380bb03b7b94a
treef0c2a3473d99bef862497ee211e4cd6e74de16e2
parent5f17672873b9f03b9a002ea7504825625cc6c59c
net/dpaa2: add sanity check for flow extracts

Define extracts support for each protocol and check the fields of each
pattern before building extracts of QoS/FS table.

Signed-off-by: Jun Yang <jun.yang@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/net/dpaa2/dpaa2_ethdev.c
drivers/net/dpaa2/dpaa2_flow.c