]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Enforce irq affinity changes immediatly
authorYuval Atias <yuvala@mellanox.com>
Wed, 14 May 2014 09:15:10 +0000 (12:15 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 May 2014 19:40:32 +0000 (15:40 -0400)
commit6379da0aeeddb58fd33811685663b7919e0a101d
tree8733ae07b5752215afc6510a68f6ad7645297872
parentf9f84e81377ac2344691dee2cd2a6ee0872b9c05
net/mlx4_core: Enforce irq affinity changes immediatly

During heavy traffic, napi is constatntly polling the complition queue
and no interrupt is fired. Because of that, changes to irq affinity are
ignored until traffic is stopped and resumed.

By registering to the irq notifier mechanism, and forcing interrupt when
affinity is changed, irq affinity changes will be immediatly enforced.

Signed-off-by: Yuval Atias <yuvala@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/cq.c
drivers/net/ethernet/mellanox/mlx4/en_rx.c
drivers/net/ethernet/mellanox/mlx4/en_tx.c
drivers/net/ethernet/mellanox/mlx4/eq.c
include/linux/mlx4/device.h