net/mlx5e: Export sharing of mod headers to a new file
authorPaul Blakey <paulb@mellanox.com>
Tue, 17 Mar 2020 14:32:21 +0000 (16:32 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 10 Jul 2020 02:51:15 +0000 (19:51 -0700)
commitb2fdf3d04714d4eea2f8a5c011cdd84b428c7df5
treea0c73e5b2c9778ad2fd0bea207c2f480f8aeeb42
parenta8eb919ba659adcbed8fd782b3e9a949c3a65b9c
net/mlx5e: Export sharing of mod headers to a new file

Refactor sharing of mod headers to new file and while there,
remove spin lock and flows list, as this is only used for warn on.

Use the generic API in the next patch to re-use tuple modify headers
for identical modify actions,

Signed-off-by: Paul Blakey <paulb@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/Makefile
drivers/net/ethernet/mellanox/mlx5/core/en/fs.h
drivers/net/ethernet/mellanox/mlx5/core/en/mod_hdr.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en/mod_hdr.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mellanox/mlx5/core/en_tc.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c