|
Linux Kernel
3.7.1
|
#include "ixgbe.h"#include "ixgbe_type.h"#include "ixgbe_dcb.h"#include "ixgbe_dcb_82598.h"#include "ixgbe_dcb_82599.h"Go to the source code of this file.
| s32 ixgbe_dcb_calculate_tc_credits | ( | struct ixgbe_hw * | hw, |
| struct ixgbe_dcb_config * | dcb_config, | ||
| int | max_frame, | ||
| u8 | direction | ||
| ) |
ixgbe_dcb_calculate_tc_credits - Calculates traffic class credits : Struct containing DCB settings. : Configuring either Tx or Rx.
This function calculates the credits allocated to each traffic class. It should be called only after the rules are checked by ixgbe_dcb_check_config().
Definition at line 82 of file ixgbe_dcb.c.
| u8 ixgbe_dcb_get_tc_from_up | ( | struct ixgbe_dcb_config * | cfg, |
| int | direction, | ||
| u8 | up | ||
| ) |
Definition at line 231 of file ixgbe_dcb.c.
| s32 ixgbe_dcb_hw_config | ( | struct ixgbe_hw * | hw, |
| struct ixgbe_dcb_config * | dcb_config | ||
| ) |
ixgbe_dcb_hw_config - Config and enable DCB : pointer to hardware structure : pointer to ixgbe_dcb_config structure
Configure dcb settings and enable dcb mode.
Definition at line 269 of file ixgbe_dcb.c.
Definition at line 323 of file ixgbe_dcb.c.
| s32 ixgbe_dcb_hw_ets_config | ( | struct ixgbe_hw * | hw, |
| u16 * | refill, | ||
| u16 * | max, | ||
| u8 * | bwg_id, | ||
| u8 * | prio_type, | ||
| u8 * | prio_tc | ||
| ) |
Definition at line 356 of file ixgbe_dcb.c.
Definition at line 305 of file ixgbe_dcb.c.
| void ixgbe_dcb_unpack_bwgid | ( | struct ixgbe_dcb_config * | cfg, |
| int | direction, | ||
| u8 * | bwgid | ||
| ) |
Definition at line 211 of file ixgbe_dcb.c.
| void ixgbe_dcb_unpack_map | ( | struct ixgbe_dcb_config * | cfg, |
| int | direction, | ||
| u8 * | map | ||
| ) |
Definition at line 254 of file ixgbe_dcb.c.
| void ixgbe_dcb_unpack_max | ( | struct ixgbe_dcb_config * | cfg, |
| u16 * | max | ||
| ) |
Definition at line 202 of file ixgbe_dcb.c.
| void ixgbe_dcb_unpack_pfc | ( | struct ixgbe_dcb_config * | cfg, |
| u8 * | pfc_en | ||
| ) |
Definition at line 181 of file ixgbe_dcb.c.
| void ixgbe_dcb_unpack_prio | ( | struct ixgbe_dcb_config * | cfg, |
| int | direction, | ||
| u8 * | ptype | ||
| ) |
Definition at line 221 of file ixgbe_dcb.c.
| void ixgbe_dcb_unpack_refill | ( | struct ixgbe_dcb_config * | cfg, |
| int | direction, | ||
| u16 * | refill | ||
| ) |
Definition at line 192 of file ixgbe_dcb.c.
1.8.2