improve routing/nat performance for devices using the marvell 88e6060 switch
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.26 / 630-phy_packets.patch
index f1c1580e0df92022cf64a0333521e2dce088f580..a561bb29c1bdd54cc29e7ef60fd7f35a91e4e33b 100644 (file)
@@ -30,7 +30,7 @@
  
 --- a/include/linux/phy.h
 +++ b/include/linux/phy.h
-@@ -309,6 +309,17 @@
+@@ -309,6 +309,20 @@
        void (*adjust_link)(struct net_device *dev);
  
        void (*adjust_state)(struct net_device *dev);
@@ -45,6 +45,9 @@
 +       */
 +      int (*netif_receive_skb)(struct sk_buff *skb);
 +      int (*netif_rx)(struct sk_buff *skb);
++
++      /* alignment offset for packets */
++      int pkt_align;
  };
  #define to_phy_device(d) container_of(d, struct phy_device, dev)