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

Go to the source code of this file.

Enumerations

enum  { MAX_INLINE = 104, MAX_BF = 256 }
 

Functions

 module_param_named (inline_thold, inline_thold, int, 0444)
 
 MODULE_PARM_DESC (inline_thold,"threshold for using inline data")
 
int mlx4_en_create_tx_ring (struct mlx4_en_priv *priv, struct mlx4_en_tx_ring *ring, int qpn, u32 size, u16 stride)
 
void mlx4_en_destroy_tx_ring (struct mlx4_en_priv *priv, struct mlx4_en_tx_ring *ring)
 
int mlx4_en_activate_tx_ring (struct mlx4_en_priv *priv, struct mlx4_en_tx_ring *ring, int cq, int user_prio)
 
void mlx4_en_deactivate_tx_ring (struct mlx4_en_priv *priv, struct mlx4_en_tx_ring *ring)
 
int mlx4_en_free_tx_buf (struct net_device *dev, struct mlx4_en_tx_ring *ring)
 
void mlx4_en_tx_irq (struct mlx4_cq *mcq)
 
u16 mlx4_en_select_queue (struct net_device *dev, struct sk_buff *skb)
 
netdev_tx_t mlx4_en_xmit (struct sk_buff *skb, struct net_device *dev)
 

Enumeration Type Documentation

anonymous enum
Enumerator:
MAX_INLINE 
MAX_BF 

Definition at line 46 of file en_tx.c.

Function Documentation

int mlx4_en_activate_tx_ring ( struct mlx4_en_priv priv,
struct mlx4_en_tx_ring ring,
int  cq,
int  user_prio 
)

Definition at line 154 of file en_tx.c.

int mlx4_en_create_tx_ring ( struct mlx4_en_priv priv,
struct mlx4_en_tx_ring ring,
int  qpn,
u32  size,
u16  stride 
)

Definition at line 56 of file en_tx.c.

void mlx4_en_deactivate_tx_ring ( struct mlx4_en_priv priv,
struct mlx4_en_tx_ring ring 
)

Definition at line 183 of file en_tx.c.

void mlx4_en_destroy_tx_ring ( struct mlx4_en_priv priv,
struct mlx4_en_tx_ring ring 
)

Definition at line 136 of file en_tx.c.

int mlx4_en_free_tx_buf ( struct net_device dev,
struct mlx4_en_tx_ring ring 
)

Definition at line 273 of file en_tx.c.

u16 mlx4_en_select_queue ( struct net_device dev,
struct sk_buff skb 
)

Definition at line 523 of file en_tx.c.

void mlx4_en_tx_irq ( struct mlx4_cq mcq)

Definition at line 376 of file en_tx.c.

netdev_tx_t mlx4_en_xmit ( struct sk_buff skb,
struct net_device dev 
)

Definition at line 543 of file en_tx.c.

module_param_named ( inline_thold  ,
inline_thold  ,
int  ,
0444   
)
MODULE_PARM_DESC ( inline_thold  ,
"threshold for using inline data  
)