Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_mr.c300 struct mlx4_mpt_entry ***mpt_entry) in mlx4_mr_hw_get_mpt() argument
319 **mpt_entry = mlx4_table_find( in mlx4_mr_hw_get_mpt()
334 *mpt_entry = (struct mlx4_mpt_entry **)&mailbox->buf; in mlx4_mr_hw_get_mpt()
337 if (!(*mpt_entry) || !(**mpt_entry)) { in mlx4_mr_hw_get_mpt()
351 struct mlx4_mpt_entry **mpt_entry) in mlx4_mr_hw_write_mpt() argument
359 *(u8 *)(*mpt_entry) = MLX4_MPT_STATUS_HW; in mlx4_mr_hw_write_mpt()
369 container_of((void *)mpt_entry, struct mlx4_cmd_mailbox, in mlx4_mr_hw_write_mpt()
376 mmr->pd = be32_to_cpu((*mpt_entry)->pd_flags) & MLX4_MPT_PD_MASK; in mlx4_mr_hw_write_mpt()
384 struct mlx4_mpt_entry **mpt_entry) in mlx4_mr_hw_put_mpt() argument
388 container_of((void *)mpt_entry, struct mlx4_cmd_mailbox, in mlx4_mr_hw_put_mpt()
[all …]
H A Dmlx4_resource_tracker.c2841 struct mlx4_mpt_entry *mpt_entry = mlx4_table_find( in mlx4_QUERY_MPT_wrapper() local
2845 if (NULL == mpt_entry || NULL == outbox->buf) { in mlx4_QUERY_MPT_wrapper()
2850 memcpy(outbox->buf, mpt_entry, sizeof(*mpt_entry)); in mlx4_QUERY_MPT_wrapper()
/freebsd/sys/dev/mthca/
H A Dmthca_mr.c433 struct mthca_mpt_entry *mpt_entry; in mthca_mr_alloc() local
457 mpt_entry = mailbox->buf; in mthca_mr_alloc()
459 mpt_entry->flags = cpu_to_be32(MTHCA_MPT_FLAG_SW_OWNS | in mthca_mr_alloc()
464 mpt_entry->flags |= cpu_to_be32(MTHCA_MPT_FLAG_PHYSICAL); in mthca_mr_alloc()
466 mpt_entry->page_size = cpu_to_be32(buffer_size_shift - 12); in mthca_mr_alloc()
467 mpt_entry->key = cpu_to_be32(key); in mthca_mr_alloc()
468 mpt_entry->pd = cpu_to_be32(pd); in mthca_mr_alloc()
469 mpt_entry->start = cpu_to_be64(iova); in mthca_mr_alloc()
470 mpt_entry->length = cpu_to_be64(total_size); in mthca_mr_alloc()
472 memset(&mpt_entry->lkey, 0, in mthca_mr_alloc()
[all …]
/freebsd/sys/dev/mlx4/
H A Ddevice.h1506 struct mlx4_mpt_entry ***mpt_entry);
1508 struct mlx4_mpt_entry **mpt_entry);
1509 int mlx4_mr_hw_change_pd(struct mlx4_dev *dev, struct mlx4_mpt_entry *mpt_entry,
1512 struct mlx4_mpt_entry *mpt_entry,
1515 struct mlx4_mpt_entry **mpt_entry);
1519 int page_shift, struct mlx4_mpt_entry *mpt_entry);
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mr.c199 struct mlx4_mpt_entry *mpt_entry; in mlx4_ib_rereg_user_mr() local
200 struct mlx4_mpt_entry **pmpt_entry = &mpt_entry; in mlx4_ib_rereg_user_mr()