Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/mlx5/
H A Ddevice.h1227 MLX5_CAP_PORT_SELECTION = 0x25, enumerator
1346 #define MLX5_CAP_PORT_SELECTION(mdev, cap) \ macro
1348 mdev->caps.hca[MLX5_CAP_PORT_SELECTION]->cur, cap)
1352 mdev->caps.hca[MLX5_CAP_PORT_SELECTION]->max, cap)
1359 MLX5_CAP_PORT_SELECTION(mdev, flow_table_properties_port_selection.cap)
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dmpesw.c82 !MLX5_CAP_PORT_SELECTION(dev0, port_select_flow_table) || in enable_mpesw()
H A Dlag.c102 if (!MLX5_CAP_PORT_SELECTION(dev, port_select_flow_table_bypass)) in mlx5_cmd_create_lag()
438 !MLX5_CAP_PORT_SELECTION(dev0, port_select_flow_table_bypass)) in _mlx5_modify_lag()
490 if (!MLX5_CAP_PORT_SELECTION(dev0, port_select_flow_table)) { in mlx5_lag_set_port_sel_mode_roce()
514 if (MLX5_CAP_PORT_SELECTION(dev0->dev, port_select_flow_table) && in mlx5_lag_set_port_sel_mode_offloads()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c718 err = mlx5_core_get_caps(dev, MLX5_CAP_PORT_SELECTION); in handle_hca_cap_port_selection()
722 if (MLX5_CAP_PORT_SELECTION(dev, port_select_flow_table_bypass) || in handle_hca_cap_port_selection()
727 memcpy(set_hca_cap, dev->caps.hca[MLX5_CAP_PORT_SELECTION]->cur, in handle_hca_cap_port_selection()
1754 MLX5_CAP_PORT_SELECTION,
H A Dfw.c151 err = mlx5_core_get_caps_mode(dev, MLX5_CAP_PORT_SELECTION, HCA_CAP_OPMOD_GET_CUR); in mlx5_query_hca_caps()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dmlx5_ib.h1630 MLX5_CAP_PORT_SELECTION(dev->mdev, port_select_flow_table_bypass)) in mlx5_ib_lag_should_assign_affinity()