]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5e: TC, Pass flow attr to attach/detach mod hdr functions
authorRoi Dayan <roid@nvidia.com>
Tue, 20 Sep 2022 14:20:01 +0000 (17:20 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 18 Jan 2023 18:34:08 +0000 (10:34 -0800)
commit82b564802661536443084debdb8ff7c3a4e72b6d
tree6022a6863ac8ff918602521289169c7ac3533225
parentb80ae281277fa2216a49ec994019c178a13f2e35
net/mlx5e: TC, Pass flow attr to attach/detach mod hdr functions

In preparation to remove duplicate functions handling mod hdr allocation
and the fact that modify hdr should be per flow attr and not flow
pass flow attr to the attach and detach mod hdr funcs.

Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_priv.h
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mellanox/mlx5/core/en_tc.h