summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorShay Drory <shayd@nvidia.com>2023-08-27 13:31:53 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2023-10-12 11:10:33 -0700
commit7624e58a8b3a251e3e5108b32f2183b34453db32 (patch)
treefa68c7af9edefecd9884f3ee2e9a6b680cc69573 /tools/perf/scripts/python/export-to-postgresql.py
parent8698cb92eeece1e326a4d6a051bcf143037c4d31 (diff)
net/mlx5: E-switch, register event handler before arming the event
Currently, mlx5 is registering event handler for vport context change event some time after arming the event. this can lead to missing an event, which will result in wrong rules in the FDB. Hence, register the event handler before arming the event. This solution is valid since FW is sending vport context change event only on vports which SW armed, and SW arming the vport when enabling it, which is done after the FDB has been created. Fixes: 6933a9379559 ("net/mlx5: E-Switch, Use async events chain") Signed-off-by: Shay Drory <shayd@nvidia.com> Reviewed-by: Mark Bloch <mbloch@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