Commit 62a261f
net: ena: Add a counter for driver's reset failures
This patch adds a counter to the ena_adapter struct in
order to keep track of reset failures.
The counter is incremented every time either ena_restore_device()
or ena_destroy_device() fail.
Signed-off-by: Osama Abboud <[email protected]>
Signed-off-by: David Arinzon <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>1 parent 5fcc17d commit 62a261f
File tree
3 files changed
+14
-6
lines changed- drivers/net/ethernet/amazon/ena
3 files changed
+14
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
3235 | 3235 | | |
3236 | 3236 | | |
3237 | 3237 | | |
3238 | | - | |
| 3238 | + | |
3239 | 3239 | | |
3240 | 3240 | | |
3241 | 3241 | | |
3242 | 3242 | | |
| 3243 | + | |
3243 | 3244 | | |
3244 | 3245 | | |
3245 | | - | |
| 3246 | + | |
3246 | 3247 | | |
3247 | 3248 | | |
3248 | 3249 | | |
| |||
3260 | 3261 | | |
3261 | 3262 | | |
3262 | 3263 | | |
3263 | | - | |
| 3264 | + | |
3264 | 3265 | | |
3265 | 3266 | | |
3266 | 3267 | | |
| |||
3279 | 3280 | | |
3280 | 3281 | | |
3281 | 3282 | | |
| 3283 | + | |
| 3284 | + | |
3282 | 3285 | | |
3283 | 3286 | | |
3284 | 3287 | | |
| |||
3355 | 3358 | | |
3356 | 3359 | | |
3357 | 3360 | | |
| 3361 | + | |
| 3362 | + | |
3358 | 3363 | | |
3359 | 3364 | | |
3360 | 3365 | | |
3361 | 3366 | | |
3362 | 3367 | | |
3363 | 3368 | | |
3364 | | - | |
3365 | | - | |
| 3369 | + | |
| 3370 | + | |
| 3371 | + | |
3366 | 3372 | | |
3367 | 3373 | | |
3368 | 3374 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| 293 | + | |
293 | 294 | | |
294 | 295 | | |
295 | 296 | | |
| |||
0 commit comments