]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f56ff1f8b2541a24f3dd0701693686360aeba71
treed477e1bdfcea7242fe11e0cf3c1d4d77538bd531
parent9f2d12fd8ef89c1f6eafcdace292e88813e33294
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