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 11394A0555; Thu, 9 Jun 2022 15:40:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B88BF40689; Thu, 9 Jun 2022 15:40:24 +0200 (CEST) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by mails.dpdk.org (Postfix) with ESMTP id B5D4B40220 for ; Thu, 9 Jun 2022 15:40:23 +0200 (CEST) Received: by mail-lf1-f50.google.com with SMTP id i29so21295675lfp.3 for ; Thu, 09 Jun 2022 06:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NSrTtJcoKArHOo2dqh8BeJR0lEfZT56+cNLnUhSdqZw=; b=GMT7jq8Tcs6STwtqT4H1EyNXhh+OlfiF9Zyo5Jsez0+GnYwP1uHG8SFyCQ3Le5hgPd SExQsE+zKSWuxEZXZGl6m8VsiY5l3sH1z+vRwjYE2wx3X5zoE4xk51c6z+VggxD0sVFd vDcrjD465APg2iDYfezXrnJKnaHt/fEihgwBcfoSs74jukZlPnW5xwR5OqiJB8cLlwlN ZCuks8OhsmiFcW9L0vkuSRkrB5B2nfx8pS4TBBEuaj0S4WKwpKWBQS0XKY2vb+b+Sm7T HVA/TJnvXS2cNATH4icLuE9kEf4q/exd4o33LsR9glCuE5LjF4aJ4J0OI/D1JcvfEb4B Cqpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NSrTtJcoKArHOo2dqh8BeJR0lEfZT56+cNLnUhSdqZw=; b=rPSa75DLeFAukNkQ8I3+gdgZwoauYLRbpkQ3j38kN9S2wjAslKEjdQklbhMawY937D REiSEBmOSTxuqBUfrKvrRVPqUBLBjm3TLmS7npbw8HKj45dqBMEBR7vHzkXroOfDMZuI 8V0h/aLNXF/EipKSfzDfCX5QwYh9d9OW+vpyWdpis3VyenUcUKp9kAapSv6GfAZ3iRjW tZys/zhQl3EKQjJ5FQgJbwWnpV1qKdBK3ludThATBSLmjBpxlrxDwXqvd78Lxfcm+sxP d9Fy1uYH/Vr3hBWCGpqfWKhn8HxDqGRvpQYzjpC8ukhvLmbrUTnmT7u3dX6PwGNxG3v9 d0Dw== X-Gm-Message-State: AOAM5305Irj8LEeCnNhr/mul3F45m7aAaTdxWraEMZVR5tHSJulUSWnq HAusaUeiT6DW/J4/nSlnWhH4Qw== X-Google-Smtp-Source: ABdhPJwvfaH8p8hHcAQvEibGvYBEiH9r0pRqlOE0823MZnjNlIaSvOWwKx/P+z1uxvDpBASpLpCpIQ== X-Received: by 2002:a05:6512:1681:b0:477:a451:131a with SMTP id bu1-20020a056512168100b00477a451131amr24160141lfb.318.1654782023214; Thu, 09 Jun 2022 06:40:23 -0700 (PDT) Received: from toster.semihalf.net ([83.142.187.84]) by smtp.gmail.com with ESMTPSA id t10-20020a056512208a00b00478d4df81f6sm4253953lfr.85.2022.06.09.06.40.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 06:40:22 -0700 (PDT) From: Stanislaw Kardach To: David Marchand Cc: Stanislaw Kardach , dev@dpdk.org, upstream@semihalf.com Subject: [PATCH 1/1] doc: expand description of no-huge and PMD issue Date: Thu, 9 Jun 2022 15:40:11 +0200 Message-Id: <20220609134011.725343-1-kda@semihalf.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Add more details to the description of a known issue of PMDs not being usable when --no-huge EAL command line parameter is used. The issue actually happens whenever there is a need for physical addresses, even when there is no PMD attached. Signed-off-by: Stanislaw Kardach --- doc/guides/rel_notes/known_issues.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/guides/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst index 570550843a..2e0ffbdd93 100644 --- a/doc/guides/rel_notes/known_issues.rst +++ b/doc/guides/rel_notes/known_issues.rst @@ -249,11 +249,15 @@ PMD does not work with --no-huge EAL command line parameter ----------------------------------------------------------- **Description**: - Currently, the DPDK does not store any information about memory allocated by ``malloc()` (for example, NUMA node, - physical address), hence PMDs do not work when the ``--no-huge`` command line parameter is supplied to EAL. + Currently, the DPDK does not store any information about memory allocated by ``malloc()`` (for example, NUMA node, + physical address), hence PMDs do not work when the ``--no-huge`` command line parameter is supplied to EAL. This + happens when using non-IOMMU based UIO drivers (i.e. ``igb_uio`` or ``uio_pci_generic``) or when IOVA mode is + explicitly set to use physical addresses (via the ``--iova-mode=pa`` EAL parameter). **Implication**: - Sending and receiving data with PMD will not work. + Sending and receiving data with PMD will not work. Unit tests checking ``--no-huge`` operation will fail if + there is a device bound to the PMD (eal_flags_n_opt_autotest, eal_flags_no_huge_autotest, + eal_flags_vdev_opt_autotest, eal_flags_misc_autotest). **Resolution/Workaround**: Use huge page memory or use VFIO to map devices. -- 2.30.2