Skip to content

ethtool: fbnic: Fix register dump parser

Mohsin Bashir netdev 1 version Applied

Status from this message: This series was applied to ethtool/ethtool.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3ethtool: fbnic: fix off-by-one shift in reg dump parserfbnic.c+6 -120 replies
2/3ethtool: fbnic: Fix various TX and RX CSR fields decodingfbnic.c+100 -330 replies
3/3ethtool: fbnic: Fix register dump names and bit labelsfbnic.c+7 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH ethtool 0/3] ethtool: fbnic: Fix register dump parser

From: Mohsin Bashir <[email protected]>

The fbnic register-dump parser is out-of-sync with the dump layout in various places. As a result the values of some of the CSRs are displayed using the name and bitfield definition of a neighboring CSRs.

This series fixes the affected CSR definitions so that each value is associated with the correct register and its fields have correct masks.

Mohsin Bashir (3):
ethtool: fbnic: fix off-by-one shift in reg dump parser
ethtool: fbnic: Fix various TX and RX CSR fields decoding
ethtool: fbnic: Fix register dump names and bit labels

 fbnic.c | 165 ++++++++++++++++++++++++++++++++++++++------------------
 1 file changed, 113 insertions(+), 52 deletions(-)
Signature · 1 line
2.53.0-Meta