Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dmain.c146 static int log_num_mac = 7; variable
147 module_param_named(log_num_mac, log_num_mac, int, 0444);
148 MODULE_PARM_DESC(log_num_mac, "Log2 max number of MACs per ETH port (1-7)");
272 value.vu32 = 1UL << log_num_mac; in mlx4_devlink_set_params_init_values()
585 dev->caps.log_num_macs = log_num_mac; in mlx4_dev_cap()
3926 log_num_mac = order_base_2(saved_value.vu32); in mlx4_devlink_param_load_driverinit_values()
4481 if ((log_num_mac < 0) || (log_num_mac > 7)) { in mlx4_verify_params()
4482 pr_warn("mlx4_core: bad num_mac: %d\n", log_num_mac); in mlx4_verify_params()