[RFC PATCH V3] Xen netback / netfront improvement

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

Since this series includes both netback and netfront changes, the
whole series is named as "Xen netback / netfront improvement".

Changes in V3:
 - Rework of per-cpu scratch space
 - Multi page ring support
 - Split event channels
 - Rx protocol stub
 - Fix a minor bug in module_put path

Changes in V2:
 - Fix minor bugs in V1
 - Embed pending_tx_info into page pool
 - Per-cpu scratch space
 - Notification code path clean up

This version has been tested by 
Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>

V1:
A new netback implementation which includes three major features:

 - Global page pool support
 - NAPI + kthread 1:1 model
 - Netback internal name changes

This patch series is the foundation of furture work. So it is better
to get it right first. Patch 1 and 3 have the real meat.

The first benifit of 1:1 model will be scheduling fairness.

The rational behind a global page pool is that we need to limit
overall memory consumed by all vifs.

Utilization of NAPI enables the possibility to mitigate
interrupts/events, the code path is cleaned up in a separated patch.

Netback internal changes cleans up the code structure after switching
to 1:1 model. It also prepares netback for further code layout
changes.

----
 drivers/net/xen-netback/Makefile              |    2 +-
 drivers/net/xen-netback/common.h              |  149 ++-
 drivers/net/xen-netback/interface.c           |  256 ++++--
 drivers/net/xen-netback/netback.c             | 1344 +++++++------------------
 drivers/net/xen-netback/page_pool.c           |  185 ++++
 drivers/net/xen-netback/page_pool.h           |   66 ++
 drivers/net/xen-netback/xenbus.c              |  185 ++++-
 drivers/net/xen-netback/xenvif_rx_protocol0.c |  616 +++++++++++
 drivers/net/xen-netback/xenvif_rx_protocol0.h |   53 +
 drivers/net/xen-netfront.c                    |  399 ++++++--
 10 files changed, 2062 insertions(+), 1193 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux Kernel Discussion]     [Ethernet Bridging]     [Linux Wireless Networking]     [Linux Bluetooth Networking]     [Linux Networking Users]     [VLAN]     [Git]     [IETF Annouce]     [Linux Assembly]     [Security]     [Bugtraq]     [Photo]     [Singles Social Networking]     [Yosemite Information]     [MIPS Linux]     [ARM Linux Kernel]     [ARM Linux]     [Linux Virtualization]     [Linux Security]     [Linux IDE]     [Linux RAID]     [Linux SCSI]     [Free Dating]

Add to Google Powered by Linux