From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CE444A0C47; Tue, 6 Jul 2021 16:42:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AD3A8412F1; Tue, 6 Jul 2021 16:42:31 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id C9463412F1 for ; Tue, 6 Jul 2021 16:42:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625582549; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3q5WZ2UMvxKaE5JCN1HqkLQytHcUbhNORsFU3oBIVIQ=; b=ZZsSJMVZElaSaNOMlN0Sw903gSC4PeU9S3zRoV1c7vPOoZoqJAnm8JQk8236lgBwsc5EWD ejJdCyf9Ydpg9fJp9LsGzQnnvy2jz+lj1AA6sRps0ThQAbsImF4KC4b20MrCApgHzdBdCK Pj2aFkNBle8bteXfmGshbMbIkvk9M0Q= Received: from mail-vk1-f197.google.com (mail-vk1-f197.google.com [209.85.221.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-387-HmpZ-kjvPFGOHzcHhBkCDQ-1; Tue, 06 Jul 2021 10:42:25 -0400 X-MC-Unique: HmpZ-kjvPFGOHzcHhBkCDQ-1 Received: by mail-vk1-f197.google.com with SMTP id j9-20020a1f6e090000b02902581d95f3fdso9801vkc.11 for ; Tue, 06 Jul 2021 07:42:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3q5WZ2UMvxKaE5JCN1HqkLQytHcUbhNORsFU3oBIVIQ=; b=PdGs7t1JN7LXfbP8wZ1JOfvicWHU/B9N958pnr2/0UZCC6kG6VJtDXCFpke/TPcxtu NhEh1sWKImqhMs2u+6fJCyCAhepuJSGZgV39iVcGedC5lY7AuOv8FCdRVZN9TGrGepb3 RXTWscmH72VARZIXPEsi3SxJ/BdceDI0RbX8v/FoSaORftw8Ei1S+aRm6E2FNCqWS9NK Nne7VopIJ4/i5BO9dVH/AKnVue9bDPK/OqGBH6xiryVNKGQsatndM3jGErhMd9/rS4Eh X5gNKX0x67Rd8Ea01o6azjIbbCs9tXmTHjjleVUMt6ML8IRcfLs2O7xFaR93visfC20e 5xHQ== X-Gm-Message-State: AOAM533osPlK15FjBhCOdZSfJ7ZPFBJ+vNGB0VdfXJI+UCP9lIpvqRpN CKg/y+ZjP/pCPk75+3Rm7e24qRbvqYbDBRSytWH5AWb2qrDrODGiqzCJc2HGCpFNNJqRWJwJ0Sp 0fth19rIOUG9s+LHLOME= X-Received: by 2002:a1f:26cd:: with SMTP id m196mr13940412vkm.9.1625582545369; Tue, 06 Jul 2021 07:42:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRXEcbBkVoljDdsihG4GhrFqz3kg/ARcL8dHG2AHHmOqZSIVVq82Pr9cKvnKagdJOlT7KQE/vhawkkzr44vuQ= X-Received: by 2002:a1f:26cd:: with SMTP id m196mr13940383vkm.9.1625582545152; Tue, 06 Jul 2021 07:42:25 -0700 (PDT) MIME-Version: 1.0 References: <20210705072734.22484-1-olivier.matz@6wind.com> In-Reply-To: From: David Marchand Date: Tue, 6 Jul 2021 16:42:14 +0200 Message-ID: To: Olivier Matz Cc: dev , Reshma Pattan , Lavanya Govindarajan , Zhihong Peng , dpdk stable Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] test/mbuf: fix virtual address conversion X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Jul 6, 2021 at 1:50 PM David Marchand wrote: > > On Mon, Jul 5, 2021 at 9:28 AM Olivier Matz wrote: > > > > Seen with address sanitizer. > > > > rte_mempool_virt2iova() can only be used on mempool elements. In this case, > > it is incorrect, and rte_mem_virt2iova() has to be used. > > > > Bugzilla ID: 737 > > Fixes: 7b295dceea07 ("test/mbuf: add unit test cases") > > Cc: stable@dpdk.org > > > > Reported-by: Zhihong Peng > > Signed-off-by: Olivier Matz > Reviewed-by: David Marchand Applied, thanks. -- David Marchand