src/dpdk/drivers/common/mlx5/linux/mlx5_common_verbs.c
void
mlx5_common_verbs_dereg_mr(struct mlx5_pmd_mr *pmd_mr)
{
	if (pmd_mr && pmd_mr->obj != NULL) {
		claim_zero(mlx5_glue->dereg_mr(pmd_mr->obj));
		memset(pmd_mr, 0, sizeof(*pmd_mr));
	}
}
/**
 * Deregister mr. Given the mlx5 pmd MR - deregister the MR
 *
 * @param[in] pmd_mr
 *   pmd_mr struct set with lkey, address, length and pointer to mr object
 *
 */
Deregister mr. Given the mlx5 pmd MR - deregister the MR
@param[in] pmd_mr
pmd_mr struct set with lkey, address, length and pointer to mr object
Deregister mr . Given the mlx5 pmd MR - deregister the MR @param [ in ] pmd_mr pmd_mr struct set with lkey address length and pointer to mr object
void
mlx5_common_verbs_dereg_mr(struct mlx5_pmd_mr *pmd_mr)
{
	if (pmd_mr && pmd_mr->obj != NULL) {
		claim_zero(mlx5_glue->dereg_mr(pmd_mr->obj));
		memset(pmd_mr, 0, sizeof(*pmd_mr));
	}
}
void mlx5_common_verbs_dereg_mr ( struct mlx5_pmd_mr * pmd_mr ) { if ( pmd_mr && pmd_mr -> obj != NULL ) { claim_zero ( mlx5_glue -> dereg_mr ( pmd_mr -> obj ) ) ; memset ( pmd_mr , 0 , sizeof ( * pmd_mr ) ) ; } }
Deregister mr.
Deregister mr .