diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2017-02-06 18:26:15 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-03-17 12:11:44 -0700 |
commit | cfbc871c2174f352542053d25659920d6841ed41 (patch) | |
tree | b80801bef1d5f2a445114bf78088205ddc8c4d1e /drivers/net/ethernet/intel/igb/igb_ethtool.c | |
parent | igb: Don't bother clearing Tx buffer_info in igb_clean_tx_ring (diff) | |
download | linux-dev-cfbc871c2174f352542053d25659920d6841ed41.tar.xz linux-dev-cfbc871c2174f352542053d25659920d6841ed41.zip |
igb: Limit maximum frame Rx based on MTU
In order to support the use of build_skb going forward it will be necessary
to place a maximum limit on the amount of data we can receive when jumbo
frames is not enabled. In order to do this I am adding a new upper limit
for receive based on the size of a 2K buffer minus padding.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.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_ethtool.c')
0 files changed, 0 insertions, 0 deletions