Commit 541a7810 authored by Committed by David S. Miller
cnic: Fine-tune ring init code.
Initialize the rings only during cnic_uio_open() and shut them down during cnic_uio_close(). Check for the new bit CNIC_LCL_FL_RINGS_INITED before checking for ring interrupt. Signed-off-by: Michael Chan <firstname.lastname@example.org> Signed-off-by: Dmitry Kravkov <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>
Showing with 19 additions and 6 deletions