diff options
author | 2016-05-03 17:13:55 +0300 | |
---|---|---|
committer | 2016-05-04 14:04:47 -0400 | |
commit | 831cae1daead92c4b9c3e149c6bc14853902c204 (patch) | |
tree | 239f74a29a6db506ed8425cfe5214cc1f01158ef /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net/mlx5: Flow steering, Add vport ACL support (diff) | |
download | linux-dev-831cae1daead92c4b9c3e149c6bc14853902c204.tar.xz linux-dev-831cae1daead92c4b9c3e149c6bc14853902c204.zip |
net/mlx5: E-Switch, Replace vport spin lock with synchronize_irq()
Vport spin lock can be replaced with synchronize_irq() in the right
place, this will remove the need of locking inside irq context.
Locking in esw_enable_vport is not required since vport events are yet
to be enabled, and at esw_disable_vport it is sufficient to
synchronize_irq() to guarantee no further vport events handlers will be
scheduled.
Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions