Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ixgbe_lib.c File Reference
#include "ixgbe.h"
#include "ixgbe_sriov.h"

Go to the source code of this file.

Macros

#define IXGBE_RSS_16Q_MASK   0xF
 
#define IXGBE_RSS_8Q_MASK   0x7
 
#define IXGBE_RSS_4Q_MASK   0x3
 
#define IXGBE_RSS_2Q_MASK   0x1
 
#define IXGBE_RSS_DISABLED_MASK   0x0
 

Functions

int ixgbe_init_interrupt_scheme (struct ixgbe_adapter *adapter)
 
void ixgbe_clear_interrupt_scheme (struct ixgbe_adapter *adapter)
 
void ixgbe_tx_ctxtdesc (struct ixgbe_ring *tx_ring, u32 vlan_macip_lens, u32 fcoe_sof_eof, u32 type_tucmd, u32 mss_l4len_idx)
 

Macro Definition Documentation

#define IXGBE_RSS_16Q_MASK   0xF

Definition at line 307 of file ixgbe_lib.c.

#define IXGBE_RSS_2Q_MASK   0x1

Definition at line 310 of file ixgbe_lib.c.

#define IXGBE_RSS_4Q_MASK   0x3

Definition at line 309 of file ixgbe_lib.c.

#define IXGBE_RSS_8Q_MASK   0x7

Definition at line 308 of file ixgbe_lib.c.

#define IXGBE_RSS_DISABLED_MASK   0x0

Definition at line 311 of file ixgbe_lib.c.

Function Documentation

void ixgbe_clear_interrupt_scheme ( struct ixgbe_adapter adapter)

ixgbe_clear_interrupt_scheme - Clear the current interrupt scheme settings : board private structure to clear interrupt scheme on

We go through and clear interrupt specific resources and reset the structure to pre-load conditions

Definition at line 1150 of file ixgbe_lib.c.

int ixgbe_init_interrupt_scheme ( struct ixgbe_adapter adapter)

ixgbe_init_interrupt_scheme - Determine proper interrupt scheme : board private structure to initialize

We determine which interrupt scheme to use based on...

  • Kernel support (MSI, MSI-X)
    • which can be user-defined (via MODULE_PARAM)
  • Hardware queue count (num_*_queues)
    • defined by miscellaneous hardware support/features (RSS, etc.)

Definition at line 1112 of file ixgbe_lib.c.

void ixgbe_tx_ctxtdesc ( struct ixgbe_ring tx_ring,
u32  vlan_macip_lens,
u32  fcoe_sof_eof,
u32  type_tucmd,
u32  mss_l4len_idx 
)

Definition at line 1159 of file ixgbe_lib.c.