xen-netback: add control protocol implementation
My recent patch to include/xen/interface/io/netif.h defines a new shared ring (in addition to the rx and tx rings) for passing control messages from a VM frontend driver to a backend driver. A previous patch added the necessary boilerplate for mapping the control ring from the frontend, should it be created. This patch adds implementations for each of the defined protocol messages. Signed-off-by:Paul Durrant <paul.durrant@citrix.com> Cc: Wei Liu <wei.liu2@citrix.com> Acked-by:
Wei Liu <wei.liu2@citrix.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/xen-netback/Makefile 1 addition, 1 deletiondrivers/net/xen-netback/Makefile
- drivers/net/xen-netback/common.h 46 additions, 0 deletionsdrivers/net/xen-netback/common.h
- drivers/net/xen-netback/hash.c 384 additions, 0 deletionsdrivers/net/xen-netback/hash.c
- drivers/net/xen-netback/interface.c 24 additions, 0 deletionsdrivers/net/xen-netback/interface.c
- drivers/net/xen-netback/netback.c 47 additions, 2 deletionsdrivers/net/xen-netback/netback.c
drivers/net/xen-netback/hash.c
0 → 100644
Please register or sign in to comment