aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAmir Vadai <[email protected]>2013-03-07 03:46:57 +0000
committerDavid S. Miller <[email protected]>2013-03-07 15:52:04 -0500
commita229e488ac3f904d06c20d8d3f47831db3c7a15a (patch)
treeaea8161b5ec5c7f9ffa6aa6e001f5a3f5ac32603 /tools/perf/util/scripting-engines/trace-event-python.c
parent83a5a6cef40616d19a388f560447e99c2ca04d1e (diff)
net/mlx4_en: Disable RFS when running in SRIOV mode
Commit 37706996 "mlx4_en: fix allocation of CPU affinity reverse-map" fixed a bug when mlx4_dev->caps.comp_pool is larger from the device rx rings, but introduced a regression. When the mlx4_core is activating its "legacy mode" (e.g when running in SRIOV mode) w.r.t to EQs/IRQs usage, comp_pool becomes zero and we're crashing on divide by zero alloc_cpu_rmap. Fix that by enabling RFS only when running in non-legacy mode. Reported-by: Yan Burman <[email protected]> Cc: Kleber Sacilotto de Souza <[email protected]> Signed-off-by: Amir Vadai <[email protected]> Signed-off-by: Or Gerlitz <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions