]> 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)
commit8c5122f345f69b2e603ca599c575b056340a1fe3
tree8cba5bd5d52edaa1e14b0c07941373c685ee98c6
parentb3d8a5c4f0bc2c882c5824da3e069123a6c09718
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