Searched refs:mpt_entry (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/ |
A D | mr.c | 313 **mpt_entry = mlx4_table_find( in mlx4_mr_hw_get_mpt() 331 if (!(*mpt_entry) || !(**mpt_entry)) { in mlx4_mr_hw_get_mpt() 345 struct mlx4_mpt_entry **mpt_entry) in mlx4_mr_hw_write_mpt() argument 366 (*mpt_entry)->lkey = 0; in mlx4_mr_hw_write_mpt() 379 struct mlx4_mpt_entry **mpt_entry) in mlx4_mr_hw_put_mpt() argument 606 mpt_entry->mtt_addr = 0; in mlx4_mr_rereg_mem_write() 630 struct mlx4_mpt_entry *mpt_entry; in mlx4_mr_enable() local 642 mpt_entry = mailbox->buf; in mlx4_mr_enable() 655 mpt_entry->mtt_addr = 0; in mlx4_mr_enable() 841 struct mlx4_mpt_entry *mpt_entry; in mlx4_mw_enable() local [all …]
|
A D | resource_tracker.c | 2895 struct mlx4_mpt_entry *mpt_entry = mlx4_table_find( in mlx4_QUERY_MPT_wrapper() local 2899 if (NULL == mpt_entry || NULL == outbox->buf) { in mlx4_QUERY_MPT_wrapper() 2904 memcpy(outbox->buf, mpt_entry, sizeof(*mpt_entry)); in mlx4_QUERY_MPT_wrapper()
|
/linux-6.3-rc2/drivers/infiniband/hw/mthca/ |
A D | mthca_mr.c | 431 struct mthca_mpt_entry *mpt_entry; in mthca_mr_alloc() local 455 mpt_entry = mailbox->buf; in mthca_mr_alloc() 457 mpt_entry->flags = cpu_to_be32(MTHCA_MPT_FLAG_SW_OWNS | in mthca_mr_alloc() 462 mpt_entry->flags |= cpu_to_be32(MTHCA_MPT_FLAG_PHYSICAL); in mthca_mr_alloc() 465 mpt_entry->key = cpu_to_be32(key); in mthca_mr_alloc() 466 mpt_entry->pd = cpu_to_be32(pd); in mthca_mr_alloc() 467 mpt_entry->start = cpu_to_be64(iova); in mthca_mr_alloc() 468 mpt_entry->length = cpu_to_be64(total_size); in mthca_mr_alloc() 470 memset_startat(mpt_entry, 0, lkey); in mthca_mr_alloc() 473 mpt_entry->mtt_seg = in mthca_mr_alloc() [all …]
|
/linux-6.3-rc2/drivers/infiniband/hw/hns/ |
A D | hns_roce_hw_v2.c | 3325 mpt_entry = mb_buf; in hns_roce_v2_write_mtpt() 3326 memset(mpt_entry, 0, sizeof(*mpt_entry)); in hns_roce_v2_write_mtpt() 3349 hr_reg_enable(mpt_entry, MPT_PA); in hns_roce_v2_write_mtpt() 3407 mpt_entry = mb_buf; in hns_roce_v2_frmr_write_mtpt() 3408 memset(mpt_entry, 0, sizeof(*mpt_entry)); in hns_roce_v2_frmr_write_mtpt() 3421 hr_reg_enable(mpt_entry, MPT_FRE); in hns_roce_v2_frmr_write_mtpt() 3424 hr_reg_clear(mpt_entry, MPT_PA); in hns_roce_v2_frmr_write_mtpt() 3444 mpt_entry = mb_buf; in hns_roce_v2_mw_write_mtpt() 3445 memset(mpt_entry, 0, sizeof(*mpt_entry)); in hns_roce_v2_mw_write_mtpt() 3455 hr_reg_clear(mpt_entry, MPT_PA); in hns_roce_v2_mw_write_mtpt() [all …]
|
/linux-6.3-rc2/include/linux/mlx4/ |
A D | device.h | 1508 struct mlx4_mpt_entry ***mpt_entry); 1510 struct mlx4_mpt_entry **mpt_entry); 1511 int mlx4_mr_hw_change_pd(struct mlx4_dev *dev, struct mlx4_mpt_entry *mpt_entry, 1514 struct mlx4_mpt_entry *mpt_entry, 1517 struct mlx4_mpt_entry **mpt_entry); 1521 int page_shift, struct mlx4_mpt_entry *mpt_entry);
|
/linux-6.3-rc2/drivers/infiniband/hw/mlx4/ |
A D | mr.c | 465 struct mlx4_mpt_entry *mpt_entry; in mlx4_ib_rereg_user_mr() local 466 struct mlx4_mpt_entry **pmpt_entry = &mpt_entry; in mlx4_ib_rereg_user_mr()
|
Completed in 37 milliseconds