Lines Matching refs:tprops
1432 u32 port, struct ib_port_attr *tprops) in config_non_roce_gid_cache() argument
1444 for (i = 0; i < tprops->gid_tbl_len; ++i) { in config_non_roce_gid_cache()
1455 tprops->subnet_prefix = in config_non_roce_gid_cache()
1468 struct ib_port_attr *tprops = NULL; in ib_cache_update() local
1477 tprops = kmalloc(sizeof *tprops, GFP_KERNEL); in ib_cache_update()
1478 if (!tprops) in ib_cache_update()
1481 ret = ib_query_port(device, port, tprops); in ib_cache_update()
1489 tprops); in ib_cache_update()
1494 update_pkeys &= !!tprops->pkey_tbl_len; in ib_cache_update()
1498 tprops->pkey_tbl_len), in ib_cache_update()
1505 pkey_cache->table_len = tprops->pkey_tbl_len; in ib_cache_update()
1525 device->port_data[port].cache.lmc = tprops->lmc; in ib_cache_update()
1526 device->port_data[port].cache.port_state = tprops->state; in ib_cache_update()
1528 device->port_data[port].cache.subnet_prefix = tprops->subnet_prefix; in ib_cache_update()
1534 tprops->subnet_prefix); in ib_cache_update()
1537 kfree(tprops); in ib_cache_update()
1542 kfree(tprops); in ib_cache_update()