sky2: Avoid down and up during sky2_reset
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | sky2: Factor out code to calculate packet sizesdrivers/ | +37 | 0 replies | |
| 2/5 | sky2: Allocate initial skbs in sky2_alloc_buffersdrivers/ | +38 | 1 reply | |
| 3/5 | sky2: Refactor sky2_up into two functionsdrivers/ | +25 | 0 replies | |
| 4/5 | sky2: Refactor sky2_down into two functionsdrivers/ | +17 | 0 replies | |
| 5/5 | sky2: Avoid down and up during sky2_resetdrivers/ | +49 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] sky2: Avoid down and up during sky2_reset
Hi Stephen,
This patch set reimplements sky2_reset so that
* interrupts are disabled during reset
* memory is not free'd and reallocated
* tx queues are stopped during reset, but the device is not brought down
Additionally, it avoids partial initialization of the hardware when ring buffer allocation fails.
The rx ring still needs to be fully allocated for sky2_up to succeed.
thanks,
Mike