OSDN Git Service

ionic: missed doorbell workaround
authorAllen Hubbe <allen.hubbe@amd.com>
Thu, 2 Feb 2023 21:55:37 +0000 (13:55 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 4 Feb 2023 03:58:53 +0000 (19:58 -0800)
commitb69585bfceceeffda940906cabfdaee4b47bde92
treee7fdd5ff81309b39b8aebce303fb3beda00e26d5
parent1fffb0254178de1d4d9e67f467a3460d10680b10
ionic: missed doorbell workaround

In one version of the HW there is a remote possibility that it
will miss the doorbell ring.  This adds a bit of protection to
be sure we don't stall a queue from a missed doorbell.

Fixes: 0f3154e6bcb3 ("ionic: Add Tx and Rx handling")
Signed-off-by: Allen Hubbe <allen.hubbe@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_dev.c
drivers/net/ethernet/pensando/ionic/ionic_dev.h
drivers/net/ethernet/pensando/ionic/ionic_lif.c
drivers/net/ethernet/pensando/ionic/ionic_lif.h
drivers/net/ethernet/pensando/ionic/ionic_main.c
drivers/net/ethernet/pensando/ionic/ionic_txrx.c