Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/
Dport.c190 u8 dup_port = (port == 1) ? 2 : 1; in __mlx4_register_mac() local
191 struct mlx4_mac_table *dup_table = &mlx4_priv(dev)->port[dup_port].mac_table; in __mlx4_register_mac()
271 mac, dup_port, i); in __mlx4_register_mac()
316 err = mlx4_set_port_mac_table(dev, dup_port, dup_table->entries); in __mlx4_register_mac()
385 u8 dup_port = (port == 1) ? 2 : 1; in __mlx4_unregister_mac() local
386 struct mlx4_mac_table *dup_table = &mlx4_priv(dev)->port[dup_port].mac_table; in __mlx4_unregister_mac()
430 if (mlx4_set_port_mac_table(dev, dup_port, dup_table->entries)) in __mlx4_unregister_mac()
431 mlx4_warn(dev, "Fail to set mac in duplicate port %d during unregister\n", dup_port); in __mlx4_unregister_mac()
481 u8 dup_port = (port == 1) ? 2 : 1; in __mlx4_replace_mac() local
482 struct mlx4_mac_table *dup_table = &mlx4_priv(dev)->port[dup_port].mac_table; in __mlx4_replace_mac()
[all …]