aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pasemi_mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pasemi_mac.h')
-rw-r--r--drivers/net/pasemi_mac.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/pasemi_mac.h b/drivers/net/pasemi_mac.h
index c6555edba55d..8bee2a664c83 100644
--- a/drivers/net/pasemi_mac.h
+++ b/drivers/net/pasemi_mac.h
@@ -26,6 +26,8 @@
26#include <linux/spinlock.h> 26#include <linux/spinlock.h>
27#include <linux/phy.h> 27#include <linux/phy.h>
28 28
29#define MAX_LRO_DESCRIPTORS 8
30
29struct pasemi_mac_txring { 31struct pasemi_mac_txring {
30 struct pasemi_dmachan chan; /* Must be first */ 32 struct pasemi_dmachan chan; /* Must be first */
31 spinlock_t lock; 33 spinlock_t lock;
@@ -64,7 +66,10 @@ struct pasemi_mac {
64 66
65 u8 mac_addr[6]; 67 u8 mac_addr[6];
66 68
69 struct net_lro_mgr lro_mgr;
70 struct net_lro_desc lro_desc[MAX_LRO_DESCRIPTORS];
67 struct timer_list rxtimer; 71 struct timer_list rxtimer;
72 unsigned int lro_max_aggr;
68 73
69 struct pasemi_mac_txring *tx; 74 struct pasemi_mac_txring *tx;
70 struct pasemi_mac_rxring *rx; 75 struct pasemi_mac_rxring *rx;