diff options
author | 2017-11-07 14:13:30 -0800 | |
---|---|---|
committer | 2018-01-24 12:27:48 -0800 | |
commit | b701cacdbcfb65a5ba38d9d4121c12a0a4eaa01a (patch) | |
tree | 3a939f954b75aa3e3469f82f5d2ad17bd4e709bc /drivers/net/geneve.c | |
parent | igb: add function to get maximum RSS queues (diff) | |
download | linux-dev-b701cacdbcfb65a5ba38d9d4121c12a0a4eaa01a.tar.xz linux-dev-b701cacdbcfb65a5ba38d9d4121c12a0a4eaa01a.zip |
e1000e: Set HTHRESH when PTHRESH is used
According to section 12.0.3.4.13 "Receive Descriptor Control - RXDCTL"
of the IntelĀ® 82579 Gigabit Ethernet PHY Datasheet v2.1:
"HTHRESH should be given a non zero value when ever PTHRESH is
used."
In RXDCTL(0), PTHRESH lives at bits 5:0, and HTHREST lives at bits 13:8.
Set only bit 8 of HTHREST as is done in e1000_flush_rx_ring(). Found by
inspection.
Signed-off-by: Matt Turner <matt.turner@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/geneve.c')
0 files changed, 0 insertions, 0 deletions