Home
last modified time | relevance | path

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

/linux-6.1.9/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()
753 struct ib_port *port = container_of(kobj, struct ib_port, kobj); in ib_port_release()
994 alloc_hw_stats_port(struct ib_port *port, struct attribute_group *group) in alloc_hw_stats_port()
[all …]
/linux-6.1.9/net/smc/
Dsmc_pnet.c71 u8 ib_port; member
247 static bool smc_pnet_apply_ib(struct smc_ib_device *ib_dev, u8 ib_port, in smc_pnet_apply_ib() argument
253 if (!smc_pnet_is_pnetid_set(ib_dev->pnetid[ib_port - 1])) { in smc_pnet_apply_ib()
254 memcpy(ib_dev->pnetid[ib_port - 1], pnet_name, in smc_pnet_apply_ib()
256 ib_dev->pnetid_by_user[ib_port - 1] = true; in smc_pnet_apply_ib()
408 u8 ib_port, char *pnet_name) in smc_pnet_add_ib() argument
420 ibdev_applied = smc_pnet_apply_ib(ib_dev, ib_port, pnet_name); in smc_pnet_add_ib()
425 ib_port, in smc_pnet_add_ib()
426 ib_dev->pnetid[ib_port - 1]); in smc_pnet_add_ib()
450 new_pe->ib_port = ib_port; in smc_pnet_add_ib()
[all …]
Dsmc_pnet.h63 int smc_pnetid_by_table_ib(struct smc_ib_device *smcibdev, u8 ib_port);
Dsmc_core.h384 u8 ib_port; member
Dsmc_llc.c1062 ini->ib_port = link->ibport; in smc_llc_cli_add_link()
1174 smc_llc_send_add_link(link, ini->ib_dev->mac[ini->ib_port - 1], in smc_llc_cli_add_link_invite()
1430 ini->ib_port = link->ibport; in smc_llc_srv_add_link()
Dsmc_clc.c865 memcpy(pclc_base->lcl.mac, &ini->ib_dev->mac[ini->ib_port - 1], in smc_clc_send_proposal()
Dsmc_core.c749 lnk->ibport = ini->ib_port; in smcr_link_init()
895 ibport = ini->ib_port; in smc_lgr_create()
/linux-6.1.9/include/rdma/
Dib_verbs.h53 struct ib_port;
2208 struct ib_port *sysfs;
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c4986 u8 ib_port; in hns_roce_v2_set_path() local
5002 ib_port = (attr_mask & IB_QP_PORT) ? attr->port_num : hr_qp->port + 1; in hns_roce_v2_set_path()
5003 hr_port = ib_port - 1; in hns_roce_v2_set_path()
5004 is_roce_protocol = rdma_cap_eth_ah(&hr_dev->ib_dev, ib_port) && in hns_roce_v2_set_path()
/linux-6.1.9/include/linux/mlx5/
Dmlx5_ifc.h9661 u8 ib_port[0x8]; member