Home
last modified time | relevance | path

Searched refs:hca (Results 1 – 5 of 5) sorted by relevance

/drivers/infiniband/ulp/ipoib/
Dipoib_main.c1504 int ipoib_set_dev_features(struct ipoib_dev_priv *priv, struct ib_device *hca) in ipoib_set_dev_features() argument
1512 hca->name, sizeof *device_attr); in ipoib_set_dev_features()
1516 result = ib_query_device(hca, device_attr); in ipoib_set_dev_features()
1519 hca->name, result); in ipoib_set_dev_features()
1541 struct ib_device *hca, u8 port) in ipoib_add_port() argument
1551 SET_NETDEV_DEV(priv->dev, hca->dma_device); in ipoib_add_port()
1554 if (!ib_query_port(hca, port, &attr)) in ipoib_add_port()
1558 hca->name, port); in ipoib_add_port()
1568 result = ib_query_pkey(hca, port, 0, &priv->pkey); in ipoib_add_port()
1571 hca->name, port, result); in ipoib_add_port()
[all …]
Dipoib.h538 int ipoib_set_dev_features(struct ipoib_dev_priv *priv, struct ib_device *hca);
/drivers/infiniband/hw/mthca/
Dmthca_cmd.c1175 dev_lim->hca.arbel.resize_srq = field & 1; in mthca_QUERY_DEV_LIM()
1183 dev_lim->hca.arbel.max_pbl_sz = 1 << (field & 0x3f); in mthca_QUERY_DEV_LIM()
1184 MTHCA_GET(dev_lim->hca.arbel.bmme_flags, outbox, in mthca_QUERY_DEV_LIM()
1186 MTHCA_GET(dev_lim->hca.arbel.reserved_lkey, outbox, in mthca_QUERY_DEV_LIM()
1189 dev_lim->hca.arbel.lam_required = field & 1; in mthca_QUERY_DEV_LIM()
1190 MTHCA_GET(dev_lim->hca.arbel.max_icm_sz, outbox, in mthca_QUERY_DEV_LIM()
1193 if (dev_lim->hca.arbel.bmme_flags & 1) in mthca_QUERY_DEV_LIM()
1196 dev_lim->hca.arbel.bmme_flags, in mthca_QUERY_DEV_LIM()
1197 dev_lim->hca.arbel.max_pbl_sz, in mthca_QUERY_DEV_LIM()
1198 dev_lim->hca.arbel.reserved_lkey); in mthca_QUERY_DEV_LIM()
[all …]
Dmthca_cmd.h184 } hca; member
Dmthca_profile.c125 mem_avail = dev_lim->hca.arbel.max_icm_sz; in mthca_make_profile()