ehea: Remove LRO support
In preparation for adding GRO to ehea, remove LRO. v3: [cascardo] fixed conflict with vlan cleanup Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
239c562c94
commit
2cb1deb56f
@@ -33,7 +33,6 @@
|
||||
#include <linux/ethtool.h>
|
||||
#include <linux/vmalloc.h>
|
||||
#include <linux/if_vlan.h>
|
||||
#include <linux/inet_lro.h>
|
||||
|
||||
#include <asm/ibmebus.h>
|
||||
#include <asm/abs_addr.h>
|
||||
@@ -58,7 +57,6 @@
|
||||
#define EHEA_MIN_ENTRIES_QP 127
|
||||
|
||||
#define EHEA_SMALL_QUEUES
|
||||
#define EHEA_LRO_MAX_AGGR 64
|
||||
|
||||
#ifdef EHEA_SMALL_QUEUES
|
||||
#define EHEA_MAX_CQE_COUNT 1023
|
||||
@@ -85,8 +83,6 @@
|
||||
#define EHEA_RQ2_PKT_SIZE 2048
|
||||
#define EHEA_L_PKT_SIZE 256 /* low latency */
|
||||
|
||||
#define MAX_LRO_DESCRIPTORS 8
|
||||
|
||||
/* Send completion signaling */
|
||||
|
||||
/* Protection Domain Identifier */
|
||||
@@ -382,8 +378,6 @@ struct ehea_port_res {
|
||||
u64 tx_bytes;
|
||||
u64 rx_packets;
|
||||
u64 rx_bytes;
|
||||
struct net_lro_mgr lro_mgr;
|
||||
struct net_lro_desc lro_desc[MAX_LRO_DESCRIPTORS];
|
||||
int sq_restart_flag;
|
||||
};
|
||||
|
||||
@@ -468,7 +462,6 @@ struct ehea_port {
|
||||
u32 msg_enable;
|
||||
u32 sig_comp_iv;
|
||||
u32 state;
|
||||
u32 lro_max_aggr;
|
||||
u8 phy_link;
|
||||
u8 full_duplex;
|
||||
u8 autoneg;
|
||||
|
Reference in New Issue
Block a user