]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging: et131x: Implement NAPI support
authorMark Einon <mark.einon@gmail.com>
Thu, 21 Aug 2014 10:26:09 +0000 (11:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 20:35:37 +0000 (13:35 -0700)
commitc2ebf58ba0896613ff99d23b7325e4a6f212c1f3
tree3258e28c3cde499dab94bbb99011c0512cbce509
parentdf7b3b8a3a38866ce9d21e3aa404c2c02ce8db75
staging: et131x: Implement NAPI support

This implements NAPI support for et131x by:

-adding a napi_struct to the private adapter struct
-changing netfif_rx_skb() call to netif_receive_skb()
-changing et131x_handle_recv_interrupt() to et131x_handle_recv_pkts()
 and taking a budget allocation.
-changing et131x_handle_send_interrupt() to et131x_handle_send_pkts()
-replacing bottom half workqueue with poll function which handles
 send & receive of skbs.
-adding various other necessary standard napi calls.

Also remove this item from the README TODO list.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/README
drivers/staging/et131x/et131x.c