summaryrefslogtreecommitdiffstats
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@hp.com>2009-02-04 09:02:34 +0000
committerDavid S. Miller <davem@davemloft.net>2009-02-04 16:35:11 -0800
commit2a41f71d3bd97dde3305b4e1c43ab0eca46e7c71 (patch)
treed739c170b843ff322ff0897465adbca5cd7041c7 /drivers/Makefile
parent073a24364fe6de7eef0a3dec0ec7d48e56624092 (diff)
downloadop-kernel-dev-2a41f71d3bd97dde3305b4e1c43ab0eca46e7c71.zip
op-kernel-dev-2a41f71d3bd97dde3305b4e1c43ab0eca46e7c71.tar.gz
virtio_net: Add a virtqueue for outbound control commands
This will be used for RX mode, MAC filter table, VLAN filtering, etc... The control transaction consists of one or more "out" sg entries and one or more "in" sg entries. The first out entry contains a header defining the class and command. Additional out entries may provide data for the command. The last in entry provides a status response back from the command. Virtqueues typically run asynchronous, running a callback function when there's data in the channel. We can't readily make use of this in the command paths where we need to use this. Instead, we kick the virtqueue and spin. The kick causes an I/O write, triggering an immediate trap into the hypervisor. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud