Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dmain.c582 dev->caps.log_num_macs = MLX4_MIN_LOG_NUM_MAC; in mlx4_dev_cap()
585 dev->caps.log_num_macs = log_num_mac; in mlx4_dev_cap()
636 if (dev->caps.log_num_macs > dev_cap->port_cap[i].log_max_macs) { in mlx4_dev_cap()
637 dev->caps.log_num_macs = dev_cap->port_cap[i].log_max_macs; in mlx4_dev_cap()
639 i, 1 << dev->caps.log_num_macs); in mlx4_dev_cap()
661 (1 << dev->caps.log_num_macs) * in mlx4_dev_cap()
Dport.c72 table->max = 1 << dev->caps.log_num_macs; in mlx4_init_mac_table()
375 (port - 1) * (1 << dev->caps.log_num_macs); in mlx4_get_base_qpn()
1660 context->n_mac = dev->caps.log_num_macs; in mlx4_SET_PORT_qpn_calc()
/kernel/linux/linux-5.10/include/linux/mlx4/
Ddevice.h606 int log_num_macs; member