aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorParav Pandit <[email protected]>2021-05-07 10:08:47 +0300
committerSaeed Mahameed <[email protected]>2021-05-18 23:01:29 -0700
commit82041634d96e87b41c600a673f10150d9f21f742 (patch)
treebc44b92c22d050ebf9853c052edac26b0b000232 /tools/perf/scripts/python/event_analyzing_sample.py
parentfca086617af864efd20289774901221b2df06b39 (diff)
net/mlx5: SF, Fix show state inactive when its inactivated
When a SF is inactivated and when it is in a TEARDOWN_REQUEST state, driver still returns its state as active. This is incorrect. Fix it by treating TEARDOWN_REQEUST as inactive state. When a SF is still attached to the driver, on user request to reactivate EINVAL error is returned. Inform user about it with better code EBUSY and informative error message. Fixes: 6a3273217469 ("net/mlx5: SF, Port function state change support") Signed-off-by: Parav Pandit <[email protected]> Reviewed-by: Vu Pham <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions