mbox series

[PATCHv6,net-next,0/3] Add devlink and devlink health reporters to

Message ID 20201211062526.2302643-1-george.cherian@marvell.com (mailing list archive)
Headers show
Series Add devlink and devlink health reporters to | expand

Message

George Cherian Dec. 11, 2020, 6:25 a.m. UTC
Add basic devlink and devlink health reporters.
Devlink health reporters are added for NPA block.

Address Jakub's comment to add devlink support for error reporting.
https://www.spinics.net/lists/netdev/msg670712.html

For now, I have dropped the NIX block health reporters. 
This series attempts to add health reporters only for the NPA block.
As per Jakub's suggestion separate reporters per event is used and also
got rid of the counters.

Change-log:
v6
 - Address Jakub comments
 - Add reporters per event for each block.
 - Remove the Sw counter.
 - Remove the mbox version from devlink info.

v5 
 - Address Jiri's comment
 - use devlink_fmsg_arr_pair_nest_start() for NIX blocks 

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
  docs: octeontx2: Add Documentation for NPA health reporters

 .../ethernet/marvell/octeontx2.rst            |  50 ++
 .../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        | 770 ++++++++++++++++++
 .../marvell/octeontx2/af/rvu_devlink.h        |  55 ++
 .../marvell/octeontx2/af/rvu_struct.h         |  23 +
 8 files changed, 912 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

Comments

patchwork-bot+netdevbpf@kernel.org Dec. 15, 2020, 2 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Fri, 11 Dec 2020 11:55:23 +0530 you wrote:
> Add basic devlink and devlink health reporters.
> Devlink health reporters are added for NPA block.
> 
> Address Jakub's comment to add devlink support for error reporting.
> https://www.spinics.net/lists/netdev/msg670712.html
> 
> For now, I have dropped the NIX block health reporters.
> This series attempts to add health reporters only for the NPA block.
> As per Jakub's suggestion separate reporters per event is used and also
> got rid of the counters.
> 
> [...]

Here is the summary with links:
  - [PATCHv6,net-next,1/3] octeontx2-af: Add devlink suppoort to af driver
    https://git.kernel.org/netdev/net-next/c/fae06da4f261
  - [2/3] octeontx2-af: Add devlink health reporters for NPA
    https://git.kernel.org/netdev/net-next/c/f1168d1e207c
  - [3/3] docs: octeontx2: Add Documentation for NPA health reporters
    https://git.kernel.org/netdev/net-next/c/80b9414832a1

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html