mbox series

[net-next,0/2] net/mlx5e: add nat support in ct_metadata

Message ID 1590650155-4403-1-git-send-email-wenxu@ucloud.cn
Headers show
Series net/mlx5e: add nat support in ct_metadata | expand

Message

wenxu May 28, 2020, 7:15 a.m. UTC
From: wenxu <wenxu@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(-)