Home
last modified time | relevance | path

Searched refs:ib_port (Results 1 – 3 of 3) sorted by relevance

/drivers/infiniband/core/
Dsysfs.c57 struct ib_port *port;
64 struct ib_port { struct
110 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in port_attr_show()
124 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in port_attr_store()
134 struct ib_port *port = container_of(kobj, struct ib_port, kobj); in ib_port_sysfs_get_ibdev_kobj()
175 struct ib_port *port = ibdev->port_data[port_num].sysfs; in hw_stat_port_show()
188 struct ib_port *port = ibdev->port_data[port_num].sysfs; in hw_stat_port_store()
200 struct ib_port *p = container_of(kobj, struct gid_attr_group, in gid_attr_show()
752 struct ib_port *port = container_of(kobj, struct ib_port, kobj); in ib_port_release()
986 alloc_hw_stats_port(struct ib_port *port, struct attribute_group *group) in alloc_hw_stats_port()
[all …]
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c4666 u8 ib_port; in hns_roce_v2_set_path() local
4670 ib_port = (attr_mask & IB_QP_PORT) ? attr->port_num : hr_qp->port + 1; in hns_roce_v2_set_path()
4671 hr_port = ib_port - 1; in hns_roce_v2_set_path()
4672 is_roce_protocol = rdma_cap_eth_ah(&hr_dev->ib_dev, ib_port) && in hns_roce_v2_set_path()
/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h5433 MLXSW_ITEM32(reg, plib, ib_port, 0x00, 0, 8);