summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorParav Pandit <parav@nvidia.com>2021-05-07 10:08:47 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-05-18 23:01:29 -0700
commit82041634d96e87b41c600a673f10150d9f21f742 (patch)
treebc44b92c22d050ebf9853c052edac26b0b000232 /tools/perf/scripts/python/export-to-postgresql.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 <parav@nvidia.com> Reviewed-by: Vu Pham <vuhuong@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions