devlink: Allow large formatted message of binary output
authorAya Levin <ayal@mellanox.com>
Tue, 12 Nov 2019 12:07:49 +0000 (14:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Nov 2019 19:25:44 +0000 (11:25 -0800)
commite2cde864a1d3e3626bfc8fa088fbc82b04ce66ed
tree059cb0be41987ed76a9d9e90236488b5f795329d
parent6c0867022352027409f5a9fee1d3c6923f9e083e
devlink: Allow large formatted message of binary output

Devlink supports pair output of name and value. When the value is
binary, it must be presented in an array. If the length of the binary
value exceeds fmsg limitation, break the value into chunks internally.

Signed-off-by: Aya Levin <ayal@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/devlink.h
net/core/devlink.c