Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dlag.h63 u8 v2p_map[MLX5_MAX_PORTS * MLX5_LAG_MAX_HASH_BUCKETS]; member
H A Dlag.c210 " port %d:%d", i + 1, ldev->v2p_map[idx]); in mlx5_lag_print_mapping()
463 if (ports[idx] == ldev->v2p_map[idx]) in mlx5_modify_lag()
472 memcpy(ldev->v2p_map, ports, sizeof(ports)); in mlx5_modify_lag()
594 err = mlx5_cmd_create_lag(dev0, ldev->v2p_map, mode, flags); in mlx5_create_lag()
635 mlx5_infer_tx_affinity_mapping(tracker, ldev->ports, ldev->buckets, ldev->v2p_map); in mlx5_activate_lag()
638 ldev->v2p_map); in mlx5_activate_lag()
1521 port = ldev->v2p_map[port * ldev->buckets]; in mlx5_lag_get_slave_port()
H A Ddebugfs.c121 ports[i] = ldev->v2p_map[i]; in mapping_show()
H A Dport_sel.c581 if (ldev->v2p_map[idx] == ports[idx]) in __mlx5_lag_modify_definers_destinations()