]> 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)
commit182125dba491acd1e8893c1d6d10b171ec300493
tree8733ae07b5752215afc6510a68f6ad7645297872
parent29f5310e61605a41dd719a009eafebfdb005b2ed
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