diff options
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c')
-rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c index 072ef3b5fc61..aaea8282bfd2 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c | |||
@@ -39,6 +39,10 @@ | |||
39 | * are the smallest unit programmable into the underlying | 39 | * are the smallest unit programmable into the underlying |
40 | * hardware. The IEEE 802.1Qaz specification do not use bandwidth | 40 | * hardware. The IEEE 802.1Qaz specification do not use bandwidth |
41 | * groups so this is much simplified from the CEE case. | 41 | * groups so this is much simplified from the CEE case. |
42 | * @bw: bandwidth index by traffic class | ||
43 | * @refill: refill credits index by traffic class | ||
44 | * @max: max credits by traffic class | ||
45 | * @max_frame: maximum frame size | ||
42 | */ | 46 | */ |
43 | static s32 ixgbe_ieee_credits(__u8 *bw, __u16 *refill, | 47 | static s32 ixgbe_ieee_credits(__u8 *bw, __u16 *refill, |
44 | __u16 *max, int max_frame) | 48 | __u16 *max, int max_frame) |
@@ -72,8 +76,10 @@ static s32 ixgbe_ieee_credits(__u8 *bw, __u16 *refill, | |||
72 | 76 | ||
73 | /** | 77 | /** |
74 | * ixgbe_dcb_calculate_tc_credits - Calculates traffic class credits | 78 | * ixgbe_dcb_calculate_tc_credits - Calculates traffic class credits |
75 | * @ixgbe_dcb_config: Struct containing DCB settings. | 79 | * @hw: pointer to hardware structure |
76 | * @direction: Configuring either Tx or Rx. | 80 | * @dcb_config: Struct containing DCB settings |
81 | * @max_frame: Maximum frame size | ||
82 | * @direction: Configuring either Tx or Rx | ||
77 | * | 83 | * |
78 | * This function calculates the credits allocated to each traffic class. | 84 | * This function calculates the credits allocated to each traffic class. |
79 | * It should be called only after the rules are checked by | 85 | * It should be called only after the rules are checked by |