From: wenxu <we...@ucloud.cn> Currently all the conntrack entry offfload rules will be add in both ct and ct_nat flow table in the mlx5e driver. It is not makesense.
This serise provide nat attribute in the ct_metadata action which tell driver the rule should add to ct or ct_nat flow table wenxu (2): net/sched: act_ct: add nat attribute in ct_metadata net/mlx5e: add ct_metadata.nat support in ct offload drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c | 34 ++++++++-------------- include/net/flow_offload.h | 1 + net/sched/act_ct.c | 1 + 3 files changed, 14 insertions(+), 22 deletions(-) -- 1.8.3.1