Searched refs:num_eth_ports (Results 1 – 3 of 3) sorted by relevance
172 int i, num_eth_ports = 0; in mlx4_need_mf_bond() local177 ++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() local1216 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()
2956 int i, num_eth_ports = 0; in mlx4_en_netdev_event() local2972 ++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()
2245 int num_eth_ports = 0; in is_valid_mcast_lid() local2264 num_eth_ports++; in is_valid_mcast_lid()2270 if (num_eth_ports) in is_valid_mcast_lid()