summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMohamad Haj Yahia <mohamad@mellanox.com>2016-05-03 14:13:55 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-05-04 18:04:47 (GMT)
commit831cae1daead92c4b9c3e149c6bc14853902c204 (patch)
tree239f74a29a6db506ed8425cfe5214cc1f01158ef /scripts
parentefdc810ba39dae0ccce9cb9c1c84ff9b0157ca43 (diff)
downloadlinux-831cae1daead92c4b9c3e149c6bc14853902c204.tar.xz
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 'scripts')
0 files changed, 0 insertions, 0 deletions