net/mlx5: Vectorize the low level core hairpin object
Enhance the hairpin setup code at the core to support a set of N (RQ,SQ) pairs. This will be later used by the caller to set RSS spreading among the different RQs. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:

committed by
Saeed Mahameed

parent
479f074c5b
commit
ddae74ac10
@@ -78,14 +78,17 @@ void mlx5_core_destroy_rqt(struct mlx5_core_dev *dev, u32 rqtn);
|
||||
struct mlx5_hairpin_params {
|
||||
u8 log_data_size;
|
||||
u16 q_counter;
|
||||
int num_channels;
|
||||
};
|
||||
|
||||
struct mlx5_hairpin {
|
||||
struct mlx5_core_dev *func_mdev;
|
||||
struct mlx5_core_dev *peer_mdev;
|
||||
|
||||
u32 rqn;
|
||||
u32 sqn;
|
||||
int num_channels;
|
||||
|
||||
u32 *rqn;
|
||||
u32 *sqn;
|
||||
};
|
||||
|
||||
struct mlx5_hairpin *
|
||||
|
Reference in New Issue
Block a user