aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igb/igb.h
diff options
context:
space:
mode:
authorAlexander Duyck <aduyck@mirantis.com>2016-01-06 23:10:47 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-02-15 16:30:33 -0800
commitd3836f8e2517fb04328c673989fd780030926694 (patch)
treefcada2032cce4607bd38c1c2671c31d8b29f04e6 /drivers/net/ethernet/intel/igb/igb.h
parentigb: Allow asymmetric configuration of MTU versus Rx frame size (diff)
downloadlinux-dev-d3836f8e2517fb04328c673989fd780030926694.tar.xz
linux-dev-d3836f8e2517fb04328c673989fd780030926694.zip
igb: Do not factor VLANs into RLPML calculation
The RLPML registers already take the size of VLAN headers into account when determining the maximum packet length. This is called out in EAS documents for several parts including the 82576 and the i350. As such we can drop the addition of size to the value programmed into the RLPML registers. Signed-off-by: Alexander Duyck <aduyck@mirantis.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/igb.h')
-rw-r--r--drivers/net/ethernet/intel/igb/igb.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/igb/igb.h b/drivers/net/ethernet/intel/igb/igb.h
index e3cb93bdb21a..d135261f8602 100644
--- a/drivers/net/ethernet/intel/igb/igb.h
+++ b/drivers/net/ethernet/intel/igb/igb.h
@@ -95,7 +95,6 @@ struct vf_data_storage {
unsigned char vf_mac_addresses[ETH_ALEN];
u16 vf_mc_hashes[IGB_MAX_VF_MC_ENTRIES];
u16 num_vf_mc_hashes;
- u16 vlans_enabled;
u32 flags;
unsigned long last_nack;
u16 pf_vlan; /* When set, guest VLAN config not allowed. */