MLX4_MFUNC_MAX
wc->src_qp >= dev->dev->phys_caps.base_proxy_sqpn + 8 * MLX4_MFUNC_MAX ||
for (j = 0; j < MLX4_MFUNC_MAX; j++) {
u8 virt2phys_pkey[MLX4_MFUNC_MAX][MLX4_MAX_PORTS][MLX4_MAX_PORT_PKEYS];
struct list_head pkey_port_list[MLX4_MFUNC_MAX];
struct kobject *device_parent[MLX4_MFUNC_MAX];
struct kobject *dev_ports_parent[MLX4_MFUNC_MAX];
8 * MLX4_MFUNC_MAX;
bitmap_zero(slaves_pport.slaves, MLX4_MFUNC_MAX);
bitmap_zero(slaves_pport.slaves, MLX4_MFUNC_MAX);
if (qpn >= dev->phys_caps.base_tunnel_sqpn + 8 * MLX4_MFUNC_MAX ||
MLX4_MFUNC_MAX))
struct mutex gen_eqe_mutex[MLX4_MFUNC_MAX];
u8 virt2phys_pkey[MLX4_MFUNC_MAX][MLX4_MAX_PORTS][MLX4_MAX_PORT_PKEYS];
__be64 slave_node_guids[MLX4_MFUNC_MAX];
dev->phys_caps.base_tunnel_sqpn = dev->phys_caps.base_sqpn + 8 + 8 * MLX4_MFUNC_MAX;
dev->caps.spec_qps[k].qp0_tunnel = dev->caps.spec_qps[k].qp0_proxy + 8 * MLX4_MFUNC_MAX;
dev->caps.spec_qps[k].qp1_tunnel = dev->caps.spec_qps[k].qp1_proxy + 8 * MLX4_MFUNC_MAX;
16 * MLX4_MFUNC_MAX * !!mlx4_is_master(dev);
16 * MLX4_MFUNC_MAX * !!mlx4_is_master(dev) &&
DECLARE_BITMAP(slaves, MLX4_MFUNC_MAX);