Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
netvsc.c File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/wait.h>
#include <linux/mm.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/netdevice.h>
#include <linux/if_ether.h>
#include "hyperv_net.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define RING_AVAIL_PERCENT_HIWATER   20
 
#define RING_AVAIL_PERCENT_LOWATER   10
 

Functions

int netvsc_device_remove (struct hv_device *device)
 
int netvsc_send (struct hv_device *device, struct hv_netvsc_packet *packet)
 
int netvsc_device_add (struct hv_device *device, void *additional_info)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 21 of file netvsc.c.

#define RING_AVAIL_PERCENT_HIWATER   20

Definition at line 422 of file netvsc.c.

#define RING_AVAIL_PERCENT_LOWATER   10

Definition at line 423 of file netvsc.c.

Function Documentation

int netvsc_device_add ( struct hv_device *  device,
void additional_info 
)

Definition at line 881 of file netvsc.c.

int netvsc_device_remove ( struct hv_device *  device)

Definition at line 379 of file netvsc.c.

int netvsc_send ( struct hv_device *  device,
struct hv_netvsc_packet packet 
)

Definition at line 494 of file netvsc.c.