]> git.droids-corp.org - dpdk.git/commit
net/mlx5: fix GTP handling in header modify action
authorDariusz Sosnowski <dsosnowski@nvidia.com>
Wed, 13 Apr 2022 11:18:31 +0000 (11:18 +0000)
committerRaslan Darawsheh <rasland@nvidia.com>
Thu, 21 Apr 2022 10:47:44 +0000 (12:47 +0200)
commit26f22fa64e9fd66fbdba560c177ea5c9baacba5c
treea67ecdf1ae00620489f511bf36a5e4a4aa960aa0
parentcb91f12f4a0c094b27110ccb7c187b8d260e685f
net/mlx5: fix GTP handling in header modify action

GTP items were ignored during conversion of modify header actions. This
caused modify TTL action to generate a wrong modify header command when
tunnel and inner headers used different IP versions.

This patch adds GTP item handling to modify header action conversion.

Fixes: 04233f36c712 ("net/mlx5: fix layer type in header modify action")
Cc: stable@dpdk.org
Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5_flow_dv.c