]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: flower-ct: add nft callback stubs
authorLouis Peens <louis.peens@corigine.com>
Wed, 16 Jun 2021 10:02:00 +0000 (12:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2021 19:42:52 +0000 (12:42 -0700)
commita5a76c4a94054ecdaa1cc554c13ee4baa7edb4a8
tree8cba5bd5d52edaa1e14b0c07941373c685ee98c6
parenteee034f848c7014f78c9e6b48303ca348fe52ab6
nfp: flower-ct: add nft callback stubs

Add register/unregister of the nft callback. For now just add
stub code to accept the flows, but don't do anything with it.
Decided to accept the flows since netfilter will keep on trying
to offload a flow if it was rejected, which is quite noisy.
Follow-up patches will start implementing the functions to add
nft flows to the relevant tables.

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/conntrack.h