#include <linux/types.h>
#include <linux/bitops.h>
#include <linux/timer.h>
#include <linux/io.h>
#include <linux/netdevice.h>
#include <linux/if_vlan.h>
#include <linux/u64_stats_sync.h>
#include "vf.h"
Go to the source code of this file.
#define EITR_INTS_PER_SEC_TO_REG |
( |
|
_eitr | ) |
((_eitr) ? (1000000000 / ((_eitr) * 256)) : 8) |
#define hw_dbg |
( |
|
hw, |
|
|
|
format, |
|
|
|
arg... |
|
) |
| do {} while (0) |
#define IXGBE_100K_ITR 40 |
#define IXGBE_10K_ITR 400 |
#define IXGBE_20K_ITR 200 |
#define IXGBE_DESC_UNUSED |
( |
|
R | ) |
|
Value:((((
R)->next_to_clean > (
R)->next_to_use) ? 0 : (
R)->count) + \
(
R)->next_to_clean - (
R)->next_to_use - 1)
Definition at line 167 of file ixgbevf.h.
#define IXGBE_FLAG_IN_WATCHDOG_TASK (u32)(1) |
#define IXGBE_MAX_JUMBO_FRAME_SIZE 9728 /* Maximum Supported Size 9.5KB */ |
#define IXGBE_MIN_RSC_ITR 24 |
#define IXGBE_TX_FLAGS_CSUM (u32)(1) |
#define IXGBE_TX_FLAGS_FCOE (u32)(1 << 4) |
#define IXGBE_TX_FLAGS_FSO (u32)(1 << 5) |
#define IXGBE_TX_FLAGS_IPV4 (u32)(1 << 3) |
#define IXGBE_TX_FLAGS_TSO (u32)(1 << 2) |
#define IXGBE_TX_FLAGS_VLAN (u32)(1 << 1) |
#define IXGBE_TX_FLAGS_VLAN_MASK 0xffff0000 |
#define IXGBE_TX_FLAGS_VLAN_PRIO_MASK 0x0000e000 |
#define IXGBE_TX_FLAGS_VLAN_SHIFT 16 |
#define IXGBEVF_DEFAULT_RXD 512 |
#define IXGBEVF_DEFAULT_TXD 1024 |
#define IXGBEVF_MAX_RXD 4096 |
#define IXGBEVF_MAX_TXD 4096 |
#define IXGBEVF_MIN_RXD 64 |
#define IXGBEVF_MIN_TXD 64 |
#define IXGBEVF_RX_BUFFER_WRITE 16 /* Must be power of 2 */ |
#define IXGBEVF_RXBUFFER_15K 15360 |
#define IXGBEVF_RXBUFFER_3K 3072 |
#define IXGBEVF_RXBUFFER_7K 7168 |
#define MAX_MSIX_Q_VECTORS 2 |
#define MIN_MSIX_Q_VECTORS 1 |
- Enumerator:
__IXGBEVF_TESTING |
|
__IXGBEVF_RESETTING |
|
__IXGBEVF_DOWN |
|
Definition at line 258 of file ixgbevf.h.
- Enumerator:
board_82599_vf |
|
board_X540_vf |
|
Definition at line 269 of file ixgbevf.h.
ixgbevf_free_rx_resources - Free Rx Resources : board private structure : ring to clean the resources from
Free all receive software resources
Definition at line 2348 of file ixgbevf_main.c.
ixgbevf_free_tx_resources - Free Tx Resources per Queue : board private structure : Tx descriptor ring for a specific queue
Free all transmit software resources
Definition at line 2176 of file ixgbevf_main.c.
ixgbevf_setup_rx_resources - allocate Rx resources (Descriptors) : board private structure : rx descriptor ring (for a specific queue) to setup
Returns 0 on success, negative on failure
Definition at line 2281 of file ixgbevf_main.c.
ixgbevf_setup_tx_resources - allocate Tx resources (Descriptors) : board private structure : tx descriptor ring (for a specific queue) to setup
Return 0 on success, negative on failure
Definition at line 2216 of file ixgbevf_main.c.
ixgbevf_update_stats - Update the board statistics counters. : board private structure
Definition at line 2016 of file ixgbevf_main.c.
Definition at line 530 of file vf.c.
Definition at line 535 of file vf.c.