Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
en_netdev.c File Reference
#include <linux/etherdevice.h>
#include <linux/tcp.h>
#include <linux/if_vlan.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/hash.h>
#include <net/ip.h>
#include <linux/mlx4/driver.h>
#include <linux/mlx4/device.h>
#include <linux/mlx4/cmd.h>
#include <linux/mlx4/cq.h>
#include "mlx4_en.h"
#include "en_port.h"

Go to the source code of this file.

Functions

u64 mlx4_en_mac_to_u64 (u8 *addr)
 
int mlx4_en_start_port (struct net_device *dev)
 
void mlx4_en_stop_port (struct net_device *dev)
 
void mlx4_en_free_resources (struct mlx4_en_priv *priv)
 
int mlx4_en_alloc_resources (struct mlx4_en_priv *priv)
 
void mlx4_en_destroy_netdev (struct net_device *dev)
 
int mlx4_en_init_netdev (struct mlx4_en_dev *mdev, int port, struct mlx4_en_port_profile *prof)
 

Function Documentation

int mlx4_en_alloc_resources ( struct mlx4_en_priv priv)

Definition at line 1403 of file en_netdev.c.

void mlx4_en_destroy_netdev ( struct net_device dev)

Definition at line 1454 of file en_netdev.c.

void mlx4_en_free_resources ( struct mlx4_en_priv priv)

Definition at line 1373 of file en_netdev.c.

int mlx4_en_init_netdev ( struct mlx4_en_dev mdev,
int  port,
struct mlx4_en_port_profile prof 
)

Definition at line 1558 of file en_netdev.c.

u64 mlx4_en_mac_to_u64 ( u8 addr)

Definition at line 417 of file en_netdev.c.

int mlx4_en_start_port ( struct net_device dev)

Definition at line 1023 of file en_netdev.c.

void mlx4_en_stop_port ( struct net_device dev)

Definition at line 1210 of file en_netdev.c.