Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dmain.c583 dev->caps.log_num_vlans = MLX4_MIN_LOG_NUM_VLANS; in mlx4_dev_cap()
586 dev->caps.log_num_vlans = MLX4_LOG_NUM_VLANS; in mlx4_dev_cap()
641 if (dev->caps.log_num_vlans > dev_cap->port_cap[i].log_max_vlans) { in mlx4_dev_cap()
642 dev->caps.log_num_vlans = dev_cap->port_cap[i].log_max_vlans; in mlx4_dev_cap()
644 i, 1 << dev->caps.log_num_vlans); in mlx4_dev_cap()
662 (1 << dev->caps.log_num_vlans) * in mlx4_dev_cap()
Dport.c86 table->max = (1 << dev->caps.log_num_vlans) - MLX4_VLAN_REGULAR; in mlx4_init_vlan_table()
/linux-6.1.9/include/linux/mlx4/
Ddevice.h606 int log_num_vlans; member