From patchwork Mon Apr 12 10:06:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislaw Kardach X-Patchwork-Id: 91110 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 541B4A0C44; Mon, 12 Apr 2021 12:06:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D65B514108F; Mon, 12 Apr 2021 12:06:58 +0200 (CEST) Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) by mails.dpdk.org (Postfix) with ESMTP id A18C1141086 for ; Mon, 12 Apr 2021 12:06:57 +0200 (CEST) Received: by mail-lj1-f172.google.com with SMTP id u20so14627633lja.13 for ; Mon, 12 Apr 2021 03:06:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BW4OKaybQeNwGCEd6GkCZauk/OHFy+teYWbZ39AZ/Ik=; b=gNzLFDHiA+usCCce1dWssATeeKFZ/nC8zZ1Bqb9egBdYY9013LYzINp1gEP+ubKZ2g aqr0VOOKRe6gdB5W7i0gFhN4HO1PFPUPcej6e5JbzKYDhFs8WEAjR82SVzztWfxd94U5 z8GEac0iqgPuCUVm8AnEndqCk3a1CV+tEI6icWFf2JSdkHe9GgGxmAYMw+0qhAkbtP6v phK7KPfGXbjMUkq/sqyZ9zSTYdf9w7kQltWJu205Ch1REvjvKVacaTA7BvlcIEm+7M6Q NGnJ0JqvhdCSchjBgNv3KuXgD/jIS/rJ83lanr3UaSL4IgMKIkttHAGfF0JUmznK4NN6 E2Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BW4OKaybQeNwGCEd6GkCZauk/OHFy+teYWbZ39AZ/Ik=; b=iCVadLUO8KED5ezs1/as2FsW+xHyjDLrmqdTIuRPTRz8xxLwMROylEjO8gYvR6V2eV sPqV7Wbd48lBJJvBomgo+FxgxZoRrEz7aVoAIDWEa57rZ3sbjX63fz5vvXfwwb0NDNw1 PPWl7QVMybXTOXRrLeSc2wx1J+FNxHoLuuq8BXhEQYRDFK96qerrg5CTxhI6poYk1s0q CanD3vCKrVt5gcYJhxlHDSxmSNVGrT/nJtK6il6xrng85wwd/0ammdQxGqG8NHJNrnhT EI9cka3HlzBzjfctn2rEo0QEZ5HTnQ6BfVSJSncn3l8/3NLqsCnYomLuNII6QoVVA10E z+2Q== X-Gm-Message-State: AOAM531fLiVE+BGxysvhnJ2AB2q+uh86BrgUXopvKpK2OwirigUj+YhI lQ++heZsX/CmyDru8X4JL6AZIg== X-Google-Smtp-Source: ABdhPJzkiNUSJd3ne2YpEQM+yd1txCjhXK6wJhPhgvpxhKmhDVRc2jldZwOHeCYXVC+w2j/jMk9kbQ== X-Received: by 2002:a2e:b5c6:: with SMTP id g6mr5514803ljn.31.1618222017096; Mon, 12 Apr 2021 03:06:57 -0700 (PDT) Received: from toster.semihalf.com (host-193.106.246.139.static.3s.pl. [193.106.246.139]) by smtp.gmail.com with ESMTPSA id u9sm2781326ljj.0.2021.04.12.03.06.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Apr 2021 03:06:56 -0700 (PDT) From: Stanislaw Kardach To: Anatoly Burakov Cc: dev@dpdk.org, Stanislaw Kardach Date: Mon, 12 Apr 2021 12:06:42 +0200 Message-Id: <20210412100645.668395-1-kda@semihalf.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 0/3] Increase test compatibility with PA IOVA 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" While working in some scenarios where only RTE_IOVA_PA is available I've noticed that some of the EAL tests are failing because of a totally different reason than the test itself. Namely the --no-huge flag and PA IOVA can't be used together and EAL init fails warning about this. This patchset tries to cleanup the --no-huge usage so that it doesn't hide the real state of tests when RTE_IOVA_PA is used (i.e. on platforms without IOMMU). This means skipping the no-huge test as it is not supported by design and removing no-huge usage on linux as it seems that it was previously used with --no-shconf to increase the compatibility with FreeBSD. That is if I'm not missing a bigger picture of using the --no-huge with --no-shconf on non-FreeBSD platforms. Stanislaw Kardach (3): test: disable no-huge test with PA IOVA test: disable no-huge where it's not necessary test: fix the -n unit test description app/test/test_eal_flags.c | 45 ++++++++++++++++++++++++++++----------- 1 file changed, 32 insertions(+), 13 deletions(-)