[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1573560472-4187-1-git-send-email-ayal@mellanox.com>
Date: Tue, 12 Nov 2019 14:07:48 +0200
From: Aya Levin <ayal@...lanox.com>
To: David Miller <davem@...emloft.net>, Jiri Pirko <jiri@...lanox.com>
Cc: netdev@...r.kernel.org, Aya Levin <ayal@...lanox.com>
Subject: [PATCH net-next 0/4] Update devlink binary output
This series changes the devlink binary interface:
-The first patch forces binary values to be enclosed in an array. In
addition, devlink_fmsg_binary_pair_put breaks the binary value into
chunks to comply with devlink's restriction for value length.
-The second patch removes redundant code and uses the fixed devlink
interface (devlink_fmsg_binary_pair_put).
-The third patch make self test to use the updated devlink
interface.
-The fourth, adds a verification of dumping a very large binary
content. This test verifies breaking the data into chunks in a valid
JSON output.
Series was generated against net-next commit:
ca22d6977b9b Merge branch 'stmmac-next'
Regards,
Aya
Aya Levin (4):
devlink: Allow large formatted message of binary output
net/mlx5: Dump of fw_fatal use updated devlink binary interface
netdevsim: Update dummy reporter's devlink binary interface
selftests: Add a test of large binary to devlink health test
drivers/net/ethernet/mellanox/mlx5/core/health.c | 18 +---------------
drivers/net/netdevsim/health.c | 8 +-------
include/net/devlink.h | 4 +---
net/core/devlink.c | 24 ++++++++++++++--------
.../selftests/drivers/net/netdevsim/devlink.sh | 9 ++++++++
5 files changed, 27 insertions(+), 36 deletions(-)
--
2.14.1
Powered by blists - more mailing lists