NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
82576vf.cc File Reference

Intel 82576 VF device model. More...

#include <nul/types.h>
#include <nul/motherboard.h>
#include <service/hexdump.h>
#include <service/time.h>
#include <service/net.h>
#include <service/endian.h>
#include <nul/net.h>
#include <model/pci.h>
#include "82576vf.h"
#include "model/simplemem.h"
#include <model/82576vfmmio.inc>
#include <model/82576vfpci.inc>

Classes

class  Model82576vf
struct  Model82576vf::queue
struct  Model82576vf::tx_queue
struct  Model82576vf::rx_queue
union  Model82576vf::rx_queue::rx_desc

Functions

 PARAM_HANDLER (82576vf,"82576vf:[promisc][,mem_mmio][,mem_msix][,txpoll_us][,rx_map] - attach an Intel 82576VF to the PCI bus.","promisc - if !=0, be always promiscuous (use for Linux VMs that need it for bridging) (Default 1)","txpoll_us - if !=0, map TX registers to guest and poll them every txpoll_us microseconds. (Default 0)","rx_map - if !=0, map RX registers to guest. (Default: Yes)","Example: 82576vf")

Detailed Description

Intel 82576 VF device model.

Copyright (C) 2010, Julian Stecklina jstec.nosp@m.kli@.nosp@m.os.in.nosp@m.f.tu.nosp@m.-dres.nosp@m.den..nosp@m.de Economic rights: Technische Universitaet Dresden (Germany)

This file is part of Vancouver.

Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details.

Function Documentation

PARAM_HANDLER ( 82576vf  ,
"82576vf: - attach an Intel 82576VF to the PCI bus."  [promisc][, mem_mmio][, mem_msix][, txpoll_us][, rx_map],
"promisc - if !  = 0,
be always promiscuous(use for Linux VMs that need it for bridging)(Default 1)"  ,
"txpoll_us - if !  = 0,
map TX registers to guest and poll them every txpoll_us microseconds.(Default 0)"  ,
"rx_map - if !  = 0,
map RX registers to guest.(Default:Yes)"  ,
"Example: 82576vf"   
)