Home
last modified time | relevance | path

Searched refs:lag_ctx (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.c90 void *lag_ctx; in mlx5_cmd_create_lag() local
92 lag_ctx = MLX5_ADDR_OF(create_lag_in, in, ctx); in mlx5_cmd_create_lag()
94 MLX5_SET(lagc, lag_ctx, fdb_selection_mode, fdb_sel_mode); in mlx5_cmd_create_lag()
98 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_1, ports[0]); in mlx5_cmd_create_lag()
99 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_2, ports[1]); in mlx5_cmd_create_lag()
105 MLX5_SET(lagc, lag_ctx, active_port, in mlx5_cmd_create_lag()
111 MLX5_SET(lagc, lag_ctx, port_select_mode, port_sel_mode); in mlx5_cmd_create_lag()
120 void *lag_ctx = MLX5_ADDR_OF(modify_lag_in, in, ctx); in mlx5_cmd_modify_lag() local
125 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_1, ports[0]); in mlx5_cmd_modify_lag()
126 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_2, ports[1]); in mlx5_cmd_modify_lag()
[all …]