DPDK patches and discussions
 help / color / mirror / Atom feed
From: Pravin Pathak <pravin.pathak@intel.com>
To: dev@dpdk.org
Cc: jerinj@marvell.com, mike.ximing.chen@intel.com,
	bruce.richardson@intel.com, thomas@monjalon.net,
	david.marchand@redhat.com, nipun.gupta@amd.com,
	chenbox@nvidia.com, tirthendu.sarkar@intel.com,
	Pravin Pathak <pravin.pathak@intel.com>
Subject: [PATCH v1] event/dlb2: update DLB documentation for history list config
Date: Sun, 29 Jun 2025 21:30:00 -0500	[thread overview]
Message-ID: <20250630023000.719037-1-pravin.pathak@intel.com> (raw)

Update DPDK documentation for configuring DLB hardware history
list resource using devargs arguments.

Fixes: 33ab065d0c40 ("event/dlb2: support managing history list resource")

Signed-off-by: Pravin Pathak <pravin.pathak@intel.com>
---
 doc/guides/eventdevs/dlb2.rst | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/doc/guides/eventdevs/dlb2.rst b/doc/guides/eventdevs/dlb2.rst
index 8ec7168f20..2f836db010 100644
--- a/doc/guides/eventdevs/dlb2.rst
+++ b/doc/guides/eventdevs/dlb2.rst
@@ -7,6 +7,12 @@ Driver for the Intel® Dynamic Load Balancer (DLB)
 The DPDK DLB poll mode driver supports the Intel® Dynamic Load Balancer,
 hardware versions 2.0 and 2.5.
 
+Please follow the links below to download the Programmer Guides.
+
+`Intel Dynamic Load Balancer 2.0 Programmer Guide <https://cdrdv2.intel.com/v1/dl/getContent/613545>`_. (Device: 0x2710)
+
+`Intel Dynamic Load Balancer 2.5 Programmer Guide <https://cdrdv2.intel.com/v1/dl/getContent/639481>`_. (Device: 0x2714)
+
 Prerequisites
 -------------
 
@@ -477,6 +483,23 @@ Example command to use as meson option for credit handling:
 
        meson configure -Dc_args='-DDLB_SW_CREDITS_CHECKS=0 -DDLB_HW_CREDITS_CHECKS=1'
 
+DLB History List Configuration
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Every DLB Load Balancing port (i.e., eventdev port not using RTE_EVENT_PORT_CFG_SINGLE_LINK flag)
+has a hardware resource call history list entries (HL) associated with it. This count decides the number
+of events that can be inflight to the port from the DLB hardware. DLB has 2048 total HL entries.
+As DLB supports 64 load-balanced ports, by default DLB PMD assigns 32 HL entries to each port.
+Following devargs arguments allow application to control HL entries overriding default mode.
+DLB API rte_pmd_dlb2_set_port_param() allows setting HL entries for the DLB eventdev ports.
+Please refer to section "Fine Tuning History List Entries" in DLB Programmer Guide for details.
+
+    .. code-block:: console
+
+       --allow ea:00.0,use_default_hl=0,alloc_hl_entries=1024
+
+        use_default_hl = 1=Enable (default), 0=Disable
+        alloc_hl_entries = 0-2048 Total HL entries
+
 Running Eventdev Applications with DLB Device
 ---------------------------------------------
 
-- 
2.39.1


                 reply	other threads:[~2025-06-30  2:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250630023000.719037-1-pravin.pathak@intel.com \
    --to=pravin.pathak@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=chenbox@nvidia.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=jerinj@marvell.com \
    --cc=mike.ximing.chen@intel.com \
    --cc=nipun.gupta@amd.com \
    --cc=thomas@monjalon.net \
    --cc=tirthendu.sarkar@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).