OSDN Git Service

net/mlx5: DR, Use the new HW specific STE infrastructure
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Thu, 19 Nov 2020 04:03:40 +0000 (06:03 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 5 Jan 2021 23:00:44 +0000 (15:00 -0800)
commit5212f9c65a472b549db98ac5d45c851f60b9b357
tree6fb93e1a72b38039994e4039b557b82d7a1a8d09
parent75699246a01fa90587a8fc83ff0dffe3288cb91c
net/mlx5: DR, Use the new HW specific STE infrastructure

Split the STE builders functionality into the common part and
device-specific part. All the device-specific part (with 'v0' in
the function names) is accessed through the STE context structure.

Subsequent patches will have the device-specific logic moved to a
separate file.

Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.h
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h