Module Name: src Committed By: jdc Date: Sat Jan 30 07:53:01 UTC 2021
Modified Files: src/sys/dev/ic: gem.c gemvar.h Log Message: Improve handling of receive overflows. When we get an overflow, don't reset the chip if we are still receiving packets. Real overflows can happen when network and CPU(s) are loaded, so the reset is not needed in this case. Add a counter to track receive overflows (when GEM_COUNTERS is defined). This reverts some changes (always reset on overflow) from PR port-sparc64/46260. To generate a diff of this commit: cvs rdiff -u -r1.132 -r1.133 src/sys/dev/ic/gem.c cvs rdiff -u -r1.27 -r1.28 src/sys/dev/ic/gemvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.