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

Host Intel 82576 Virtual Function driver. More...

#include <nul/motherboard.h>
#include <nul/compiler.h>
#include <host/hostvf.h>
#include <host/host82576.h>
#include <host/jsdriver.h>
#include <service/net.h>

Classes

struct  dma_desc
class  Host82576VF

Typedefs

typedef uint8 packet_buffer [2048]

Functions

 static_assert ((sizeof(dma_desc[desc_ring_len])&0x7F)==0,"Size of DMA descriptors must be 128-byte aligned.")
 PARAM_HANDLER (host82576vf,"host82576vf:pf,vf,[promisc=no[,throttle_us=off]] - provide driver for Intel 82576 virtual function.","Example: 'host82576vf:0,0'")

Detailed Description

Host Intel 82576 Virtual Function driver.

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 NUL.

NUL 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.

NUL 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.

Typedef Documentation

typedef uint8 packet_buffer[2048]

Function Documentation

PARAM_HANDLER ( host82576vf  ,
"host82576vf:pf  ,
vf  ,
[promisc=no[,throttle_us=off] ]-provide driver for Intel 82576 virtual function."  ,
"Example: 'host82576vf:0  ,
0'"   
)
static_assert ( (sizeof(dma_desc[desc_ring_len])&0x7F)  = =0,
"Size of DMA descriptors must be 128-byte aligned."   
)