Skip to content

Commit b5ea7d3

Browse files
vikasbrcmdavem330
authored andcommitted
bnxt_en: Fix error recovery for RoCE ulp client
Since runtime MSIXs vector allocation/free has been removed, the L2 driver needs to repopulate the MSIX entries for the ulp client as the irq table may change during the recovery process. Fixes: 3034322 ("bnxt_en: Remove runtime interrupt vector allocation") Reviewed-by: Andy Gospodarek <[email protected]> Signed-off-by: Vikas Gupta <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 7ac10c7 commit b5ea7d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@ void bnxt_ulp_start(struct bnxt *bp, int err)
210210
if (err)
211211
return;
212212

213+
if (edev->ulp_tbl->msix_requested)
214+
bnxt_fill_msix_vecs(bp, edev->msix_entries);
215+
213216
if (aux_priv) {
214217
struct auxiliary_device *adev;
215218

0 commit comments

Comments
 (0)