aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c
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
commit7fc9c0b5e47caa3005802bdc823f26f25894f45d (patch)
tree30bee7c086b93aa460fd5d50dcd48cf210aef3cc /target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c
parent9b9116142802739f653bd492bff87cd4d74baed2 (diff)
downloadupstream-7fc9c0b5e47caa3005802bdc823f26f25894f45d.tar.gz
upstream-7fc9c0b5e47caa3005802bdc823f26f25894f45d.tar.bz2
upstream-7fc9c0b5e47caa3005802bdc823f26f25894f45d.zip
improve routing/nat performance for devices using the marvell 88e6060 switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13060 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c')
-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 78e5afe9bd..f5a292a80d 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;