Searched refs:gen_or_port (Results 1 – 2 of 2) sorted by relevance
233 int mlx4_QUERY_FUNC_CAP(struct mlx4_dev *dev, u8 gen_or_port,
539 int mlx4_QUERY_FUNC_CAP(struct mlx4_dev *dev, u8 gen_or_port, in mlx4_QUERY_FUNC_CAP() argument550 op_modifier = !!gen_or_port; /* 0 = general, 1 = logical port */ in mlx4_QUERY_FUNC_CAP()553 in_modifier = op_modifier ? gen_or_port : slave_caps; in mlx4_QUERY_FUNC_CAP()651 if (gen_or_port > dev->caps.num_ports) { in mlx4_QUERY_FUNC_CAP()657 if (dev->caps.port_type[gen_or_port] == MLX4_PORT_TYPE_ETH) { in mlx4_QUERY_FUNC_CAP()669 } else if (dev->caps.port_type[gen_or_port] == MLX4_PORT_TYPE_IB) { in mlx4_QUERY_FUNC_CAP()680 if (func_cap->physical_port != gen_or_port) { in mlx4_QUERY_FUNC_CAP()