Lines Matching refs:port
55 int ignore_bkey, u32 port, const struct ib_wc *in_wc,
61 if (!can_do_mad_ifc(dev, port, (struct ib_mad *)in_mad))
73 port);
183 /* Fail to get the native port, likely due to 2nd port is still
184 * unaffiliated. In such case default to 1st port and attached
192 /* set local port to one for Function-Per-Port HCA. */
309 int mlx5_query_ext_port_caps(struct mlx5_ib_dev *dev, unsigned int port)
323 in_mad->attr_mod = cpu_to_be32(port);
329 dev->port_caps[port - 1].ext_port_cap = (!err && !packet_error) ?
474 int mlx5_query_mad_ifc_pkey(struct ib_device *ibdev, u32 port, u16 index,
490 err = mlx5_MAD_IFC(to_mdev(ibdev), 1, 1, port, NULL, NULL, in_mad,
503 int mlx5_query_mad_ifc_gids(struct ib_device *ibdev, u32 port, int index,
517 in_mad->attr_mod = cpu_to_be32(port);
519 err = mlx5_MAD_IFC(to_mdev(ibdev), 1, 1, port, NULL, NULL, in_mad,
530 err = mlx5_MAD_IFC(to_mdev(ibdev), 1, 1, port, NULL, NULL, in_mad,
543 int mlx5_query_mad_ifc_port(struct ib_device *ibdev, u32 port,
562 in_mad->attr_mod = cpu_to_be32(port);
564 err = mlx5_MAD_IFC(dev, 1, 1, port, NULL, NULL, in_mad, out_mad);
624 if (dev->port_caps[port - 1].ext_port_cap &
628 in_mad->attr_mod = cpu_to_be32(port);
630 err = mlx5_MAD_IFC(dev, 1, 1, port,