net/dpaa2: define size of table entry
authorJun Yang <jun.yang@nxp.com>
Tue, 7 Jul 2020 09:22:35 +0000 (14:52 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:52 +0000 (06:18 +0200)
commitd0a77dc3d9d477a8fdf900dedf9538c0a6c4098f
tree4badb771d99d542bec68ac5860e9b6657293e0cd
parent4ce58f8a182c09dd59331ca64149e3b8b0f26565
net/dpaa2: define size of table entry

If entry size is not bigger than 27, MC alloc one TCAM entry,
otherwise, alloc 2 TCAM entries.
Extracts size by HW must be not bigger than TCAM entry size(27 or 54).
So define the flow entry size as 54.

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