{NET,IB}/mlx4: Add rmap support to mlx4_assign_eq
authorAmir Vadai <amirv@mellanox.com>
Wed, 18 Jul 2012 22:33:51 +0000 (22:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jul 2012 15:34:37 +0000 (08:34 -0700)
commitd9236c3f10490cd0b3fd4516af12ba62dcbae0b0
tree9fbfa70657455d1e22eecc2ef71f5e1dfa58c5be
parent122733a189d687087364d6dc3ecc7c682554f6a0
{NET,IB}/mlx4: Add rmap support to mlx4_assign_eq

Enable callers of mlx4_assign_eq to supply a pointer to cpu_rmap.
If supplied, the assigned IRQ is tracked using rmap infrastructure.

Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/mlx4/main.c
drivers/net/ethernet/mellanox/mlx4/en_cq.c
drivers/net/ethernet/mellanox/mlx4/eq.c
include/linux/mlx4/device.h