]> git.ipfire.org Git - thirdparty/iproute2.git/commit
devlink: Increase bus, device buffer size to 64 bytes
authorParav Pandit <parav@mellanox.com>
Thu, 6 Jun 2019 11:49:19 +0000 (06:49 -0500)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 6 Jun 2019 21:41:17 +0000 (14:41 -0700)
commit2cc10ce81d22676a3eff02dd57dd524828489449
tree984a8b7e23fcda60f972161d309ba46b524a4673
parent4ae441e3d17e129ecf422ce5f65348fb1930cf9f
devlink: Increase bus, device buffer size to 64 bytes

Device name on mdev bus is 36 characters long which follow standard uuid
RFC 4122.
This is probably the longest name that a kernel will return for a
device.

Hence increase the buffer size to 64 bytes.

Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
devlink/devlink.c