xen-netback: switch to NAPI + kthread 1:1 model
authorWei Liu <wei.liu2@citrix.com>
Mon, 26 Aug 2013 11:59:38 +0000 (12:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Aug 2013 05:18:04 +0000 (01:18 -0400)
This patch implements 1:1 model netback. NAPI and kthread are utilized
to do the weight-lifting job:

- NAPI is used for guest side TX (host side RX)
- kthread is used for guest side RX (host side TX)

Xenvif and xen_netbk are made into one structure to reduce code size.

This model provides better scheduling fairness among vifs. It is also
prerequisite for implementing multiqueue for Xen netback.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found