Searched refs:max_port (Results 1 – 6 of 6) sorted by relevance
309 unsigned max_port = p_sw->num_ports; in dump_lid_matrix() local320 for (port = 0; port < max_port; port++) in dump_lid_matrix()337 unsigned max_port = p_sw->num_ports; in dump_ucast_lfts() local349 if (port >= max_port) in dump_ucast_lfts()
39 PortMap(uint16_t min_port, uint16_t max_port);
48 uint16_t max_port) { in PortMap() argument50 for (; min_port < max_port; ++min_port) in PortMap()
148 uint16_t max_port; /* Unused */ member
2008 int max_port = min_port - 1 + in mlx4_master_activate_admin_state() local2011 for (port = min_port; port <= max_port; port++) { in mlx4_master_activate_admin_state()2073 int max_port = min_port - 1 + in mlx4_master_deactivate_admin_state() local2077 for (port = min_port; port <= max_port; port++) { in mlx4_master_deactivate_admin_state()2863 int max_port = min_port + in mlx4_slaves_closest_port() local2868 else if (port >= max_port) in mlx4_slaves_closest_port()2869 port = max_port - 1; in mlx4_slaves_closest_port()3269 int max_port = min_port - 1 + in mlx4_vf_set_enable_smi_admin() local3280 if (min_port == max_port && dev->caps.num_ports > 1) { in mlx4_vf_set_enable_smi_admin()
1814 extract_port_from_str(const char* str, int max_port) { in extract_port_from_str() argument1838 if (value < 0 || value >= max_port) { in extract_port_from_str()1839 log_err(" '%s' is out of bounds [0, %d)", str, max_port); in extract_port_from_str()1938 int max_port = num - 1; in cfg_apply_local_port_policy() local1939 if (fscanf(range_fd, "%d %d", &min_port, &max_port) == 2) { in cfg_apply_local_port_policy()1943 for(i=max_port+1; i<num; i++) { in cfg_apply_local_port_policy()