nfp: flower-ct: implement action_merge check
authorLouis Peens <louis.peens@corigine.com>
Wed, 16 Jun 2021 10:02:07 +0000 (12:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2021 19:42:53 +0000 (12:42 -0700)
commit30c4a9f4fe3f47ffa5783329fa5553f8baef3a76
treed477e1bdfcea7242fe11e0cf3c1d4d77538bd531
parent5e5f08168db4b7ea5d056cc429781b0cf546ebb1
nfp: flower-ct: implement action_merge check

Fill in code stub to check that the flow actions are valid for
merge. The actions of the flow X should not conflict with the
matches of flow X+1. For now this check is quite strict and
set_actions are very limited, will need to update this when
NAT support is added.

Signed-off-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/flower/conntrack.c