aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/dmesg.py
diff options
context:
space:
mode:
authorShalom Toledo <[email protected]>2019-11-12 08:48:24 +0200
committerDavid S. Miller <[email protected]>2019-11-12 10:54:02 -0800
commit5aa4165c60aaade3aebe0c5278111781142a5636 (patch)
tree1070fa41491f754cd3e28ac996b97efa77b51106 /scripts/gdb/linux/dmesg.py
parentb2ef81dcdf3835bd55e5f97ff30131bb327be7fa (diff)
mlxsw: core: Parse TLVs' offsets of incoming EMADs
Until now the code assumes a fixed structure which makes it difficult to support EMADs with and without new TLVs. Make it more generic by parsing the TLVs when the EMADs are received and store the offset to the different TLVs in the control block. Using these offsets to extract information from the EMADs without relying on a specific structure. Signed-off-by: Shalom Toledo <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions