Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/ixgbe/ixgbe_dcb.c
/****************************************************************************** | /****************************************************************************** | ||||
Copyright (c) 2001-2013, Intel Corporation | Copyright (c) 2001-2014, Intel Corporation | ||||
All rights reserved. | All rights reserved. | ||||
Redistribution and use in source and binary forms, with or without | Redistribution and use in source and binary forms, with or without | ||||
Context not available. | |||||
break; | break; | ||||
case ixgbe_mac_82599EB: | case ixgbe_mac_82599EB: | ||||
case ixgbe_mac_X540: | case ixgbe_mac_X540: | ||||
case ixgbe_mac_X550: | |||||
case ixgbe_mac_X550EM_x: | |||||
case ixgbe_mac_X550EM_a: | |||||
#if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | #if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | ||||
ret = ixgbe_dcb_get_tc_stats_82599(hw, stats, tc_count); | ret = ixgbe_dcb_get_tc_stats_82599(hw, stats, tc_count); | ||||
break; | break; | ||||
Context not available. | |||||
break; | break; | ||||
case ixgbe_mac_82599EB: | case ixgbe_mac_82599EB: | ||||
case ixgbe_mac_X540: | case ixgbe_mac_X540: | ||||
case ixgbe_mac_X550: | |||||
case ixgbe_mac_X550EM_x: | |||||
case ixgbe_mac_X550EM_a: | |||||
#if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | #if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | ||||
ret = ixgbe_dcb_get_pfc_stats_82599(hw, stats, tc_count); | ret = ixgbe_dcb_get_pfc_stats_82599(hw, stats, tc_count); | ||||
break; | break; | ||||
Context not available. | |||||
break; | break; | ||||
case ixgbe_mac_82599EB: | case ixgbe_mac_82599EB: | ||||
case ixgbe_mac_X540: | case ixgbe_mac_X540: | ||||
case ixgbe_mac_X550: | |||||
case ixgbe_mac_X550EM_x: | |||||
case ixgbe_mac_X550EM_a: | |||||
#if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | #if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | ||||
ret = ixgbe_dcb_config_rx_arbiter_82599(hw, refill, max, bwgid, | ret = ixgbe_dcb_config_rx_arbiter_82599(hw, refill, max, bwgid, | ||||
tsa, map); | tsa, map); | ||||
Context not available. | |||||
break; | break; | ||||
case ixgbe_mac_82599EB: | case ixgbe_mac_82599EB: | ||||
case ixgbe_mac_X540: | case ixgbe_mac_X540: | ||||
case ixgbe_mac_X550: | |||||
case ixgbe_mac_X550EM_x: | |||||
case ixgbe_mac_X550EM_a: | |||||
#if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | #if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | ||||
ret = ixgbe_dcb_config_tx_desc_arbiter_82599(hw, refill, max, | ret = ixgbe_dcb_config_tx_desc_arbiter_82599(hw, refill, max, | ||||
bwgid, tsa); | bwgid, tsa); | ||||
Context not available. | |||||
break; | break; | ||||
case ixgbe_mac_82599EB: | case ixgbe_mac_82599EB: | ||||
case ixgbe_mac_X540: | case ixgbe_mac_X540: | ||||
case ixgbe_mac_X550: | |||||
case ixgbe_mac_X550EM_x: | |||||
case ixgbe_mac_X550EM_a: | |||||
#if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | #if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | ||||
ret = ixgbe_dcb_config_tx_data_arbiter_82599(hw, refill, max, | ret = ixgbe_dcb_config_tx_data_arbiter_82599(hw, refill, max, | ||||
bwgid, tsa, | bwgid, tsa, | ||||
Context not available. | |||||
break; | break; | ||||
case ixgbe_mac_82599EB: | case ixgbe_mac_82599EB: | ||||
case ixgbe_mac_X540: | case ixgbe_mac_X540: | ||||
case ixgbe_mac_X550: | |||||
case ixgbe_mac_X550EM_x: | |||||
case ixgbe_mac_X550EM_a: | |||||
#if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | #if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | ||||
ret = ixgbe_dcb_config_pfc_82599(hw, pfc_en, map); | ret = ixgbe_dcb_config_pfc_82599(hw, pfc_en, map); | ||||
break; | break; | ||||
Context not available. | |||||
break; | break; | ||||
case ixgbe_mac_82599EB: | case ixgbe_mac_82599EB: | ||||
case ixgbe_mac_X540: | case ixgbe_mac_X540: | ||||
case ixgbe_mac_X550: | |||||
case ixgbe_mac_X550EM_x: | |||||
case ixgbe_mac_X550EM_a: | |||||
#if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | #if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | ||||
ret = ixgbe_dcb_config_tc_stats_82599(hw, NULL); | ret = ixgbe_dcb_config_tc_stats_82599(hw, NULL); | ||||
break; | break; | ||||
Context not available. | |||||
break; | break; | ||||
case ixgbe_mac_82599EB: | case ixgbe_mac_82599EB: | ||||
case ixgbe_mac_X540: | case ixgbe_mac_X540: | ||||
case ixgbe_mac_X550: | |||||
case ixgbe_mac_X550EM_x: | |||||
case ixgbe_mac_X550EM_a: | |||||
#if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | #if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | ||||
ixgbe_dcb_config_82599(hw, dcb_config); | ixgbe_dcb_config_82599(hw, dcb_config); | ||||
ret = ixgbe_dcb_hw_config_82599(hw, dcb_config->link_speed, | ret = ixgbe_dcb_hw_config_82599(hw, dcb_config->link_speed, | ||||
Context not available. | |||||
break; | break; | ||||
case ixgbe_mac_82599EB: | case ixgbe_mac_82599EB: | ||||
case ixgbe_mac_X540: | case ixgbe_mac_X540: | ||||
case ixgbe_mac_X550: | |||||
case ixgbe_mac_X550EM_x: | |||||
case ixgbe_mac_X550EM_a: | |||||
#if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | #if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | ||||
ret = ixgbe_dcb_config_pfc_82599(hw, pfc_en, map); | ret = ixgbe_dcb_config_pfc_82599(hw, pfc_en, map); | ||||
break; | break; | ||||
Context not available. | |||||
break; | break; | ||||
case ixgbe_mac_82599EB: | case ixgbe_mac_82599EB: | ||||
case ixgbe_mac_X540: | case ixgbe_mac_X540: | ||||
case ixgbe_mac_X550: | |||||
case ixgbe_mac_X550EM_x: | |||||
case ixgbe_mac_X550EM_a: | |||||
#if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | #if !defined(NO_82599_SUPPORT) || !defined(NO_X540_SUPPORT) | ||||
ixgbe_dcb_config_rx_arbiter_82599(hw, refill, max, bwg_id, | ixgbe_dcb_config_rx_arbiter_82599(hw, refill, max, bwg_id, | ||||
tsa, map); | tsa, map); | ||||
Context not available. |