src/dpdk/drivers/net/ixgbe/base/ixgbe_dcb.c
s32 ixgbe_dcb_config_tc_stats(struct ixgbe_hw *hw)
{
	s32 ret = IXGBE_NOT_IMPLEMENTED;
	switch (hw->mac.type) {
	case ixgbe_mac_82598EB:
		ret = ixgbe_dcb_config_tc_stats_82598(hw);
		break;
	case ixgbe_mac_82599EB:
	case ixgbe_mac_X540:
	case ixgbe_mac_X550:
	case ixgbe_mac_X550EM_x:
	case ixgbe_mac_X550EM_a:
		ret = ixgbe_dcb_config_tc_stats_82599(hw, NULL);
		break;
	default:
		break;
	}
	return ret;
}
/**
 * ixgbe_dcb_config_tc_stats - Config traffic class statistics
 * @hw: pointer to hardware structure
 *
 * Configure queue statistics registers, all queues belonging to same traffic
 * class uses a single set of queue statistics counters.
 */
Config traffic class statistics
@hw: pointer to hardware structure

Configure queue statistics registers, all queues belonging to same traffic
class uses a single set of queue statistics counters.
Config traffic class statistics @hw : pointer to hardware structure Configure queue statistics registers all queues belonging to same traffic class uses a single set of queue statistics counters .
s32 ixgbe_dcb_config_tc_stats(struct ixgbe_hw *hw)
{
	s32 ret = IXGBE_NOT_IMPLEMENTED;
	switch (hw->mac.type) {
	case ixgbe_mac_82598EB:
		ret = ixgbe_dcb_config_tc_stats_82598(hw);
		break;
	case ixgbe_mac_82599EB:
	case ixgbe_mac_X540:
	case ixgbe_mac_X550:
	case ixgbe_mac_X550EM_x:
	case ixgbe_mac_X550EM_a:
		ret = ixgbe_dcb_config_tc_stats_82599(hw, NULL);
		break;
	default:
		break;
	}
	return ret;
}
s32 ixgbe_dcb_config_tc_stats ( struct ixgbe_hw * hw ) { s32 ret = IXGBE_NOT_IMPLEMENTED ; switch ( hw -> mac . type ) { case ixgbe_mac_82598EB : ret = ixgbe_dcb_config_tc_stats_82598 ( hw ) ; break ; case ixgbe_mac_82599EB : case ixgbe_mac_X540 : case ixgbe_mac_X550 : case ixgbe_mac_X550EM_x : case ixgbe_mac_X550EM_a : ret = ixgbe_dcb_config_tc_stats_82599 ( hw , NULL ) ; break ; default : break ; } return ret ; }
ixgbe_dcb_config_tc_stats - Config traffic class statistics
 @hw: pointer to hardware structure
ixgbe_dcb_config_tc_stats - Config traffic class statistics @hw : pointer to hardware structure