improve routing/nat performance for devices using the marvell 88e6060 switch
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / files / drivers / net / phy / mvswitch.c
index 78e5afe9bd4ac3a0f90da2c7b6a935e113b01d40..f5a292a80d5611aa2929b269e568cbc950f936bf 100644 (file)
@@ -338,6 +338,7 @@ mvswitch_config_init(struct phy_device *pdev)
        );
 
        /* hook into the tx function */
+       pdev->pkt_align = 2;
        priv->hardstart = dev->hard_start_xmit;
        pdev->netif_receive_skb = mvswitch_netif_receive_skb;
        pdev->netif_rx = mvswitch_netif_rx;