Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
en_rx.c File Reference
#include <linux/mlx4/cq.h>
#include <linux/slab.h>
#include <linux/mlx4/qp.h>
#include <linux/skbuff.h>
#include <linux/if_ether.h>
#include <linux/if_vlan.h>
#include <linux/vmalloc.h>
#include "mlx4_en.h"

Go to the source code of this file.

Functions

int mlx4_en_create_rx_ring (struct mlx4_en_priv *priv, struct mlx4_en_rx_ring *ring, u32 size, u16 stride)
 
int mlx4_en_activate_rx_rings (struct mlx4_en_priv *priv)
 
void mlx4_en_destroy_rx_ring (struct mlx4_en_priv *priv, struct mlx4_en_rx_ring *ring, u32 size, u16 stride)
 
void mlx4_en_deactivate_rx_ring (struct mlx4_en_priv *priv, struct mlx4_en_rx_ring *ring)
 
int mlx4_en_process_rx_cq (struct net_device *dev, struct mlx4_en_cq *cq, int budget)
 
void mlx4_en_rx_irq (struct mlx4_cq *mcq)
 
int mlx4_en_poll_rx_cq (struct napi_struct *napi, int budget)
 
void mlx4_en_calc_rx_buf (struct net_device *dev)
 
int mlx4_en_create_drop_qp (struct mlx4_en_priv *priv)
 
void mlx4_en_destroy_drop_qp (struct mlx4_en_priv *priv)
 
int mlx4_en_config_rss_steer (struct mlx4_en_priv *priv)
 
void mlx4_en_release_rss_steer (struct mlx4_en_priv *priv)
 

Function Documentation

int mlx4_en_activate_rx_rings ( struct mlx4_en_priv priv)

Definition at line 332 of file en_rx.c.

void mlx4_en_calc_rx_buf ( struct net_device dev)

Definition at line 784 of file en_rx.c.

int mlx4_en_config_rss_steer ( struct mlx4_en_priv priv)

Definition at line 907 of file en_rx.c.

int mlx4_en_create_drop_qp ( struct mlx4_en_priv priv)

Definition at line 876 of file en_rx.c.

int mlx4_en_create_rx_ring ( struct mlx4_en_priv priv,
struct mlx4_en_rx_ring ring,
u32  size,
u16  stride 
)

Definition at line 286 of file en_rx.c.

void mlx4_en_deactivate_rx_ring ( struct mlx4_en_priv priv,
struct mlx4_en_rx_ring ring 
)

Definition at line 415 of file en_rx.c.

void mlx4_en_destroy_drop_qp ( struct mlx4_en_priv priv)

Definition at line 896 of file en_rx.c.

void mlx4_en_destroy_rx_ring ( struct mlx4_en_priv priv,
struct mlx4_en_rx_ring ring,
u32  size,
u16  stride 
)

Definition at line 401 of file en_rx.c.

int mlx4_en_poll_rx_cq ( struct napi_struct napi,
int  budget 
)

Definition at line 743 of file en_rx.c.

int mlx4_en_process_rx_cq ( struct net_device dev,
struct mlx4_en_cq cq,
int  budget 
)

Definition at line 553 of file en_rx.c.

void mlx4_en_release_rss_steer ( struct mlx4_en_priv priv)

Definition at line 997 of file en_rx.c.

void mlx4_en_rx_irq ( struct mlx4_cq mcq)

Definition at line 731 of file en_rx.c.