diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2016-02-16 00:25:11 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-18 00:15:45 +0300 |
commit | a4f9cdb2b44d2dceede4eaad00c6b11206af0fea (patch) | |
tree | 210eb024a7ff28b2b1d87bfa44cb9384ee80bd1a /drivers/net/ethernet/pasemi/pasemi_mac.h | |
parent | 82aaf4fcbe0f26adb14e72c9df6a2c4ed3f8c34d (diff) | |
download | linux-a4f9cdb2b44d2dceede4eaad00c6b11206af0fea.tar.xz |
pasemi_mac: Replace LRO with GRO
GRO is simpler to use than the old inet_lro library, and is compatible
with forwarding and bridging configurations.
Compile-tested only.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pasemi/pasemi_mac.h')
-rw-r--r-- | drivers/net/ethernet/pasemi/pasemi_mac.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/pasemi/pasemi_mac.h b/drivers/net/ethernet/pasemi/pasemi_mac.h index a5807703ab96..161c99a98403 100644 --- a/drivers/net/ethernet/pasemi/pasemi_mac.h +++ b/drivers/net/ethernet/pasemi/pasemi_mac.h @@ -31,7 +31,6 @@ #define CS_RING_SIZE (TX_RING_SIZE*2) -#define MAX_LRO_DESCRIPTORS 8 #define MAX_CS 2 struct pasemi_mac_txring { @@ -84,10 +83,7 @@ struct pasemi_mac { u8 mac_addr[ETH_ALEN]; - 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; |