nfp: flower-ct: add zone table entry when handling pre/post_ct flows
authorLouis Peens <louis.peens@corigine.com>
Wed, 2 Jun 2021 11:59:48 +0000 (13:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jun 2021 21:04:42 +0000 (14:04 -0700)
commitbd0fe7f96a3c44c6ed0ab645abbad8b43a8cc5c1
treeac18e8dd3ca27bb1d8b7b1d9349906093570713d
parente236e4849b583d0e77b856417ce2f03b1d6b31db
nfp: flower-ct: add zone table entry when handling pre/post_ct flows

Start populating the pre/post_ct handler functions. Add a zone entry
to the zone table, based on the zone information from the flow. In
the case of a post_ct flow which has a wildcarded match on the zone
create a special entry.

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
drivers/net/ethernet/netronome/nfp/flower/main.h
drivers/net/ethernet/netronome/nfp/flower/metadata.c