OSDN Git Service

net/mlx5e: Implement CT entry update
authorVlad Buslov <vladbu@nvidia.com>
Thu, 1 Dec 2022 15:56:10 +0000 (16:56 +0100)
committerSaeed Mahameed <saeedm@nvidia.com>
Sat, 18 Feb 2023 09:01:33 +0000 (01:01 -0800)
commit94ceffb48eac7692677d8093dcde6965b70c4b35
tree43830bc4a39c97eb9166142b13896e145b5238d0
parent3ac0b6aa892a1961d3bc62c87e3e3c9646e9d309
net/mlx5e: Implement CT entry update

With support for UDP NEW offload the flow_table may now send updates for
existing flows. Support properly replacing existing entries by updating
flow restore_cookie and replacing the rule with new one with the same match
but new mod_hdr action that sets updated ctinfo.

Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
Reviewed-by: Paul Blakey <paulb@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c