Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx4/
Dmain.c167 static int port_type_array[2] = {MLX4_PORT_TYPE_NONE, MLX4_PORT_TYPE_NONE}; variable
169 module_param_array(port_type_array, int, &arr_argc, 0444);
170 MODULE_PARM_DESC(port_type_array, "Array of port types: HW_DEFAULT (0) is default "
603 if (port_type_array[i - 1] == MLX4_PORT_TYPE_NONE) in mlx4_dev_cap()
607 dev->caps.port_type[i] = port_type_array[i - 1]; in mlx4_dev_cap()
649 (port_type_array[0] == MLX4_PORT_TYPE_IB) && in mlx4_dev_cap()
650 (port_type_array[1] == MLX4_PORT_TYPE_ETH)) { in mlx4_dev_cap()
4467 if (port_type_array[0] == false && port_type_array[1] == true) { in mlx4_verify_params()
4469 port_type_array[0] = true; in mlx4_verify_params()