b43: Fix PHY register routing
[powerpc.git] / drivers / net / pasemi_mac.h
index 64b2047..8bee2a6 100644 (file)
@@ -26,6 +26,8 @@
 #include <linux/spinlock.h>
 #include <linux/phy.h>
 
+#define MAX_LRO_DESCRIPTORS 8
+
 struct pasemi_mac_txring {
        struct pasemi_dmachan chan; /* Must be first */
        spinlock_t       lock;
@@ -34,6 +36,7 @@ struct pasemi_mac_txring {
        unsigned int     next_to_clean;
        struct pasemi_mac_buffer *ring_info;
        struct pasemi_mac *mac; /* Needed in intr handler */
+       struct timer_list clean_timer;
 };
 
 struct pasemi_mac_rxring {
@@ -63,7 +66,10 @@ struct pasemi_mac {
 
        u8              mac_addr[6];
 
+       struct net_lro_mgr      lro_mgr;
+       struct net_lro_desc     lro_desc[MAX_LRO_DESCRIPTORS];
        struct timer_list       rxtimer;
+       unsigned int            lro_max_aggr;
 
        struct pasemi_mac_txring *tx;
        struct pasemi_mac_rxring *rx;