MLX4_MAX_PORTS    270 drivers/infiniband/hw/mlx4/main.c 	if (attr->port_num > MLX4_MAX_PORTS)
MLX4_MAX_PORTS    354 drivers/infiniband/hw/mlx4/main.c 	if (attr->port_num > MLX4_MAX_PORTS)
MLX4_MAX_PORTS    405 drivers/infiniband/hw/mlx4/main.c 	if (port_num > MLX4_MAX_PORTS)
MLX4_MAX_PORTS   3175 drivers/infiniband/hw/mlx4/main.c 	for (i = 0; i < MLX4_MAX_PORTS; ++i) {
MLX4_MAX_PORTS    416 drivers/infiniband/hw/mlx4/mlx4_ib.h 	struct mlx4_sriov_alias_guid_port_rec_det ports_guid[MLX4_MAX_PORTS];
MLX4_MAX_PORTS    485 drivers/infiniband/hw/mlx4/mlx4_ib.h 	struct mlx4_ib_demux_ctx demux[MLX4_MAX_PORTS];
MLX4_MAX_PORTS    486 drivers/infiniband/hw/mlx4/mlx4_ib.h 	struct mlx4_ib_demux_pv_ctx *sqps[MLX4_MAX_PORTS];
MLX4_MAX_PORTS    519 drivers/infiniband/hw/mlx4/mlx4_ib.h 	struct net_device      *netdevs[MLX4_MAX_PORTS];
MLX4_MAX_PORTS    520 drivers/infiniband/hw/mlx4/mlx4_ib.h 	atomic64_t		mac[MLX4_MAX_PORTS];
MLX4_MAX_PORTS    522 drivers/infiniband/hw/mlx4/mlx4_ib.h 	struct mlx4_port_gid_table gids[MLX4_MAX_PORTS];
MLX4_MAX_PORTS    523 drivers/infiniband/hw/mlx4/mlx4_ib.h 	enum ib_port_state	last_port_state[MLX4_MAX_PORTS];
MLX4_MAX_PORTS    527 drivers/infiniband/hw/mlx4/mlx4_ib.h 	u8			virt2phys_pkey[MLX4_MFUNC_MAX][MLX4_MAX_PORTS][MLX4_MAX_PORT_PKEYS];
MLX4_MAX_PORTS    528 drivers/infiniband/hw/mlx4/mlx4_ib.h 	u16			phys_pkey_cache[MLX4_MAX_PORTS][MLX4_MAX_PORT_PKEYS];
MLX4_MAX_PORTS    592 drivers/infiniband/hw/mlx4/mlx4_ib.h 	struct ib_mad_agent    *send_agent[MLX4_MAX_PORTS][2];
MLX4_MAX_PORTS    593 drivers/infiniband/hw/mlx4/mlx4_ib.h 	struct ib_ah	       *sm_ah[MLX4_MAX_PORTS];
MLX4_MAX_PORTS    595 drivers/infiniband/hw/mlx4/mlx4_ib.h 	atomic64_t		sl2vl[MLX4_MAX_PORTS];
MLX4_MAX_PORTS    601 drivers/infiniband/hw/mlx4/mlx4_ib.h 	struct mlx4_ib_counters counters_table[MLX4_MAX_PORTS];
MLX4_MAX_PORTS    606 drivers/infiniband/hw/mlx4/mlx4_ib.h 	struct mlx4_ib_iov_port	iov_ports[MLX4_MAX_PORTS];
MLX4_MAX_PORTS    612 drivers/infiniband/hw/mlx4/mlx4_ib.h 	struct mlx4_ib_qp      *qp1_proxy[MLX4_MAX_PORTS];
MLX4_MAX_PORTS    614 drivers/infiniband/hw/mlx4/mlx4_ib.h 	struct mutex		qp1_proxy_lock[MLX4_MAX_PORTS];
MLX4_MAX_PORTS   2405 drivers/net/ethernet/mellanox/mlx4/cmd.c 			for (port = 1; port <= MLX4_MAX_PORTS; port++) {
MLX4_MAX_PORTS   2476 drivers/net/ethernet/mellanox/mlx4/cmd.c 		for (port = 1; port <= MLX4_MAX_PORTS; port++)
MLX4_MAX_PORTS   2582 drivers/net/ethernet/mellanox/mlx4/cmd.c 			for (port = 1; port <= MLX4_MAX_PORTS; port++)
MLX4_MAX_PORTS   2774 drivers/net/ethernet/mellanox/mlx4/cmd.c 	bitmap_zero(actv_ports.ports, MLX4_MAX_PORTS);
MLX4_MAX_PORTS   3379 drivers/net/ethernet/mellanox/mlx4/cmd.c 	    port < 1 || port > MLX4_MAX_PORTS)
MLX4_MAX_PORTS   3395 drivers/net/ethernet/mellanox/mlx4/cmd.c 	    port < 1 || port > MLX4_MAX_PORTS)
MLX4_MAX_PORTS   3418 drivers/net/ethernet/mellanox/mlx4/cmd.c 	    port < 1 || port > MLX4_MAX_PORTS ||
MLX4_MAX_PORTS    165 drivers/net/ethernet/mellanox/mlx4/en_main.c 	for (i = 1; i <= MLX4_MAX_PORTS; i++) {
MLX4_MAX_PORTS   1534 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (mdev->mac_removed[MLX4_MAX_PORTS + 1 - priv->port]) {
MLX4_MAX_PORTS   1536 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		mdev->mac_removed[MLX4_MAX_PORTS + 1 - priv->port] = 0;
MLX4_MAX_PORTS    132 drivers/net/ethernet/mellanox/mlx4/fw.h 	struct mlx4_port_cap port_cap[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    133 drivers/net/ethernet/mellanox/mlx4/fw.h 	bool wol_port[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    175 drivers/net/ethernet/mellanox/mlx4/main.c 	enum mlx4_port_type port_type[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    474 drivers/net/ethernet/mellanox/mlx4/main.c 	if (dev_cap->num_ports > MLX4_MAX_PORTS) {
MLX4_MAX_PORTS    476 drivers/net/ethernet/mellanox/mlx4/main.c 			 dev_cap->num_ports, MLX4_MAX_PORTS);
MLX4_MAX_PORTS   1013 drivers/net/ethernet/mellanox/mlx4/main.c 	if (dev->caps.num_ports > MLX4_MAX_PORTS) {
MLX4_MAX_PORTS   1015 drivers/net/ethernet/mellanox/mlx4/main.c 			 dev->caps.num_ports, MLX4_MAX_PORTS);
MLX4_MAX_PORTS   1181 drivers/net/ethernet/mellanox/mlx4/main.c 	enum mlx4_port_type types[MLX4_MAX_PORTS];
MLX4_MAX_PORTS   1182 drivers/net/ethernet/mellanox/mlx4/main.c 	enum mlx4_port_type new_types[MLX4_MAX_PORTS];
MLX4_MAX_PORTS   1522 drivers/net/ethernet/mellanox/mlx4/main.c 	if ((port1 < 1) || (port1 > MLX4_MAX_PORTS) ||
MLX4_MAX_PORTS   1523 drivers/net/ethernet/mellanox/mlx4/main.c 	    (port2 < 1) || (port2 > MLX4_MAX_PORTS) ||
MLX4_MAX_PORTS   3715 drivers/net/ethernet/mellanox/mlx4/main.c 	int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0};
MLX4_MAX_PORTS   3716 drivers/net/ethernet/mellanox/mlx4/main.c 	int prb_vf[MLX4_MAX_PORTS + 1] = {0, 0, 0};
MLX4_MAX_PORTS   3717 drivers/net/ethernet/mellanox/mlx4/main.c 	const int param_map[MLX4_MAX_PORTS + 1][MLX4_MAX_PORTS + 1] = {
MLX4_MAX_PORTS   3760 drivers/net/ethernet/mellanox/mlx4/main.c 	for (i = 0; i < MLX4_MAX_PORTS; i++) {
MLX4_MAX_PORTS   4198 drivers/net/ethernet/mellanox/mlx4/main.c 	int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0};
MLX4_MAX_PORTS   4325 drivers/net/ethernet/mellanox/mlx4/main.c 	int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0};
MLX4_MAX_PORTS   4390 drivers/net/ethernet/mellanox/mlx4/main.c 	int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0};
MLX4_MAX_PORTS    487 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	u16 user_mtu[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    488 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	u16 mtu[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    489 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	__be32 ib_cap_mask[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    491 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	struct list_head mcast_filters[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    492 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	struct mlx4_vlan_fltr *vlan_filter[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    501 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	enum slave_port_state port_state[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    520 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	struct mlx4_vport_state vport[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    521 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	u8 enable_smi[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    531 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	struct mlx4_vport_oper_state vport[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    532 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	u8 smi_enabled[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    544 drivers/net/ethernet/mellanox/mlx4/mlx4.h 		unsigned int res_port_rsvd[MLX4_MAX_PORTS];
MLX4_MAX_PORTS    548 drivers/net/ethernet/mellanox/mlx4/mlx4.h 		int res_port_free[MLX4_MAX_PORTS];
MLX4_MAX_PORTS    588 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	struct mlx4_master_qp0_state qp0_state[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    589 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	int			init_port_ref[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    590 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	u16			max_mtu[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    591 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	u16			max_user_mtu[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    594 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	int			disable_mcast_ref[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    605 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	struct mlx4_qos_manager qos_ctl[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    849 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	u8			do_sense_port[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    850 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	u8			sense_allowed[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    901 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	int			def_counter[MLX4_MAX_PORTS];
MLX4_MAX_PORTS    909 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	struct mlx4_port_info	port[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    920 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	u8 virt2phys_pkey[MLX4_MFUNC_MAX][MLX4_MAX_PORTS][MLX4_MAX_PORT_PKEYS];
MLX4_MAX_PORTS    410 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h 	struct mlx4_en_port_profile prof[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    417 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h 	struct net_device       *pndev[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    418 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h 	struct net_device       *upper[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    430 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h 	u8			mac_removed[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    864 drivers/net/ethernet/mellanox/mlx4/qp.c 				8 * mlx4_master_func_num(dev) + MLX4_MAX_PORTS + k;
MLX4_MAX_PORTS    536 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 				kcalloc(MLX4_MAX_PORTS *
MLX4_MAX_PORTS    602 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 					for (j = 0; j < MLX4_MAX_PORTS; j++)
MLX4_MAX_PORTS    614 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 					for (j = 0; j < MLX4_MAX_PORTS; j++)
MLX4_MAX_PORTS     98 drivers/net/ethernet/mellanox/mlx4/sense.c 	enum mlx4_port_type stype[MLX4_MAX_PORTS];
MLX4_MAX_PORTS    518 include/linux/mlx4/device.h 	u32			gid_phys_table_len[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    519 include/linux/mlx4/device.h 	u32			pkey_phys_table_len[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    538 include/linux/mlx4/device.h 	int			vl_cap[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    539 include/linux/mlx4/device.h 	int			ib_mtu_cap[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    540 include/linux/mlx4/device.h 	__be32			ib_port_def_cap[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    541 include/linux/mlx4/device.h 	u64			def_mac[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    542 include/linux/mlx4/device.h 	int			eth_mtu_cap[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    543 include/linux/mlx4/device.h 	int			gid_table_len[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    544 include/linux/mlx4/device.h 	int			pkey_table_len[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    545 include/linux/mlx4/device.h 	int			trans_type[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    546 include/linux/mlx4/device.h 	int			vendor_oui[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    547 include/linux/mlx4/device.h 	int			wavelength[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    548 include/linux/mlx4/device.h 	u64			trans_code[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    601 include/linux/mlx4/device.h 	u8			port_width_cap[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    609 include/linux/mlx4/device.h 	enum mlx4_port_type	port_type[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    610 include/linux/mlx4/device.h 	u8			supported_type[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    611 include/linux/mlx4/device.h 	u8                      suggested_type[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    612 include/linux/mlx4/device.h 	u8                      default_sense[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    613 include/linux/mlx4/device.h 	u32			port_mask[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    614 include/linux/mlx4/device.h 	enum mlx4_port_type	possible_type[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    616 include/linux/mlx4/device.h 	u8			port_ib_mtu[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    624 include/linux/mlx4/device.h 	u64			phys_port_id[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    626 include/linux/mlx4/device.h 	u8			rx_checksum_flags_port[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    627 include/linux/mlx4/device.h 	u8			phv_bit[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    632 include/linux/mlx4/device.h 	bool			wol_port[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    870 include/linux/mlx4/device.h 	int                     nvfs[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    872 include/linux/mlx4/device.h 	enum mlx4_port_type curr_port_type[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    873 include/linux/mlx4/device.h 	enum mlx4_port_type curr_port_poss_type[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    898 include/linux/mlx4/device.h 	u64			regid_promisc_array[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS    899 include/linux/mlx4/device.h 	u64			regid_allmulti_array[MLX4_MAX_PORTS + 1];
MLX4_MAX_PORTS   1489 include/linux/mlx4/device.h 	DECLARE_BITMAP(ports, MLX4_MAX_PORTS);