f942dc2552
netback is the host side counterpart to the frontend driver in
drivers/net/xen-netfront.c. The PV protocol is also implemented by
frontend drivers in other OSes too, such as the BSDs and even Windows.
The patch is based on the driver from the xen.git pvops kernel tree but
has been put through the checkpatch.pl wringer plus several manual
cleanup passes and review iterations. The driver has been moved from
drivers/xen/netback to drivers/net/xen-netback.
One major change from xen.git is that the guest transmit path (i.e. what
looks like receive to netback) has been significantly reworked to remove
the dependency on the out of tree PageForeign page flag (a core kernel
patch which enables a per page destructor callback on the final
put_page). This page flag was used in order to implement a grant map
based transmit path (where guest pages are mapped directly into SKB
frags). Instead this version of netback uses grant copy operations into
regular memory belonging to the backend domain. Reinstating the grant
map functionality is something which I would like to revisit in the
future.
Note that this driver depends on
|
||
---|---|---|
.. | ||
interface | ||
events.h | ||
evtchn.h | ||
features.h | ||
gntdev.h | ||
grant_table.h | ||
hvc-console.h | ||
hvm.h | ||
Kbuild | ||
page.h | ||
platform_pci.h | ||
privcmd.h | ||
swiotlb-xen.h | ||
xen-ops.h | ||
xen.h | ||
xenbus.h | ||
xencomm.h |