diff options
author | Hariprasad Kelam <hkelam@marvell.com> | 2023-08-24 11:10:31 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-26 04:48:39 +0300 |
commit | 47bcc9c1cf6aa60156c7532983090e86d9d171b6 (patch) | |
tree | 0227cf3701bcd533fa53f2bf68a5a13f709fe8bd /scripts/gdb/linux/vmalloc.py | |
parent | a9ac2e18779597f280d68a5b5f5bdd51a34080fa (diff) | |
download | linux-47bcc9c1cf6aa60156c7532983090e86d9d171b6.tar.xz |
octeontx2-af: CN10KB: fix PFC configuration
Suppose user has enabled pfc with prio 0,1 on a PF netdev(eth0)
dcb pfc set dev eth0 prio-pfc o:on 1:on
later user enabled pfc priorities 2 and 3 on the VF interface(eth1)
dcb pfc set dev eth1 prio-pfc 2:on 3:on
Instead of enabling pfc on all priorities (0..3), the driver only
enables on priorities 2,3. This patch corrects the issue by using
the proper CSR address.
Fixes: b9d0fedc6234 ("octeontx2-af: cn10kb: Add RPM_USX MAC support")
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20230824081032.436432-3-sumang@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions