diff options
author | Rick Farrington <ricardo.farrington@cavium.com> | 2018-07-06 11:27:07 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-07 11:10:35 +0900 |
commit | 4fed38cf26278e6597b506e62a9156e45cbcec49 (patch) | |
tree | 91b7875feb8ddd5807db2a60c50bceeb4e7c4135 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 9ebcb397aaaf6a18d35db0168375e183e9170f53 (diff) |
liquidio: fix kernel panic when NIC firmware is older than 1.7.2
Pre-1.7.2 NIC firmware does not support (and does not respond to) the "get
speed" command which is sent by the 1.7.2 driver (for CN23XX-225 cards
only) during modprobe. Due to a bug in older firmware (with respect to
unknown commands), this unsupported command causes a cascade of errors that
ends in a kernel panic.
Fix it by making the sending of the "get speed" command conditional on the
firmware version.
Signed-off-by: Rick Farrington <ricardo.farrington@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions