qed: Register light L2 queues with doorbell overflow recovery mechanism
authorAriel Elior <Ariel.Elior@cavium.com>
Wed, 28 Nov 2018 16:16:05 +0000 (18:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Nov 2018 21:45:13 +0000 (13:45 -0800)
commitb78d5400bda4e7c49ffdb001df83e4ffcb93d63b
treec95fe08350b8edd479ac7e8d9b62c681a9e14fc0
parent9ecd8c3feaa53405508499495d06a6f1e7dc8e7b
qed: Register light L2 queues with doorbell overflow recovery mechanism

Light L2 queues are doorbelling entities. Modify the implementation
to keep the doorbell data necessary for doorbelling in well known
location instead of recomputing every time. Register the LL2 queue
with doorbell recovery mechanism.

Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Tomer Tayar <Tomer.Tayar@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_ll2.c
drivers/net/ethernet/qlogic/qed/qed_ll2.h