mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
net/mlx5: DR, Move HW STEv0 match logic to a separate file
Move current STE match logic to a seprate file. This file will be used for HW specific STEv0. Future patches will add functionality for v1 steering. Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com> Reviewed-by: Alex Vesker <valex@nvidia.com> Reviewed-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
This commit is contained in:
parent
5212f9c65a
commit
d65e841de8
4 changed files with 1286 additions and 1279 deletions
|
@ -83,5 +83,6 @@ mlx5_core-$(CONFIG_MLX5_SW_STEERING) += steering/dr_domain.o steering/dr_table.o
|
||||||
steering/dr_matcher.o steering/dr_rule.o \
|
steering/dr_matcher.o steering/dr_rule.o \
|
||||||
steering/dr_icm_pool.o steering/dr_buddy.o \
|
steering/dr_icm_pool.o steering/dr_buddy.o \
|
||||||
steering/dr_ste.o steering/dr_send.o \
|
steering/dr_ste.o steering/dr_send.o \
|
||||||
|
steering/dr_ste_v0.o \
|
||||||
steering/dr_cmd.o steering/dr_fw.o \
|
steering/dr_cmd.o steering/dr_fw.o \
|
||||||
steering/dr_action.o steering/fs_dr.o
|
steering/dr_action.o steering/fs_dr.o
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -111,4 +111,6 @@ struct mlx5dr_ste_ctx {
|
||||||
void DR_STE_CTX_BUILDER(src_gvmi_qpn);
|
void DR_STE_CTX_BUILDER(src_gvmi_qpn);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extern struct mlx5dr_ste_ctx ste_ctx_v0;
|
||||||
|
|
||||||
#endif /* _DR_STE_ */
|
#endif /* _DR_STE_ */
|
||||||
|
|
1283
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste_v0.c
Normal file
1283
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste_v0.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue