Skip to content

Commit

Permalink
net/hns3: support filter registers by module names
Browse files Browse the repository at this point in the history
This patch support dumping registers which module name is the
`filter` string. The module names are in lower case and so is
the `filter`. Available module names are cmdq, common_pf,
common_vf, ring, tqp_intr, 32_bit_dfx, 64_bit_dfx, bios, igu_egu,
ssu, ppp, rpu, ncsi, rtc, rcb, etc.

Signed-off-by: Jie Hai <haijie1@huawei.com>
Acked-by: Chengwen Feng <fengchengwen@huawei.com>
  • Loading branch information
Jie Hai authored and ferruhy committed Sep 27, 2024
1 parent bb24acd commit 3fa84cc
Show file tree
Hide file tree
Showing 2 changed files with 157 additions and 107 deletions.
7 changes: 7 additions & 0 deletions doc/guides/nics/hns3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,13 @@ be provided to avoid scheduling the CPU core used by DPDK application threads fo
other tasks. Before starting the Linux OS, add the kernel isolation boot parameter.
For example, "isolcpus=1-18 nohz_full=1-18 rcu_nocbs=1-18".

Dump registers
--------------
HNS3 supports dumping registers values with their names, and supports filtering
by module names. The available module names are ``bios``, ``ssu``, ``igu_egu``,
``rpu``, ``ncsi``, ``rtc``, ``ppp``, ``rcb``, ``tqp``, ``rtc``, ``cmdq``,
``common_pf``, ``common_vf``, ``ring``, ``tqp_intr``, ``32_bit_dfx``,
``64_bit_dfx``.

Limitations or Known issues
---------------------------
Expand Down
Loading

0 comments on commit 3fa84cc

Please sign in to comment.