Re: [PATCH 01/15] lpfc: Fix used-RPI accounting problem.

2017-05-11 Thread Hannes Reinecke
On 05/10/2017 09:06 PM, James Smart wrote: > With 255 vports created a link trasition can casue a crash. > > When going through discovery after a link bounce the driver is using > rpis before the cmd FCOE_POST_HDR_TEMPLATES completes. By doing that > the next rpi bumps the rpi range out of the

[PATCH 01/15] lpfc: Fix used-RPI accounting problem.

2017-05-10 Thread James Smart
With 255 vports created a link trasition can casue a crash. When going through discovery after a link bounce the driver is using rpis before the cmd FCOE_POST_HDR_TEMPLATES completes. By doing that the next rpi bumps the rpi range out of the boundary. The fix it to increment the next_rpi only