Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/init.h>
#include <linux/etherdevice.h>
#include <linux/ip.h>
#include <linux/ratelimit.h>
#include <linux/string.h>
#include <linux/interrupt.h>
#include <net/dst.h>
#include <linux/atomic.h>
#include <asm/octeon/octeon.h>
#include "ethernet-defines.h"
#include "octeon-ethernet.h"
#include "ethernet-tx.h"
#include "ethernet-util.h"
#include <asm/octeon/cvmx-wqe.h>
#include <asm/octeon/cvmx-fau.h>
#include <asm/octeon/cvmx-pip.h>
#include <asm/octeon/cvmx-pko.h>
#include <asm/octeon/cvmx-helper.h>
#include <asm/octeon/cvmx-gmxx-defs.h>
Go to the source code of this file.
Macros | |
#define | CVM_OCT_SKB_CB(skb) ((u64 *)((skb)->cb)) |
#define | GET_SKBUFF_QOS(skb) 0 |
#define | MAX_SKB_TO_FREE (MAX_OUT_QUEUE_DEPTH * 2) |
#define GET_SKBUFF_QOS | ( | skb | ) | 0 |
Definition at line 69 of file ethernet-tx.c.
#define MAX_SKB_TO_FREE (MAX_OUT_QUEUE_DEPTH * 2) |
Definition at line 76 of file ethernet-tx.c.
void cvm_oct_free_tx_skbs | ( | struct net_device * | dev | ) |
Definition at line 97 of file ethernet-tx.c.
Definition at line 706 of file ethernet-tx.c.
Definition at line 721 of file ethernet-tx.c.
void cvm_oct_tx_shutdown_dev | ( | struct net_device * | dev | ) |
cvm_oct_tx_shutdown_dev - free all skb that are currently queued for TX. : Device being shutdown
Definition at line 670 of file ethernet-tx.c.
int cvm_oct_xmit | ( | struct sk_buff * | skb, |
struct net_device * | dev | ||
) |
cvm_oct_xmit - transmit a packet : Packet to send : Device info structure
Returns Always returns NETDEV_TX_OK
Definition at line 148 of file ethernet-tx.c.
int cvm_oct_xmit_pow | ( | struct sk_buff * | skb, |
struct net_device * | dev | ||
) |
cvm_oct_xmit_pow - transmit a packet to the POW : Packet to send : Device info structure
Returns Always returns zero
Definition at line 521 of file ethernet-tx.c.