net/mvpp2: build flow table key along with rule
authorLiron Himi <lironh@marvell.com>
Wed, 27 Jan 2021 16:09:32 +0000 (18:09 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:11 +0000 (18:16 +0100)
commitb57d1a8397e00a59667d0c5fd482eed932b72644
tree4b0811a24af86a9e6e39cc1da5fa727188866128
parente0ae4cf6a4a2d383a44e0a1e3c80f45a037155d4
net/mvpp2: build flow table key along with rule

Currently the key is always built in network order
regardless of user input.
Besides the fact that it is not in user order,
it prevent future support for udf header between standard headers.
This patch builds the key while parsing the given rule.

Signed-off-by: Liron Himi <lironh@marvell.com>
drivers/net/mvpp2/mrvl_ethdev.h
drivers/net/mvpp2/mrvl_flow.c