Re: [PATCH net-next 4/6] net/sched: act_ct: Create nf flow table per zone
From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Date: 2020-02-28 13:45:33
From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Date: 2020-02-28 13:45:33
Hi, On Sun, Feb 23, 2020 at 01:45:05PM +0200, Paul Blakey wrote:
Use the NF flow tables infrastructure for CT offload. Create a nf flow table per zone. Next patches will add FT entries to this table, and do the software offload. Signed-off-by: Paul Blakey <redacted> Reviewed-by: Jiri Pirko <redacted> --- drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 1 + include/net/tc_act/tc_ct.h | 2 + net/sched/Kconfig | 2 +- net/sched/act_ct.c | 159 +++++++++++++++++++++++- 4 files changed, 162 insertions(+), 2 deletions(-)diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c b/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c index 70b5fe2..eb16136 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c@@ -45,6 +45,7 @@ #include <net/tc_act/tc_tunnel_key.h> #include <net/tc_act/tc_pedit.h> #include <net/tc_act/tc_csum.h> +#include <net/tc_act/tc_ct.h> #include <net/arp.h> #include <net/ipv6_stubs.h> #include "en.h"
This chunk is not really needed for this patchset, right?