Home
last modified time | relevance | path

Searched refs:gen_or_port (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
Dfw.h233 int mlx4_QUERY_FUNC_CAP(struct mlx4_dev *dev, u8 gen_or_port,
Dfw.c539 int mlx4_QUERY_FUNC_CAP(struct mlx4_dev *dev, u8 gen_or_port, in mlx4_QUERY_FUNC_CAP() argument
550 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()