Searched refs:MLX4_MAX_PORTS (Results 1 – 13 of 13) sorted by relevance
84 MLX4_MAX_PORTS = 2, enumerator517 u32 gid_phys_table_len[MLX4_MAX_PORTS + 1];518 u32 pkey_phys_table_len[MLX4_MAX_PORTS + 1];537 int vl_cap[MLX4_MAX_PORTS + 1];538 int ib_mtu_cap[MLX4_MAX_PORTS + 1];539 __be32 ib_port_def_cap[MLX4_MAX_PORTS + 1];540 u64 def_mac[MLX4_MAX_PORTS + 1];541 int eth_mtu_cap[MLX4_MAX_PORTS + 1];542 int gid_table_len[MLX4_MAX_PORTS + 1];543 int pkey_table_len[MLX4_MAX_PORTS + 1];[all …]
421 struct mlx4_sriov_alias_guid_port_rec_det ports_guid[MLX4_MAX_PORTS];490 struct mlx4_ib_demux_ctx demux[MLX4_MAX_PORTS];491 struct mlx4_ib_demux_pv_ctx *sqps[MLX4_MAX_PORTS];523 struct net_device *netdevs[MLX4_MAX_PORTS];524 atomic64_t mac[MLX4_MAX_PORTS];526 struct mlx4_port_gid_table gids[MLX4_MAX_PORTS];530 u8 virt2phys_pkey[MLX4_MFUNC_MAX][MLX4_MAX_PORTS][MLX4_MAX_PORT_PKEYS];531 u16 phys_pkey_cache[MLX4_MAX_PORTS][MLX4_MAX_PORT_PKEYS];595 struct ib_mad_agent *send_agent[MLX4_MAX_PORTS][2];596 struct ib_ah *sm_ah[MLX4_MAX_PORTS];[all …]
263 if (attr->port_num > MLX4_MAX_PORTS) in mlx4_ib_add_gid()339 if (attr->port_num > MLX4_MAX_PORTS) in mlx4_ib_del_gid()393 if (port_num > MLX4_MAX_PORTS) in mlx4_ib_gid_index_to_real_index()3222 for (i = 0; i < MLX4_MAX_PORTS; ++i) { in handle_bonded_port_state_event()
487 u16 user_mtu[MLX4_MAX_PORTS + 1];488 u16 mtu[MLX4_MAX_PORTS + 1];489 __be32 ib_cap_mask[MLX4_MAX_PORTS + 1];491 struct list_head mcast_filters[MLX4_MAX_PORTS + 1];492 struct mlx4_vlan_fltr *vlan_filter[MLX4_MAX_PORTS + 1];501 enum slave_port_state port_state[MLX4_MAX_PORTS + 1];520 struct mlx4_vport_state vport[MLX4_MAX_PORTS + 1];521 u8 enable_smi[MLX4_MAX_PORTS + 1];531 struct mlx4_vport_oper_state vport[MLX4_MAX_PORTS + 1];532 u8 smi_enabled[MLX4_MAX_PORTS + 1];[all …]
132 struct mlx4_port_cap port_cap[MLX4_MAX_PORTS + 1];133 bool wol_port[MLX4_MAX_PORTS + 1];
411 struct mlx4_en_port_profile prof[MLX4_MAX_PORTS + 1];418 struct net_device *pndev[MLX4_MAX_PORTS + 1];419 struct net_device *upper[MLX4_MAX_PORTS + 1];431 u8 mac_removed[MLX4_MAX_PORTS + 1];
98 enum mlx4_port_type stype[MLX4_MAX_PORTS]; in mlx4_sense_port()
175 enum mlx4_port_type port_type[MLX4_MAX_PORTS + 1];474 if (dev_cap->num_ports > MLX4_MAX_PORTS) { in mlx4_dev_cap()476 dev_cap->num_ports, MLX4_MAX_PORTS); in mlx4_dev_cap()1014 if (dev->caps.num_ports > MLX4_MAX_PORTS) { in mlx4_slave_cap()1016 dev->caps.num_ports, MLX4_MAX_PORTS); in mlx4_slave_cap()1182 enum mlx4_port_type types[MLX4_MAX_PORTS]; in __set_port_type()1183 enum mlx4_port_type new_types[MLX4_MAX_PORTS]; in __set_port_type()1524 if ((port1 < 1) || (port1 > MLX4_MAX_PORTS) || in mlx4_port_map_set()1525 (port2 < 1) || (port2 > MLX4_MAX_PORTS) || in mlx4_port_map_set()3703 int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in __mlx4_init_one()[all …]
165 for (i = 1; i <= MLX4_MAX_PORTS; i++) { in mlx4_en_get_profile()
2414 for (port = 1; port <= MLX4_MAX_PORTS; port++) { in mlx4_multi_func_init()2485 for (port = 1; port <= MLX4_MAX_PORTS; port++) in mlx4_multi_func_init()2595 for (port = 1; port <= MLX4_MAX_PORTS; port++) in mlx4_multi_func_cleanup()2778 bitmap_zero(actv_ports.ports, MLX4_MAX_PORTS); in mlx4_get_active_ports()3383 port < 1 || port > MLX4_MAX_PORTS) in mlx4_vf_smi_enabled()3399 port < 1 || port > MLX4_MAX_PORTS) in mlx4_vf_get_enable_smi_admin()3422 port < 1 || port > MLX4_MAX_PORTS || in mlx4_vf_set_enable_smi_admin()
478 (MLX4_PF_COUNTERS_PER_PORT * MLX4_MAX_PORTS)) in get_max_gauranteed_vfs_counter()479 / MLX4_MAX_PORTS; in get_max_gauranteed_vfs_counter()518 kcalloc(MLX4_MAX_PORTS * in mlx4_init_resource_tracker()584 for (j = 0; j < MLX4_MAX_PORTS; j++) in mlx4_init_resource_tracker()596 for (j = 0; j < MLX4_MAX_PORTS; j++) in mlx4_init_resource_tracker()609 MLX4_MAX_PORTS; in mlx4_init_resource_tracker()613 MLX4_MAX_PORTS; in mlx4_init_resource_tracker()
864 8 * mlx4_master_func_num(dev) + MLX4_MAX_PORTS + k; in mlx4_init_qp_table()
1526 if (mdev->mac_removed[MLX4_MAX_PORTS + 1 - priv->port]) { in mlx4_en_do_get_stats()1528 mdev->mac_removed[MLX4_MAX_PORTS + 1 - priv->port] = 0; in mlx4_en_do_get_stats()