Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/infiniband/hw/mthca/
Dmthca_main.c236 mdev->limits.reserved_mtts = dev_lim->reserved_mtts; in mthca_dev_lim()
469 mdev->limits.reserved_mtts = ALIGN(mdev->limits.reserved_mtts * mdev->limits.mtt_seg_size, in mthca_init_icm()
475 mdev->limits.reserved_mtts, in mthca_init_icm()
Dmthca_cmd.h135 int reserved_mtts; member
Dmthca_mr.c942 if (dev->limits.reserved_mtts) { in mthca_init_mr_table()
943 i = fls(dev->limits.reserved_mtts - 1); in mthca_init_mr_table()
Dmthca_dev.h164 int reserved_mtts; member
Dmthca_cmd.c1062 dev_lim->reserved_mtts = ALIGN((1 << (field >> 4)) * sizeof(u64), in mthca_QUERY_DEV_LIM()
1065 dev_lim->reserved_mtts = 1 << (field >> 4); in mthca_QUERY_DEV_LIM()
1191 dev_lim->reserved_mrws, dev_lim->reserved_mtts); in mthca_QUERY_DEV_LIM()
/linux-2.6.39/drivers/net/mlx4/
Dfw.h59 int reserved_mtts; member
Dmain.c217 dev->caps.reserved_mtts = DIV_ROUND_UP(dev_cap->reserved_mtts, in mlx4_dev_cap()
555 dev->caps.reserved_mtts = in mlx4_init_icm()
556 ALIGN(dev->caps.reserved_mtts * dev->caps.mtt_entry_sz, in mlx4_init_icm()
563 dev->caps.reserved_mtts, 1, 0); in mlx4_init_icm()
Dmr.c477 if (dev->caps.reserved_mtts) { in mlx4_init_mr_table()
478 if (mlx4_alloc_mtt_range(dev, fls(dev->caps.reserved_mtts - 1)) == -1) { in mlx4_init_mr_table()
Dfw.c247 dev_cap->reserved_mtts = 1 << (field >> 4); in mlx4_QUERY_DEV_CAP()
437 dev_cap->reserved_mrws, dev_cap->reserved_mtts); in mlx4_QUERY_DEV_CAP()
/linux-2.6.39/include/linux/mlx4/
Ddevice.h244 int reserved_mtts; member