#include <linux/rtnetlink.h>
#include <linux/workqueue.h>
#include <linux/ipv6.h>
#include <linux/etherdevice.h>
#include <linux/mutex.h>
#include <linux/firmware.h>
#include <linux/if_vlan.h>
#include <asm/checksum.h>
#include <net/ip6_checksum.h>
#include <net/ip.h>
#include <net/tcp.h>
#include "bna.h"
Go to the source code of this file.
#define BNAD_CF_ALLMULTI 0x04 |
#define BNAD_CF_DIM_ENABLED 0x01 /* DIM */ |
#define BNAD_CF_MSIX 0x08 /* If in MSIx mode */ |
#define BNAD_CF_PROMISC 0x02 |
#define BNAD_DIM_TIMER_FREQ 1000 /* in msecs */ |
#define bnad_enable_rx_irq_unsafe |
( |
|
_ccb | ) |
|
Value:{ \
bna_ib_coalescing_timer_set((_ccb)->i_dbell, \
(_ccb)->rx_coalescing_timeo); \
bna_ib_ack((_ccb)->i_dbell, 0); \
} \
}
Definition at line 399 of file bnad.h.
#define BNAD_FP_IN_RX_PATH 0 |
#define BNAD_GET_CTR |
( |
|
_bnad, |
|
|
|
_ctr |
|
) |
| ((_bnad)->stats.drv_stats._ctr) |
#define BNAD_INTX_RX_IB_BITMASK 0x2 |
#define BNAD_INTX_TX_IB_BITMASK 0x1 |
#define BNAD_IOCETH_TIMEOUT 10000 |
#define BNAD_JUMBO_MTU 9000 |
#define BNAD_MAILBOX_MSIX_INDEX 0 |
#define BNAD_MAILBOX_MSIX_VECTORS 1 |
#define BNAD_MAX_Q_DEPTH 0x10000 |
#define BNAD_MAX_RXP_PER_RX 16 |
#define BNAD_MAX_RXQ_PER_RXP 2 |
#define BNAD_MAX_TXQ_PER_TX 8 /* 8 priority queues */ |
#define BNAD_MIN_Q_DEPTH 0x200 |
#define BNAD_NETIF_WAKE_THRESHOLD 8 |
#define BNAD_NUM_RXP (bnad->num_rx * bnad->num_rxp_per_rx) |
#define BNAD_NUM_TXQ (bnad->num_tx * bnad->num_txq_per_tx) |
#define BNAD_RF_CEE_RUNNING 0 |
#define BNAD_RF_DIM_TIMER_RUNNING 4 |
#define BNAD_RF_MBOX_IRQ_DISABLED 2 |
#define BNAD_RF_MTU_SET 1 |
#define BNAD_RF_NETDEV_REGISTERED 3 |
#define BNAD_RF_STATS_TIMER_RUNNING 5 |
#define BNAD_RF_TX_PRIO_SET 6 |
#define BNAD_RXQ_DEPTH 2048 |
#define BNAD_RXQ_POST_OK 2 |
#define BNAD_RXQ_REFILL 0 |
#define BNAD_RXQ_REFILL_THRESHOLD_SHIFT 3 |
#define BNAD_RXQ_STARTED 1 |
#define BNAD_STATS_TIMER_FREQ 1000 /* in msecs */ |
#define BNAD_TXQ_DEPTH 2048 |
#define BNAD_TXQ_FREE_SENT 0 |
#define BNAD_TXQ_TX_STARTED 1 |
#define BNAD_UPDATE_CTR |
( |
|
_bnad, |
|
|
|
_ctr |
|
) |
| (((_bnad)->stats.drv_stats._ctr)++) |
#define BNAD_VERSION "3.0.23.0" |
- Enumerator:
BNAD_INTR_TX |
|
BNAD_INTR_RX |
|
Definition at line 117 of file bnad.h.
- Enumerator:
-
Definition at line 122 of file bnad.h.