[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201121040201.3171542-1-george.cherian@marvell.com>
Date: Sat, 21 Nov 2020 09:31:58 +0530
From: George Cherian <george.cherian@...vell.com>
To: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <kuba@...nel.org>, <davem@...emloft.net>, <sgoutham@...vell.com>,
<lcherian@...vell.com>, <gakula@...vell.com>,
<masahiroy@...nel.org>, <george.cherian@...vell.com>,
<willemdebruijn.kernel@...il.com>, <saeed@...nel.org>
Subject: [PATCHv3 net-next 0/3] Add devlink and devlink health reporters to
Add basic devlink and devlink health reporters.
Devlink health reporters are added for NPA and NIX blocks.
These reporters report the error count in respective blocks.
Address Jakub's comment to add devlink support for error reporting.
https://www.spinics.net/lists/netdev/msg670712.html
Change-log:
v4
- Rebase to net-next (no logic changes).
v3
- Address Saeed's comments on v2.
- Renamed the reporter name as hw_*.
- Call devlink_health_report() when an event is raised.
- Added recover op too.
v2
- Address Willem's comments on v1.
- Fixed the sparse issues, reported by Jakub.
George Cherian (3):
octeontx2-af: Add devlink suppoort to af driver
octeontx2-af: Add devlink health reporters for NPA
octeontx2-af: Add devlink health reporters for NIX
.../net/ethernet/marvell/octeontx2/Kconfig | 1 +
.../ethernet/marvell/octeontx2/af/Makefile | 2 +-
.../net/ethernet/marvell/octeontx2/af/rvu.c | 9 +-
.../net/ethernet/marvell/octeontx2/af/rvu.h | 4 +
.../marvell/octeontx2/af/rvu_devlink.c | 972 ++++++++++++++++++
.../marvell/octeontx2/af/rvu_devlink.h | 82 ++
.../marvell/octeontx2/af/rvu_struct.h | 33 +
7 files changed, 1101 insertions(+), 2 deletions(-)
create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c
create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.h
--
2.25.1
Powered by blists - more mailing lists