qed: Add doorbell overflow recovery mechanism
authorAriel Elior <Ariel.Elior@cavium.com>
Wed, 28 Nov 2018 16:16:02 +0000 (18:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Nov 2018 21:45:12 +0000 (13:45 -0800)
commit36907cd5cd720c5a6d36670b49eba3b1f7f4d8fe
tree537e45c004acac490f7f13e27b27935d04b4885f
parentdd354208dc8638a93f1c1482db8f9c205e3e53b4
qed: Add doorbell overflow recovery mechanism

Add the database used to register doorbelling entities, and APIs for adding
and deleting entries, and logic for traversing the database and doorbelling
once on behalf of all entities.

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.h
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_dev_api.h
include/linux/qed/qed_if.h