#include <linux/types.h>
#include <linux/timer.h>
#include <linux/io.h>
#include <linux/netdevice.h>
#include <linux/if_vlan.h>
#include "vf.h"
Go to the source code of this file.
|
enum | latency_range {
lowest_latency = 0,
low_latency = 1,
bulk_latency = 2,
latency_invalid = 255,
lowest_latency = 0,
low_latency = 1,
bulk_latency = 2,
latency_invalid = 255,
lowest_latency = 0,
low_latency = 1,
bulk_latency = 2,
latency_invalid = 255,
lowest_latency = 0,
low_latency = 1,
bulk_latency = 2,
latency_invalid = 255,
lowest_latency = 0,
low_latency = 1,
bulk_latency = 2,
latency_invalid = 255,
lowest_latency = 0,
low_latency = 1,
bulk_latency = 2,
latency_invalid = 255
} |
|
enum | igbvf_boards { board_vf,
board_i350_vf
} |
|
enum | igbvf_state_t { __IGBVF_TESTING,
__IGBVF_RESETTING,
__IGBVF_DOWN
} |
|
#define IGBVF_20K_ITR 196 |
#define IGBVF_DEFAULT_RXD 256 |
#define IGBVF_DEFAULT_TXD 256 |
#define IGBVF_EEPROM_APME 0x0400 |
#define IGBVF_FC_PAUSE_TIME 0x0680 /* 858 usec */ |
#define IGBVF_FLAG_RX_CSUM_DISABLED (1 << 0) |
#define IGBVF_INT_MODE_LEGACY 0 |
#define IGBVF_INT_MODE_MSI 1 |
#define IGBVF_INT_MODE_MSIX 2 |
#define IGBVF_MAX_ITR_USECS 10000 /* 100 irq/sec */ |
#define IGBVF_MAX_RXD 4096 |
#define IGBVF_MAX_TXD 4096 |
#define IGBVF_MIN_ITR_USECS 10 /* 100000 irq/sec */ |
#define IGBVF_MNG_VLAN_NONE (-1) |
#define IGBVF_RX_BUFFER_WRITE 16 /* Must be power of 2 */ |
#define IGBVF_RX_HTHRESH 8 |
#define IGBVF_RX_PTHRESH 16 |
#define IGBVF_RX_WTHRESH 1 |
#define IGBVF_START_ITR 488 /* ~8000 ints/sec */ |
#define IGBVF_TX_CTXTDESC_ADV |
( |
|
R, |
|
|
|
i |
|
) |
| (&((((R).desc))[i].tx_context_desc)) |
#define IGBVF_TX_QUEUE_WAKE 32 |
#define MAXIMUM_ETHERNET_VLAN_SIZE 1522 |
- Enumerator:
-
Definition at line 109 of file igbvf.h.
- Enumerator:
__IGBVF_TESTING |
|
__IGBVF_RESETTING |
|
__IGBVF_DOWN |
|
Definition at line 306 of file igbvf.h.
- Enumerator:
lowest_latency |
|
low_latency |
|
bulk_latency |
|
latency_invalid |
|
lowest_latency |
|
low_latency |
|
bulk_latency |
|
latency_invalid |
|
lowest_latency |
|
low_latency |
|
bulk_latency |
|
latency_invalid |
|
lowest_latency |
|
low_latency |
|
bulk_latency |
|
latency_invalid |
|
lowest_latency |
|
low_latency |
|
bulk_latency |
|
latency_invalid |
|
lowest_latency |
|
low_latency |
|
bulk_latency |
|
latency_invalid |
|
Definition at line 51 of file igbvf.h.
igbvf_free_rx_resources - Free Rx Resources : ring to clean the resources from
Free all receive software resources
Definition at line 613 of file netdev.c.
igbvf_free_tx_resources - Free Tx Resources per Queue : ring to free resources from
Free all transmit software resources
Definition at line 529 of file netdev.c.
igbvf_setup_rx_resources - allocate Rx resources (Descriptors) : board private structure
Returns 0 on success, negative on failure
Definition at line 452 of file netdev.c.
igbvf_setup_tx_resources - allocate Tx resources (Descriptors) : board private structure
Return 0 on success, negative on failure
Definition at line 413 of file netdev.c.
igbvf_update_stats - Update the board statistics counters : board private structure
Definition at line 1740 of file netdev.c.