Re: [PATCH 2/2] staging: unisys: visornic: Convert to using napi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 31, 2015 at 06:56:33PM -0400, Benjamin Romer wrote:
> From: Neil Horman <nhorman@xxxxxxxxxx>
> 
> Switch the visornic over to use napi.  Currently there is a kernel
> thread
> that sits and waits on a wait queue to get notified of incoming virtual
> interrupts. It would be nice if we could handle frame reception using
> the
> standard napi processing instead.  This patch creates our napi instance
> and has the rx thread schedule it
> 
> Given that the unisys hypervisor currently requires that queue servicing
> be done by a polling loop that wakes up every 2ms, lets instead also
> convert that to a timer, which is simpler, and allows us to remove all
> the thread starting and stopping code.
> 
> Signed-off-by: Neil Horman <nhorman@xxxxxxxxxxxxx>
> Signed-off-by: Benjamin Romer <benjamin.romer@xxxxxxxxxx>
> ---
>  drivers/staging/unisys/visornic/visornic_main.c | 209 ++++++++++--------------
>  1 file changed, 84 insertions(+), 125 deletions(-)

Does not apply to the tree, please rebase and resend.

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux