diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2015-07-22 16:53:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-29 19:26:24 +0200 |
commit | f75d70aa248dad6038eb5b49b5b816ce96e8ae7e (patch) | |
tree | 4a0eaf812252162c95197f6f1d1a698c9f0e30aa /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 90ec7452b5804da4e0a0041e25c4ee74e06578db (diff) |
net/mlx4_core: Fix wrong index in propagating port change event to VFs
[ Upstream commit 1c1bf34951e8d17941bf708d1901c47e81b15d55 ]
The port-change event processing in procedure mlx4_eq_int() uses "slave"
as the vf_oper array index. Since the value of "slave" is the PF function
index, the result is that the PF link state is used for deciding to
propagate the event for all the VFs. The VF link state should be used,
so the VF function index should be used here.
Fixes: 948e306d7d64 ('net/mlx4: Add VF link state support')
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions