Lines Matching refs:port_num
76 u8 port_num, u8 *p_data) in mlx4_ib_update_cache_on_guid_change() argument
81 int port_index = port_num - 1; in mlx4_ib_update_cache_on_guid_change()
87 ports_guid[port_num - 1]. in mlx4_ib_update_cache_on_guid_change()
89 pr_debug("port: %d, guid_indexes: 0x%llx\n", port_num, guid_indexes); in mlx4_ib_update_cache_on_guid_change()
187 int block_num, u8 port_num, in mlx4_ib_notify_slaves_on_guid_change() argument
204 rec = &dev->sriov.alias_guid.ports_guid[port_num - 1]. in mlx4_ib_notify_slaves_on_guid_change()
207 ports_guid[port_num - 1]. in mlx4_ib_notify_slaves_on_guid_change()
209 pr_debug("port: %d, guid_indexes: 0x%llx\n", port_num, guid_indexes); in mlx4_ib_notify_slaves_on_guid_change()
221 form_cache_ag = get_cached_alias_guid(dev, port_num, in mlx4_ib_notify_slaves_on_guid_change()
250 mlx4_gen_guid_change_eqe(dev->dev, slave_id, port_num); in mlx4_ib_notify_slaves_on_guid_change()
254 prev_state = mlx4_get_slave_port_state(dev->dev, slave_id, port_num); in mlx4_ib_notify_slaves_on_guid_change()
255 new_state = set_and_calc_slave_port_state(dev->dev, slave_id, port_num, in mlx4_ib_notify_slaves_on_guid_change()
260 slave_id, port_num, prev_state, new_state, gen_event); in mlx4_ib_notify_slaves_on_guid_change()
263 slave_id, port_num); in mlx4_ib_notify_slaves_on_guid_change()
265 port_num, MLX4_PORT_CHANGE_SUBTYPE_ACTIVE); in mlx4_ib_notify_slaves_on_guid_change()
268 set_and_calc_slave_port_state(dev->dev, slave_id, port_num, in mlx4_ib_notify_slaves_on_guid_change()
273 slave_id, port_num); in mlx4_ib_notify_slaves_on_guid_change()
276 port_num, in mlx4_ib_notify_slaves_on_guid_change()