Home
last modified time | relevance | path

Searched refs:nummtt (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_fcoib.c238 uint_t nummtt; in hermon_fcoib_fexch_mkey_init() local
249 nummtt = fcoib->hfc_mtts_per_mpt; in hermon_fcoib_fexch_mkey_init()
250 mtt_addr = ((uint64_t)qp_indx * nummtt + fcoib->hfc_mtt_base[port]) << in hermon_fcoib_fexch_mkey_init()
254 nummtt, mtt_addr, sleep); in hermon_fcoib_fexch_mkey_init()
H A Dhermon_mr.c451 uint64_t nummtt; in hermon_mr_alloc_fmr() local
539 nummtt = hermon_mr_nummtt_needed(state, &bind, &mtt_pgsize_bits); in hermon_mr_alloc_fmr()
547 status = hermon_rsrc_alloc(state, HERMON_MTT, nummtt, sleep, &mtt); in hermon_mr_alloc_fmr()
574 mpt_entry.mtt_size = (uint_t)nummtt; in hermon_mr_alloc_fmr()
638 kmem_free(mtt, sizeof (hermon_rsrc_t) * nummtt); in hermon_mr_alloc_fmr()
2020 ibt_lkey_flags_t flags, uint_t nummtt, hermon_mrhdl_t *mrhdl) in hermon_mr_alloc_lkey() argument
2109 mpt_entry.mtt_size = nummtt; in hermon_mr_alloc_lkey()
2199 mpt_entry.mtt_size = nummtt; in hermon_mr_fexch_mpt_init()
2270 uint64_t nummtt; in hermon_mr_mtt_bind() local
2310 nummtt = hermon_mr_nummtt_needed(state, bind, mtt_pgsize_bits); in hermon_mr_mtt_bind()
[all …]
H A Dhermon_rsrc.c385 uint_t nummtt; in hermon_rsrc_fexch_alloc() local
434 nummtt = fcoib->hfc_mtts_per_mpt; in hermon_rsrc_fexch_alloc()
435 num *= nummtt; in hermon_rsrc_fexch_alloc()
441 nummtt; in hermon_rsrc_fexch_alloc()
H A Dhermon_cmd.c2582 uint64_t start_addr, uint_t nummtt, uint_t sleepflag) in hermon_write_mtt_cmd_post() argument
2613 for (i = 0; i < nummtt; i++) { in hermon_write_mtt_cmd_post()
2620 size = (nummtt << HERMON_MTT_SIZE_SHIFT) + HERMON_CMD_WRITEMTT_RSVD_SZ; in hermon_write_mtt_cmd_post()
2626 cmd.cp_inmod = nummtt; in hermon_write_mtt_cmd_post()
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_mr.h332 uint32_t mpt_indx, uint_t nummtt, uint64_t mtt_addr, uint_t sleep);
H A Dhermon_cmd.h783 uint64_t start_addr, uint_t nummtt, uint_t sleepflag);
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_mr.c1512 uint64_t nummtt; in tavor_mr_mtt_bind() local
1549 nummtt = tavor_mr_nummtt_needed(state, bind, mtt_pgsize_bits); in tavor_mr_mtt_bind()
1561 TAVOR_NUMMTT_TO_MTTSEG(nummtt), sleep, mtt); in tavor_mr_mtt_bind()