]> git.baikalelectronics.ru Git - kernel.git/commit
xen-netback: add control protocol implementation
authorPaul Durrant <Paul.Durrant@citrix.com>
Fri, 13 May 2016 08:37:27 +0000 (09:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2016 17:35:56 +0000 (13:35 -0400)
commit7be81fa3bb7f12111dffb413c2305feabcdc79de
tree7a4bd1027e08d3a2a37a678ab7f3c58cc14b0be5
parent33623ca83d30a0c5c075e37decaeb2e33ad1f5fc
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>
drivers/net/xen-netback/Makefile
drivers/net/xen-netback/common.h
drivers/net/xen-netback/hash.c [new file with mode: 0644]
drivers/net/xen-netback/interface.c
drivers/net/xen-netback/netback.c