]> git.baikalelectronics.ru Git - kernel.git/commit
net: mscc: ocelot: parse flower action before key
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 29 Sep 2020 22:27:28 +0000 (01:27 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Sep 2020 01:26:24 +0000 (18:26 -0700)
commit956c73932bfb23203c81c210496c5940c2ca2e46
tree607ccd25df79534693b2b6ea08a407d724a4187f
parentf1c1c18269f6e29ed409fd8e1a5bc9f9a81d71df
net: mscc: ocelot: parse flower action before key

When we'll make the switch to multiple chain offloading, we'll want to
know first what VCAP block the rule is offloaded to. This impacts what
keys are available. Since the VCAP block is determined by what actions
are used, parse the action first.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot_flower.c