Re: [PATCH net-next RFC 1/2] tun: enable NAPI for TUN/TAP driver

2017-09-06 Thread Willem de Bruijn
On Wed, Sep 6, 2017 at 12:51 AM, Stephen Hemminger wrote: > On Tue, 5 Sep 2017 15:35:50 -0700 > Petar Penkov wrote: > >> Changes TUN driver to use napi_gro_receive() upon receiving packets >> rather than netif_rx_ni(). Adds flag CONFIG_TUN_NAPI

Re: [PATCH net-next RFC 1/2] tun: enable NAPI for TUN/TAP driver

2017-09-05 Thread Stephen Hemminger
On Tue, 5 Sep 2017 15:35:50 -0700 Petar Penkov wrote: > Changes TUN driver to use napi_gro_receive() upon receiving packets > rather than netif_rx_ni(). Adds flag CONFIG_TUN_NAPI that enables > these changes and operation is not affected if the flag is disabled. > SKBs are

[PATCH net-next RFC 1/2] tun: enable NAPI for TUN/TAP driver

2017-09-05 Thread Petar Penkov
Changes TUN driver to use napi_gro_receive() upon receiving packets rather than netif_rx_ni(). Adds flag CONFIG_TUN_NAPI that enables these changes and operation is not affected if the flag is disabled. SKBs are constructed upon packet arrival and are queued to be processed later. The new path