Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmain.c145 static int log_num_mac = 7; variable
146 module_param_named(log_num_mac, log_num_mac, int, 0444);
147 MODULE_PARM_DESC(log_num_mac, "Log2 max number of MACs per ETH port (1-7)");
271 value.vu32 = 1UL << log_num_mac; in mlx4_devlink_set_params_init_values()
584 dev->caps.log_num_macs = log_num_mac; in mlx4_dev_cap()
3961 log_num_mac = order_base_2(saved_value.vu32); in mlx4_devlink_param_load_driverinit_values()
4516 if ((log_num_mac < 0) || (log_num_mac > 7)) { in mlx4_verify_params()
4517 pr_warn("mlx4_core: bad num_mac: %d\n", log_num_mac); in mlx4_verify_params()