diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-09-03 14:49:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-03 20:01:50 -0700 |
commit | ae641bdc264a5998b7872622c86f0690a5b1c5b5 (patch) | |
tree | 520f54058247dbb0ccd368b7ee45888e67b3c684 /drivers/net/igb/igb.h | |
parent | 2dfd12126573d6feb12f1d215a352851750fcbd7 (diff) | |
download | talos-op-linux-ae641bdc264a5998b7872622c86f0690a5b1c5b5.tar.gz talos-op-linux-ae641bdc264a5998b7872622c86f0690a5b1c5b5.zip |
igb: set vf rlpml wasn't taking vlan tag into account
This patch updates things so that vlan tags are taken into account when
setting the receive large packet maximum length. This allows the VF driver
to correctly receive full sized frames when vlans are enabled.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r-- | drivers/net/igb/igb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h index b2c98dea9eed..7126fea26fec 100644 --- a/drivers/net/igb/igb.h +++ b/drivers/net/igb/igb.h @@ -70,6 +70,7 @@ 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; bool clear_to_send; }; |