Searched refs:tprops (Results 1 – 2 of 2) sorted by relevance
52 struct ib_port_attr *tprops = NULL; in mthca_update_rate() local55 tprops = kmalloc_obj(*tprops); in mthca_update_rate()56 if (!tprops) in mthca_update_rate()59 ret = ib_query_port(&dev->ib_dev, port_num, tprops); in mthca_update_rate()67 dev->rate[port_num - 1] = tprops->active_speed * in mthca_update_rate()68 ib_width_enum_to_int(tprops->active_width); in mthca_update_rate()71 kfree(tprops); in mthca_update_rate()
1405 u32 port, struct ib_port_attr *tprops) in config_non_roce_gid_cache() argument1417 for (i = 0; i < tprops->gid_tbl_len; ++i) { in config_non_roce_gid_cache()1439 tprops->subnet_prefix = in config_non_roce_gid_cache()1452 struct ib_port_attr *tprops = NULL; in ib_cache_update() local1461 tprops = kmalloc_obj(*tprops); in ib_cache_update()1462 if (!tprops) in ib_cache_update()1465 ret = ib_query_port(device, port, tprops); in ib_cache_update()1473 tprops); in ib_cache_update()1478 update_pkeys &= !!tprops->pkey_tbl_len; in ib_cache_update()1482 tprops->pkey_tbl_len); in ib_cache_update()[all …]