An Energy Efficient Ethernet Strategy Based on Traffic Prediction and Shaping