qed: Reserve doorbell BAR space for present CPUs
authorRam Amrani <Ram.Amrani@cavium.com>
Mon, 20 Feb 2017 20:43:33 +0000 (22:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2017 22:11:54 +0000 (17:11 -0500)
commitc2dedf8773e873474535bd4a158609b9eda5403d
tree2e273b2f1576488f3a92f9a7aaf5be788fb7cf38
parent300c0d7c232da572cb640f3bc803554f74e08f69
qed: Reserve doorbell BAR space for present CPUs

Reserving doorbell BAR space according to the currently active CPUs
may result in a bug if disabled CPUs are later enabled but no
doorbell space was reserved for them.

Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dev.c