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

Go to the source code of this file.

Functions

s32 ixgbe_dcb_config_rx_arbiter_82599 (struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc)
 
s32 ixgbe_dcb_config_tx_desc_arbiter_82599 (struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type)
 
s32 ixgbe_dcb_config_tx_data_arbiter_82599 (struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc)
 
s32 ixgbe_dcb_config_pfc_82599 (struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc)
 
s32 ixgbe_dcb_hw_config_82599 (struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc)
 

Function Documentation

s32 ixgbe_dcb_config_pfc_82599 ( struct ixgbe_hw hw,
u8  pfc_en,
u8 prio_tc 
)

ixgbe_dcb_config_pfc_82599 - Configure priority flow control : pointer to hardware structure : enabled pfc bitmask : priority to tc assignments indexed by priority

Configure Priority Flow Control (PFC) for each traffic class.

Definition at line 212 of file ixgbe_dcb_82599.c.

s32 ixgbe_dcb_config_rx_arbiter_82599 ( struct ixgbe_hw hw,
u16 refill,
u16 max,
u8 bwg_id,
u8 prio_type,
u8 prio_tc 
)

ixgbe_dcb_config_rx_arbiter_82599 - Config Rx Data arbiter : pointer to hardware structure : refill credits index by traffic class : max credits index by traffic class : bandwidth grouping indexed by traffic class : priority type indexed by traffic class

Configure Rx Packet Arbiter and credits for each traffic class.

Definition at line 43 of file ixgbe_dcb_82599.c.

s32 ixgbe_dcb_config_tx_data_arbiter_82599 ( struct ixgbe_hw hw,
u16 refill,
u16 max,
u8 bwg_id,
u8 prio_type,
u8 prio_tc 
)

ixgbe_dcb_config_tx_data_arbiter_82599 - Config Tx Data arbiter : pointer to hardware structure : refill credits index by traffic class : max credits index by traffic class : bandwidth grouping indexed by traffic class : priority type indexed by traffic class

Configure Tx Packet Arbiter and credits for each traffic class.

Definition at line 153 of file ixgbe_dcb_82599.c.

s32 ixgbe_dcb_config_tx_desc_arbiter_82599 ( struct ixgbe_hw hw,
u16 refill,
u16 max,
u8 bwg_id,
u8 prio_type 
)

ixgbe_dcb_config_tx_desc_arbiter_82599 - Config Tx Desc. arbiter : pointer to hardware structure : refill credits index by traffic class : max credits index by traffic class : bandwidth grouping indexed by traffic class : priority type indexed by traffic class

Configure Tx Descriptor Arbiter and credits for each traffic class.

Definition at line 102 of file ixgbe_dcb_82599.c.

s32 ixgbe_dcb_hw_config_82599 ( struct ixgbe_hw hw,
u8  pfc_en,
u16 refill,
u16 max,
u8 bwg_id,
u8 prio_type,
u8 prio_tc 
)

ixgbe_dcb_hw_config_82599 - Configure and enable DCB : pointer to hardware structure : refill credits index by traffic class : max credits index by traffic class : bandwidth grouping indexed by traffic class : priority type indexed by traffic class : enabled pfc bitmask

Configure dcb settings and enable dcb mode.

Definition at line 348 of file ixgbe_dcb_82599.c.