diff options
author | Mitch Williams <[email protected]> | 2021-06-04 09:53:28 -0700 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2021-12-01 13:46:14 -0800 |
commit | 7e4dcc13965c57869684d57a1dc6dd7be589488c (patch) | |
tree | f13fa8bfc06fd72095700ad9bf91e0818a65f9d1 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 3968e3cafafb72ecf12d1263f935d20bc9df9bc2 (diff) |
iavf: restore MSI state on reset
If the PF experiences an FLR, the VF's MSI and MSI-X configuration will
be conveniently and silently removed in the process. When this happens,
reset recovery will appear to complete normally but no traffic will
pass. The netdev watchdog will helpfully notify everyone of this issue.
To prevent such public embarrassment, restore MSI configuration at every
reset. For normal resets, this will do no harm, but for VF resets
resulting from a PF FLR, this will keep the VF working.
Fixes: 5eae00c57f5e ("i40evf: main driver core")
Signed-off-by: Mitch Williams <[email protected]>
Tested-by: George Kuruvinakunnel <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions