mlxsw: core: Add support for EMAD string TLV parsing
authorShalom Toledo <shalomt@mellanox.com>
Tue, 12 Nov 2019 06:48:27 +0000 (08:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Nov 2019 18:54:02 +0000 (10:54 -0800)
commit2aa4aa2051f86d032ef86a268b38569cb3d450d0
treeda43c1637efebf31c8f49276ab779c16a385519b
parent664b3dd9ba58462d1f74f2c9536e500898450edc
mlxsw: core: Add support for EMAD string TLV parsing

During parsing of incoming EMADs, fill the string TLV's offset when it is
used.

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