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 7406AA0C47; Tue, 6 Jul 2021 13:51:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F391F41262; Tue, 6 Jul 2021 13:51:13 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 7F0F54120E for ; Tue, 6 Jul 2021 13:51:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625572271; 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=2+Wi/fHDVAUw4vcHA6u4cISNbQz2b3ORCd6cEDTNLGo=; b=JmknN6egC0gCgulKqFxAKuafqvWDnqFindEB74u+lS0XENqCYDwcnE6RQ7wDn30cDP4bP4 DasN9gTFNs6PG8Ye80jTxB6YnylqDOcKUW0JbGjs/NgQMZUN9cCpnUWwomtiRgxAWmvD+M eZ2MrY2sIRm77EitAoXBiDqNnAdg2eY= Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-308-xB-n04J4NQKegfKeM61kbA-1; Tue, 06 Jul 2021 07:51:10 -0400 X-MC-Unique: xB-n04J4NQKegfKeM61kbA-1 Received: by mail-vk1-f200.google.com with SMTP id y18-20020a0561220552b029024ead7b5960so5229057vko.7 for ; Tue, 06 Jul 2021 04:51:10 -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=2+Wi/fHDVAUw4vcHA6u4cISNbQz2b3ORCd6cEDTNLGo=; b=tu0+KJlY77JrSvR0Bxflx93aL1ajjnYaOIG1eVZNZenSh07DypRjG5b9J381ofPmKV 36pCx/tTH71gFuIb+0tzroLvkGZ8E/FUv9s5ee100ScogoCrqEcWBfVWxly3vCCmUbvK X7KRBuBmMy+/GKK8TQkSNZoauLceZ229dhBwx1oxP6qWHHZCwwYtfP3C8caSaXmi/w8M 6hLiFfmCDoeqSqZCzBKDHL0cAnZW6L6EQTKEAhN408NTQV4CnGJwqXIhU3MknRXHXtuU uniiKd61ocZ15KVFjOa8hXQPQx181gcKQxy/EqLag9FgDeIaduY2KFHPTBY2oNY4Lm5A Ln+w== X-Gm-Message-State: AOAM532KAzyCQJCzgzjeymorD8FkcqkpgLnsq5uICtsew+7t9ZDGl3Cl VtYrZ0Gwvv8aaa58OYI/DdRXsvE/of6CoOqHuf2uTxGSxPR+A/7N8gHPjdvw9Ao9LvcflJASOO7 Rz/I3pS+BJfIntHQSqgg= X-Received: by 2002:ab0:7409:: with SMTP id r9mr15532404uap.53.1625572270217; Tue, 06 Jul 2021 04:51:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJHN2XBZNDimuHAJisjUmbgyxMBlUPGvM9IiCGosrERwX7t9ZAM7X+hizIrfTbdQzb3cVAqutGBou2dk6WThw= X-Received: by 2002:ab0:7409:: with SMTP id r9mr15532391uap.53.1625572270074; Tue, 06 Jul 2021 04:51:10 -0700 (PDT) MIME-Version: 1.0 References: <20210705072734.22484-1-olivier.matz@6wind.com> In-Reply-To: <20210705072734.22484-1-olivier.matz@6wind.com> From: David Marchand Date: Tue, 6 Jul 2021 13:50:58 +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 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 -- David Marchand