summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/pensando/ionic/ionic_lif.h
diff options
context:
space:
mode:
authorNeel Patel <neel.patel@amd.com>2023-02-02 13:55:35 -0800
committerJakub Kicinski <kuba@kernel.org>2023-02-03 19:58:53 -0800
commite8797a058466b60fc5a3291b92430c93ba90eaff (patch)
tree6dd96a7e711c668a37ddc7eec6b8c39f7a6c836d /drivers/net/ethernet/pensando/ionic/ionic_lif.h
parent69ff53e4a4c9498eeed7d1441f68a1481dc69251 (diff)
ionic: clean interrupt before enabling queue to avoid credit race
Clear the interrupt credits before enabling the queue rather than after to be sure that the enabled queue starts at 0 and that we don't wipe away possible credits after enabling the queue. Fixes: 0f3154e6bcb3 ("ionic: Add Tx and Rx handling") Signed-off-by: Neel Patel <neel.patel@amd.com> Signed-off-by: Shannon Nelson <shannon.nelson@amd.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic/ionic_lif.h')
0 files changed, 0 insertions, 0 deletions