]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Correct MSI-x for storage
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Wed, 5 Apr 2017 18:20:11 +0000 (21:20 +0300)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 26 Jul 2017 03:46:56 +0000 (20:46 -0700)
commit7a6f1b0327f138974fe1506381abba42ebffdce1
tree8df680c10bd3656213fea124e6e21e3b83f0b850
parente6b9abd950e8043ee3602854c7d55a9f76266e42
qed: Correct MSI-x for storage

Orabug: 2593305326439680

When qedr is enabled, qed would try dividing the msi-x vectors between
L2 and RoCE, starting with L2 and providing it with sufficient vectors
for its queues.

Problem is qed would also do that for storage partitions, and as those
don't need queues it would lead qed to award those partitions with 0
msi-x vectors, causing them to believe theye're using INTa and
preventing them from operating.

Fixes: 51ff17251c9c ("qed: Add support for RoCE hw init")
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_main.c