Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dport.c172 int i, num_eth_ports = 0; in mlx4_need_mf_bond() local
177 ++num_eth_ports; in mlx4_need_mf_bond()
179 return (num_eth_ports == 2) ? true : false; in mlx4_need_mf_bond()
1208 int num_eth_ports, err; in mlx4_reset_roce_gids() local
1216 for (i = 0, num_eth_ports = 0; i < dev->caps.num_ports; i++) { in mlx4_reset_roce_gids()
1220 num_eth_ports++; in mlx4_reset_roce_gids()
1224 if (!num_eth_ports) in mlx4_reset_roce_gids()
Den_netdev.c2956 int i, num_eth_ports = 0; in mlx4_en_netdev_event() local
2972 ++num_eth_ports; in mlx4_en_netdev_event()
2980 if (num_eth_ports < 2) in mlx4_en_netdev_event()
2987 do_bond = (num_eth_ports == 2) ? do_bond : false; in mlx4_en_netdev_event()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dverbs.c2245 int num_eth_ports = 0; in is_valid_mcast_lid() local
2264 num_eth_ports++; in is_valid_mcast_lid()
2270 if (num_eth_ports) in is_valid_mcast_lid()