]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcd93770bb3b4231e9bd77480e07f522757ea9df6
tree059cb0be41987ed76a9d9e90236488b5f795329d
parent582509bef0739d93a0a635698cf7f791f73e2664
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