summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-10-28 17:54:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-10-28 17:54:22 +0000
commitd1b986bd54b12bf193ae102feb9fd70b9e839121 (patch)
treee93ee7a108ce42647dc070d033120d1121c15a22 /target/linux/generic-2.6/files
parent3166a619460dd4a2e43b60c0c953df798d5549b1 (diff)
downloadmtk-20170518-d1b986bd54b12bf193ae102feb9fd70b9e839121.zip
mtk-20170518-d1b986bd54b12bf193ae102feb9fd70b9e839121.tar.gz
mtk-20170518-d1b986bd54b12bf193ae102feb9fd70b9e839121.tar.bz2
improve routing/nat performance for devices using the marvell 88e6060 switch
SVN-Revision: 13060
Diffstat (limited to 'target/linux/generic-2.6/files')
-rw-r--r--target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c b/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c
index 78e5afe..f5a292a 100644
--- a/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c
+++ b/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c
@@ -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;