From patchwork Thu Jul 20 13:09:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Conole X-Patchwork-Id: 129669 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 520D742ECA; Thu, 20 Jul 2023 15:09:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 28F0C40E2D; Thu, 20 Jul 2023 15:09:14 +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 0BDEA40DF5 for ; Thu, 20 Jul 2023 15:09:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689858551; 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: content-transfer-encoding:content-transfer-encoding; bh=9e8I+RkUlpWIEvl7W0sSAhvRLGxHgjJlZ6dnmq5Jh54=; b=BXqMFmHi6ThrGzlmVwpMy3l8hY0UUH1p6R/+tObpDjwIO6Tf8jvayVd5GCSY1fttBCjNh0 n3G2Qu4raMMLu6Ww6wxGujE5vZAvNEsHm/fpX1GnkYeN3QhXzP7+SjTFbhh/OlXOadATtP lQqctlpwLUeP4y0vqviOpg/oLvC9tRs= Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-286-GbpgQUZaMnC8ogCni0fQDw-1; Thu, 20 Jul 2023 09:09:01 -0400 X-MC-Unique: GbpgQUZaMnC8ogCni0fQDw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4D6A728237E5; Thu, 20 Jul 2023 13:09:01 +0000 (UTC) Received: from RHTPC1VM0NT.redhat.com (unknown [10.22.34.58]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0312740C2070; Thu, 20 Jul 2023 13:09:00 +0000 (UTC) From: Aaron Conole To: dev@dpdk.org Cc: Patrick Robb , Ajit Khaparde , stuart.schacher@broadcom.com, farah.smith@broadcom.com, sbhosle@broadcom.com Subject: [PATCH] test: eal: update base-virtaddr parameter test Date: Thu, 20 Jul 2023 09:09:00 -0400 Message-Id: <20230720130900.357876-1-aconole@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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 When 97435d7906 ("net/bnxt: update Truflow core") was applied, it introduced a number of static variables. These ended up filling the lower address space enough that on some platforms, the min addr for heap address to start was not within the range specified by base-virtaddr. This is dependent on both build and link time options. The simplest resolution is to just update the base virtaddr parameter to move the rte config location. Reported-by: Patrick Robb Suggested-by: Ajit Khaparde Signed-off-by: Aaron Conole --- app/test/test_eal_flags.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c index d2b91e2075..148e9098e8 100644 --- a/app/test/test_eal_flags.c +++ b/app/test/test_eal_flags.c @@ -1017,7 +1017,7 @@ test_misc_flags(void) /* try running with base-virtaddr param */ const char *argv13[] = {prgname, "--file-prefix=virtaddr", - "--base-virtaddr=0x12345678"}; + "--base-virtaddr=0x23456789"}; /* try running with --vfio-intr INTx flag */ const char *argv14[] = {prgname, "--file-prefix=intr",