net/mlx5: Initializing CPU reverse mapping
authorMaor Gottlieb <maorg@mellanox.com>
Thu, 28 Apr 2016 22:36:39 +0000 (01:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Apr 2016 20:29:11 +0000 (16:29 -0400)
commit5a7b27eb9cf3986f487469b57a3a41286d2e7100
treef88465fb4f1a7e4a9bbe2ac3e1e189c53d24b5f3
parent33cfaaa8f36ffbee9ad259264334325b5449f5fe
net/mlx5: Initializing CPU reverse mapping

Allocating CPU rmap and add entry for each IRQ.
CPU rmap is used in aRFS to get the RX queue number
of the RX completion interrupts.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/main.c
include/linux/mlx5/driver.h