mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 15:51:40 -04:00
eth: fbnic: Add PCIe registers dump
Provide coverage to PCIe registers in ethtool register dump Signed-off-by: Mohsin Bashir <mohsin.bashr@gmail.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
committed by
Paolo Abeni
parent
a3e51d4711
commit
c6aa4e2cdf
@@ -30,6 +30,7 @@ static const struct fbnic_csr_bounds fbnic_csr_sects[] = {
|
||||
FBNIC_BOUNDS(RSFEC),
|
||||
FBNIC_BOUNDS(MAC_MAC),
|
||||
FBNIC_BOUNDS(SIG),
|
||||
FBNIC_BOUNDS(PCIE_SS_COMPHY),
|
||||
FBNIC_BOUNDS(PUL_USER),
|
||||
FBNIC_BOUNDS(QUEUE),
|
||||
FBNIC_BOUNDS(RPC_RAM),
|
||||
|
||||
@@ -788,6 +788,11 @@ enum {
|
||||
#define FBNIC_MAC_STAT_TX_MULTICAST_H 0x11a4b /* 0x4692c */
|
||||
#define FBNIC_MAC_STAT_TX_BROADCAST_L 0x11a4c /* 0x46930 */
|
||||
#define FBNIC_MAC_STAT_TX_BROADCAST_H 0x11a4d /* 0x46934 */
|
||||
|
||||
/* PCIE Comphy Registers */
|
||||
#define FBNIC_CSR_START_PCIE_SS_COMPHY 0x2442e /* CSR section delimiter */
|
||||
#define FBNIC_CSR_END_PCIE_SS_COMPHY 0x279d7 /* CSR section delimiter */
|
||||
|
||||
/* PUL User Registers */
|
||||
#define FBNIC_CSR_START_PUL_USER 0x31000 /* CSR section delimiter */
|
||||
#define FBNIC_PUL_OB_TLP_HDR_AW_CFG 0x3103d /* 0xc40f4 */
|
||||
|
||||
Reference in New Issue
Block a user