OSDN Git Service

net/mlx5e: CT: Support restore ipv6 tunnel
authorJianbo Liu <jianbol@mellanox.com>
Mon, 20 Jul 2020 01:36:45 +0000 (01:36 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 31 Jul 2020 01:53:47 +0000 (18:53 -0700)
commit01cefbbe2c51fa94d4221ca63d236907c5e19fe3
tree33965545d965cd60fd600b145c68958466c697fa
parent85496a29224188051b6135eb38da8afd4c584765
net/mlx5e: CT: Support restore ipv6 tunnel

Currently the driver restores only IPv4 tunnel headers.
Add support for restoring IPv6 tunnel header.

Fixes: b8ce90370977 ("net/mlx5e: Restore tunnel metadata on miss")
Signed-off-by: Jianbo Liu <jianbol@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.c