net/ixgbe/base: configure DMA coalescing for 10Mb
[dpdk.git] / drivers / net / ixgbe / base / ixgbe_x550.c
index bf3da10..08886a7 100644 (file)
@@ -768,6 +768,7 @@ s32 ixgbe_dmac_config_tcs_X550(struct ixgbe_hw *hw)
 
        /* Configure DMA coalescing enabled */
        switch (hw->mac.dmac_config.link_speed) {
+       case IXGBE_LINK_SPEED_10_FULL:
        case IXGBE_LINK_SPEED_100_FULL:
                pb_headroom = IXGBE_DMACRXT_100M;
                break;
@@ -2349,6 +2350,7 @@ STATIC s32 ixgbe_reset_phy_m88(struct ixgbe_hw *hw)
        return ixgbe_setup_m88(hw);
 
 out:
+       hw->phy.ops.write_reg_mdi(hw, IXGBE_M88E1500_PAGE_ADDR, 0, 0);
        hw->mac.ops.release_swfw_sync(hw, mask);
        return rc;
 }