Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx4/
A 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()
A Den_netdev.c2962 int i, num_eth_ports = 0; in mlx4_en_netdev_event() local
2978 ++num_eth_ports; in mlx4_en_netdev_event()
2986 if (num_eth_ports < 2) in mlx4_en_netdev_event()
2993 do_bond = (num_eth_ports == 2) ? do_bond : false; in mlx4_en_netdev_event()
/linux/drivers/infiniband/core/
A Dverbs.c2320 int num_eth_ports = 0; in is_valid_mcast_lid() local
2339 num_eth_ports++; in is_valid_mcast_lid()
2345 if (num_eth_ports) in is_valid_mcast_lid()

Completed in 19 milliseconds