Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c170 u8 dup_port = (port == 1) ? 2 : 1; in __mlx4_register_mac() local
171 struct mlx4_mac_table *dup_table = &mlx4_priv(dev)->port[dup_port].mac_table; in __mlx4_register_mac()
251 mac, dup_port, i); in __mlx4_register_mac()
296 err = mlx4_set_port_mac_table(dev, dup_port, dup_table->entries); in __mlx4_register_mac()
365 u8 dup_port = (port == 1) ? 2 : 1; in __mlx4_unregister_mac() local
366 struct mlx4_mac_table *dup_table = &mlx4_priv(dev)->port[dup_port].mac_table; in __mlx4_unregister_mac()
410 if (mlx4_set_port_mac_table(dev, dup_port, dup_table->entries)) in __mlx4_unregister_mac()
411 mlx4_warn(dev, "Fail to set mac in duplicate port %d during unregister\n", dup_port); in __mlx4_unregister_mac()
461 u8 dup_port = (port == 1) ? 2 : 1; in __mlx4_replace_mac() local
462 struct mlx4_mac_table *dup_table = &mlx4_priv(dev)->port[dup_port].mac_table; in __mlx4_replace_mac()
[all …]