mlxsw: core: Add EMAD string TLV
authorShalom Toledo <shalomt@mellanox.com>
Tue, 12 Nov 2019 06:48:26 +0000 (08:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Nov 2019 18:54:02 +0000 (10:54 -0800)
commit664b3dd9ba58462d1f74f2c9536e500898450edc
treedb5ba752746bebb5ffa538b0b9dc30a7de04d403
parentd17eb4030cc3061d3d2f313b9b898103701c44a4
mlxsw: core: Add EMAD string TLV

Add EMAD string TLV, an ASCII string the driver can receive from the
firmware in case of an error.

Signed-off-by: Shalom Toledo <shalomt@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/emad.h