]> git.dujemihanovic.xyz Git - linux.git/commit
octeontx2-af: debugfs: Add Channel info to RPM map
authorLinu Cherian <lcherian@marvell.com>
Thu, 12 Sep 2024 16:14:50 +0000 (21:44 +0530)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Sep 2024 04:42:21 +0000 (21:42 -0700)
commitbeb2baa9e54d7383618589f2f78721654231452e
tree3555161e736ff11ea43fb037b3313b792ea47816
parent1ad84a151af7f4b3933983677bc75074f957bdf5
octeontx2-af: debugfs: Add Channel info to RPM map

Display channel info in the RPM map debugfs output.

With this, cat /sys/kernel/debug/cn10k/rvu_pf_rpm_map
would display channel number for each device in addition to
the existing data.

Sample output:
PCI dev         RVU PF Func     NIX block       rpm     LMAC    CHAN
0002:02:00.0    0x400           NIX0            rpm0    LMAC0   256

Signed-off-by: Linu Cherian <lcherian@marvell.com>
Link: https://patch.msgid.link/20240912161450.164402-3-lcherian@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c