freebsd-skq/sys/dev
erj fe09f9c176 e1000: correctly set isc_pause_frames only when XOFF increases
From Jake:
The e1000 driver sets the iflib shared context isc_pause_frames value to
the number of received xoff frames. This is done so that the iflib
watchdog timer won't trigger a Tx Hang due to pause frames.

Unfortunately, the function simply sets it to the value of the xoffrxc
counter. Once the device has received a single XOFF packet, the driver
always reports that we received pause frames. This will prevent the Tx
hang detection entirely from that point on.

Fix this by assigning isc_pause_frames to a non-zero value if we
received any XOFF packets in the last timer interval.

We could attempt to calculate the total number of received packets by
doing a subtraction, but the iflib stack only seems to check if
isc_pause_frames is non-zero.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>

Submitted by:	Jacob Keller <jacob.e.keller@intel.com>
Reviewed by:	gallatin@
Sponsored by:	Intel Corporation
Differential Revision:	https://reviews.freebsd.org/D21868
2019-10-16 17:13:46 +00:00
..
aac Make uniqueifier match the module definition. 2019-05-24 01:43:29 +00:00
aacraid Make aacraid(4) working on ASR8805 & ASR8402 in particular. This patch 2019-05-22 04:51:08 +00:00
acpi_support Add embedded Managed Object Format blob access to acpi_wmi(4). 2019-09-06 10:12:05 +00:00
acpica Install an ACPI PCI bus notify handler. 2019-10-15 19:12:09 +00:00
adb Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
adlink Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
ae FCP-101: ae(4) is sufficently popular to be moved to the keep list. 2019-05-16 15:22:17 +00:00
age Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
agp Complete the removal of the "wire_count" field from struct vm_page. 2019-09-25 16:11:35 +00:00
ahci Fix AHCI Enclosure Management, broken by r351356. 2019-08-28 22:04:04 +00:00
aic7xxx [aic7xxx] Use correct product name 29320LPE instead of non-existent 39320LPE 2019-01-19 05:31:48 +00:00
al_eth Use ip/ipv6 structures in al_eth only if they are supported 2018-08-28 17:09:41 +00:00
alc Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
ale Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
alpm
altera Add glue driver for Altera SOCFPGA Ethernet MAC (EMAC) found in 2019-07-29 16:32:23 +00:00
amd_ecc_inject Eliminate the arena parameter to kmem_free(). Implicitly this corrects an 2018-08-25 19:38:08 +00:00
amdgpio amdgpio: small formatting cleanup 2019-05-24 06:07:33 +00:00
amdpm
amdsbwd Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
amdsmb
amdsmn amdtemp(4), amdsmn(4): Attach to Ryzen 3 (Zen 2) hostbridges 2019-08-06 03:54:27 +00:00
amdtemp amdtemp(4), amdsmn(4): Attach to Ryzen 3 (Zen 2) hostbridges 2019-08-06 03:54:27 +00:00
amr Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
an Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
arcmsr
asmc asmc: Add support for Mac mini 2,1 2019-02-25 21:59:01 +00:00
ata GC ATA_REQUEST_TIMEOUT option remnants 2019-02-16 01:48:38 +00:00
ath [ath_hal] Fix queue bits a bit 2019-05-28 18:05:10 +00:00
atkbdc Add macOS-like three finger drag trackpad gesture to psm(4) 2019-06-16 03:06:05 +00:00
auxio
axgbe
bce Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
beri Fix off-by-one error in BERI virtio driver 2019-02-11 07:42:32 +00:00
bfe Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
bge bge: check that the bus is a pci bus before using it as such 2019-07-16 08:36:49 +00:00
bhnd Avoid relying on header pollution from sys/refcount.h. 2019-07-29 20:26:01 +00:00
bktr
bnxt
bvm
bwi Fix ieee80211_radiotap(9) usage in wireless drivers: 2019-03-11 01:27:01 +00:00
bwn bwn(4): Include SROM revision when printing device identification. 2019-07-02 02:52:05 +00:00
bxe Update bxe(4) to use new zlib. 2019-08-08 06:30:12 +00:00
cadence Add support for Cadence network controller found in HiFive Unleashed board. 2019-04-24 13:44:30 +00:00
cardbus Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
cas Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
ce
cesa
cfe
cfi Fix AMD type flash write operations, and display chip information at boot 2019-03-24 06:28:25 +00:00
chromebook_platform
ciss Don't print the request we may be aborting in ciss_notify_abort as 2019-06-13 05:19:42 +00:00
cmx Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
coretemp Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
cp
cpuctl Mitigations for Microarchitectural Data Sampling. 2019-05-14 17:02:20 +00:00
cpufreq Improve cpufreq_dt. 2019-03-19 14:34:53 +00:00
ctau Fix two errors reported by PVS Studio: V646 Consider inspecting the 2019-05-26 12:41:03 +00:00
cx Fix misspellings of transmitter/transmitted 2018-08-10 20:37:32 +00:00
cxgb cxgb(4): Netdump: only reference allocated qsets 2019-03-01 01:57:22 +00:00
cxgbe cxgbe(4): An EQ update can be requested in a TX_PKTS2 work request. 2019-10-15 17:35:39 +00:00
cy
cyapa
dc Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
dcons Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
dme Update dme(4) to reflect that it will not be removed due to FCP-101. 2019-05-08 19:05:58 +00:00
dpaa dpaa: Fix warnings in dtsec(4) found by clang 2019-08-21 02:26:22 +00:00
dpms
drm2 (4/6) Protect page valid with the busy lock. 2019-10-15 03:45:41 +00:00
dwc dwc: Add more delay for chip reset 2019-09-28 22:23:21 +00:00
e1000 e1000: correctly set isc_pause_frames only when XOFF increases 2019-10-16 17:13:46 +00:00
efidev efirt efi_enter(): Release acquired locks and restore FPU ownership if 2019-06-03 15:41:45 +00:00
ena Update ENA version to v2.0.0 2019-05-30 13:52:32 +00:00
esp
et Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
etherswitch Add support for the Marvell 88E6190 11 ports switch. 2019-07-01 13:41:37 +00:00
evdev Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
exca
extres Add method for getting of syscon handle from parent device. 2019-08-18 08:08:56 +00:00
fb Include eventhandler.h in more compilation units 2019-05-21 01:18:43 +00:00
fdc GEOM: Reduce unnecessary log interleaving with sbufs 2019-08-07 19:28:35 +00:00
fdt fdt_slicer: bump to SI_ORDER_THIRD following r347183 2019-09-29 03:12:35 +00:00
ffec Fix possible NULL pointer dereference in ffec_alloc_mbufcl(). 2018-09-21 13:44:05 +00:00
filemon Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
firewire Widen NET_EPOCH coverage. 2019-10-07 22:40:05 +00:00
flash Use the new FDTCOMPAT_PNP_INFO() macro to define SPIBUS_FDT_PNP_INFO(). 2019-05-23 15:59:50 +00:00
fxp Remove a use of a negative array index from fxp(4). 2018-12-19 04:54:32 +00:00
gem Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
glxiic
glxsb Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
gpio o Add support for multi-port instances of Synopsys DesignWare APB GPIO 2019-09-04 15:37:24 +00:00
gxemul
hdmi Include eventhandler.h in more compilation units 2019-05-21 01:18:43 +00:00
hifn Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
hme
hpt27xx
hptiop
hptmv
hptnr
hptrr
hwpmc Fix sample check in hwpmc 2019-10-13 22:26:55 +00:00
hyperv hyperv/vmbus: Fix the wrong size in ndis_offload structure 2019-07-09 08:21:14 +00:00
ic
ichiic ig4(4): Fix SDA HOLD time set too low on Skylake controllers 2019-09-12 12:33:09 +00:00
ichsmb ichsmb: defer smbus attach until interrupts are available 2019-08-29 12:49:21 +00:00
ichwd Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
ida Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
if_ndis Fix compilation with 'option NDISAPI + device ndis' and 2019-01-30 11:40:12 +00:00
iicbus Widen NET_EPOCH coverage. 2019-10-07 22:40:05 +00:00
iir Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
imcsmb Remove unecessary "All rights reserved" from files under my or Panasas's 2019-01-30 16:55:00 +00:00
intel Distinguish _CID match and _HID match and make lower priority probe 2018-10-26 00:05:46 +00:00
intpm intpm: change translation of HBA error status to smbus(4) errors 2019-03-22 10:38:22 +00:00
io
ioat Add CTLFLAG_STATS to the dev.ioat.N.stats sysctl OIDs 2019-10-09 12:14:10 +00:00
ipmi The current IPMI KCS code is waiting 100us for all transitions (roughly 2019-06-12 16:06:31 +00:00
ips Add the likely missing braces in ips(4). This is found by gcc warning that 2019-05-29 18:11:17 +00:00
ipw Fix ieee80211_radiotap(9) usage in wireless drivers: 2019-03-11 01:27:01 +00:00
isci Enforce a 4GB DMA boundary on isci(4) 2019-07-10 22:23:59 +00:00
iscsi Separate kernel crc32() implementation to its own header (gsb_crc32.h) and 2019-06-17 19:49:08 +00:00
iscsi_initiator Separate kernel crc32() implementation to its own header (gsb_crc32.h) and 2019-06-17 19:49:08 +00:00
iser
isl
ismt
isp Fix FC-Tape bugs caused in part by r345008. 2019-05-24 17:58:29 +00:00
ispfw
itwd itwd(4): driver for watchdog function in ITE Super I/O chips 2019-10-16 14:57:38 +00:00
iwi urtw(4), otus(4), iwi(4): allow to set non-default MAC address via ifconfig(8) 2019-04-10 08:17:56 +00:00
iwm iwm: Drain callouts after stopping the device during detach. 2019-07-03 21:05:40 +00:00
iwn Fix ieee80211_radiotap(9) usage in wireless drivers: 2019-03-11 01:27:01 +00:00
ixgbe ixgbe: Disable EEE for backplane X550EM_X 2019-10-15 21:56:19 +00:00
ixl Convert if_foreach_llmaddr() KPI. 2019-10-14 20:21:02 +00:00
jedec_dimm Teach jedec_dimm(4) to be more forgiving of non-fatal errors. 2019-03-27 21:50:01 +00:00
jme Fix a harmless typo. 2019-09-23 14:34:23 +00:00
kbd evdev: Remove evdev.ko linkage dependency on kbd driver 2018-08-13 19:05:53 +00:00
kbdmux evdev: Use console lock as evdev lock for all supported keyboard drivers. 2018-10-27 20:22:41 +00:00
ksyms ksyms: Fixup symbols for powerpc in the kernel, not just modules 2019-05-20 02:41:09 +00:00
le
led Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
lge
liquidio Separate kernel crc32() implementation to its own header (gsb_crc32.h) and 2019-06-17 19:49:08 +00:00
malo Fix ieee80211_radiotap(9) usage in wireless drivers: 2019-03-11 01:27:01 +00:00
mbox
mc146818
md (4/6) Protect page valid with the busy lock. 2019-10-15 03:45:41 +00:00
mdio
mem
mfi Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
mge
mii Find the correct node of PHY chip using "phy-handle" property of 2019-07-29 14:58:29 +00:00
mk48txx
mlx Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
mlx4 Convert to if_foreach_llmaddr() KPI. 2019-10-14 20:23:16 +00:00
mlx5 Convert to if_foreach_llmaddr() KPI. 2019-10-14 20:23:16 +00:00
mlxfw Initial version of Mellanox in-kernel firmware upgrade support. 2019-05-08 10:49:05 +00:00
mly De-spl mly(4). 2018-08-21 10:08:12 +00:00
mmc Fix dwmmc(4) driver attachment when ext_resources are not present. 2019-10-15 17:24:21 +00:00
mmcnull
mn
mpr More fully implement the state machine. 2019-07-11 06:22:15 +00:00
mps Fix bugs in recovery path and improve cm tracking 2019-07-08 20:20:01 +00:00
mpt
mrsas add mrsas_shutdown method 2019-05-23 12:51:13 +00:00
msk
mthca
mvs Add PNP info to PCI attachments of cbb, cxgb, ida, iwn, ixl, ixlv, 2018-09-26 17:12:30 +00:00
mwl Fix ieee80211_radiotap(9) usage in wireless drivers: 2019-03-11 01:27:01 +00:00
mxge Convert to if_foreach_llmaddr() KPI. 2019-10-14 20:18:36 +00:00
my Add PNP info to PCI attachments of cbb, cxgb, ida, iwn, ixl, ixlv, 2018-09-26 17:12:30 +00:00
nctgpio move nctgpio to superio(4) bus 2019-10-16 14:42:49 +00:00
neta Update mvneta/e6000sw for new DSA Device Tree Bindings 2019-03-23 02:48:47 +00:00
netfpga10g/nf10bmac
netmap (4/6) Protect page valid with the busy lock. 2019-10-15 03:45:41 +00:00
nfe Add support for the nForce MCP89 adapter. 2018-12-14 18:16:35 +00:00
nfsmb
nge
nmdm Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
ntb NTB Tool: Test driver for NTB hardware drivers. 2019-08-16 20:14:37 +00:00
null List-ify kernel dump device configuration 2019-05-06 18:24:07 +00:00
nvd Add missing break statements in r351004. 2019-08-14 02:02:14 +00:00
nvdimm nvdimm(4): Calculate and save memattr once; it never changes 2019-10-10 22:49:45 +00:00
nvme Make nvme(4) driver some more NUMA aware. 2019-09-23 17:53:47 +00:00
nvram
nvram2env
oce oce(4): potential out of bounds access before vector validation 2019-08-06 13:09:20 +00:00
ocs_fc Fixed issues reported by coverity scan. 2019-01-23 17:34:01 +00:00
ofw ofw: ofw_reg_to_paddr: Use a 256 static array for the cell 2019-08-07 13:13:16 +00:00
otus urtw(4), otus(4), iwi(4): allow to set non-default MAC address via ifconfig(8) 2019-04-10 08:17:56 +00:00
ow owc_gpiobus: small formatting cleanup 2019-07-10 12:40:07 +00:00
pbio
pccard Fix a minor typo 2019-09-24 16:49:42 +00:00
pccbb Remove All Rights Reserved 2019-02-05 21:37:34 +00:00
pcf pcf(4): fix parentheses in if condition 2019-01-27 15:19:28 +00:00
pci Export pci_attach() and pci_detach(). 2019-10-15 18:58:01 +00:00
pms Fix a scribbler in the PMS driver. 2019-03-11 14:26:45 +00:00
powermac_nvram
ppbus
ppc
proto Lock busdma operations and serialize detach against open/close 2019-07-04 02:51:34 +00:00
psci Add generic arm/arm64 secure-monitor SMCCC interface and switch 2019-09-13 15:56:33 +00:00
pst
pty
puc Remove All Rights Reserved 2019-02-05 21:37:34 +00:00
pwm Handle labels specified with hints even on FDT systems. Hints are the 2019-06-18 17:05:05 +00:00
qlnx Correct the scope of several global variables. 2019-09-27 21:04:33 +00:00
qlxgb
qlxgbe qlxgbe: avoid NULL deref in error case 2019-08-30 00:38:16 +00:00
qlxge
quicc
ral [Bug 240473] add support of Ralink RT5390R Wireless Card 2019-09-12 18:37:26 +00:00
random random(4): Reorder configuration of random source modules 2019-08-18 16:04:01 +00:00
rc Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
rccgpio
re
rl Remove bogus spaces. 2018-09-26 19:41:00 +00:00
rndtest Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
rp
rt
rtwn Add support for TP-Link Archer T2U Nano. 2019-09-01 06:40:58 +00:00
safe Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
sbni Copy out from kernel to data, not the other way around. 2018-08-13 21:53:18 +00:00
scc Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
sdhci Relax the sdhci(4) check that filters out the 1.8v voltage option unless 2019-10-16 16:03:19 +00:00
sdio Add SDIO support. 2019-06-08 16:26:56 +00:00
sec
sfxge Convert to if_foreach_llmaddr() KPI. 2019-10-14 20:33:14 +00:00
sge
siis
sio Remove All Rights Reserved 2019-02-05 21:37:34 +00:00
sis
sk Use https over http for FreeBSD pages 2018-07-27 10:40:48 +00:00
smartpqi Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
smbus
smc
snp
sound snd_hda: Add Intel Cannon Lake support 2019-09-26 21:04:36 +00:00
speaker
spibus Use the new FDTCOMPAT_PNP_INFO() macro to define SPIBUS_FDT_PNP_INFO(). 2019-05-23 15:59:50 +00:00
ste
stge
superio superio: fix the copyright block and update the year 2019-09-03 12:40:58 +00:00
sym Remove the long obsolete SYM_SETUP_LP_PROBE_MAP option. It's not been 2018-10-22 02:36:31 +00:00
syscons Attempt to fix build breakage in r344458. 2019-02-26 09:44:10 +00:00
tcp_log Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
tdfx
terasic Fix off-by-one (page) errors in checks in d_mmap methods of several drivers. 2018-12-02 18:30:58 +00:00
ti Replace uses of vm_page_unwire(m, PQ_NONE) with vm_page_unwire_noq(m). 2019-06-07 18:23:29 +00:00
tpm Improve tpm20 style 2019-04-16 02:46:21 +00:00
trm
tsec
twa remove the 4GB boundary requirement on PCI DMA segments 2019-04-19 13:43:33 +00:00
twe
tws Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
uart Relax TX draining in ns8250_bus_transmit(). 2019-09-15 23:56:39 +00:00
ubsec Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
usb dwc3: Use a pair of ()'s around arguments for some macros 2019-10-16 13:53:53 +00:00
veriexec Add a new ioctl for the larger params struct that includes the label. 2019-05-17 19:27:07 +00:00
vge
viapm
viawd Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
videomode
virtio Revert r352406, which contained changes I didn't intend to commit. 2019-09-16 15:04:45 +00:00
vkbd Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
vmd This driver attaches to the Intel VMD drive and connects a new PCI domain 2019-10-10 03:12:17 +00:00
vmware Add IFLIB_SINGLE_IRQ_RX_ONLY. 2019-09-30 15:59:07 +00:00
vnic vnic: correct and simplify SIOCSIFFLAGS 2019-09-01 16:53:17 +00:00
vr
vt vt: use proper return value check with TUNABLE_INT_FETCH 2019-09-26 07:14:54 +00:00
vte
watchdog Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
wbwd wbwd: move to superio(4) bus 2019-10-16 14:46:04 +00:00
wi Fix ieee80211_radiotap(9) usage in wireless drivers: 2019-03-11 01:27:01 +00:00
wpi Fix ieee80211_radiotap(9) usage in wireless drivers: 2019-03-11 01:27:01 +00:00
wtap Fix ieee80211_radiotap(9) usage in wireless drivers: 2019-03-11 01:27:01 +00:00
xdma xdma: avoid NULL deref in error case 2019-08-30 00:40:08 +00:00
xen (4/6) Protect page valid with the busy lock. 2019-10-15 03:45:41 +00:00
xilinx Negate the logic of XCHAN_CAP_NOBUFS macro and rename it to 2019-07-04 14:04:08 +00:00
xl Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
xz Modularize xz. 2019-02-26 19:55:03 +00:00
zlib Expose zlib's utility functions in Z_SOLO library when building kernel. 2019-08-07 01:41:17 +00:00