Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171224504
D59479.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
669 B
Referenced Files
None
Subscribers
None
D59479.diff
View Options
diff --git a/sys/dev/eqos/if_eqos.c.orig b/sys/dev/eqos/if_eqos.c
--- a/sys/dev/eqos/if_eqos.c.orig
+++ b/sys/dev/eqos/if_eqos.c
@@ -702,8 +702,16 @@
if ((rdes3 & EQOS_RDES3_OWN))
break;
- if (rdes3 & (EQOS_RDES3_OE | EQOS_RDES3_RE))
+ if (rdes3 & EQOS_RDES3_RE) {
printf("Receive error rdes3=%08x\n", rdes3);
+ if_inc_counter(ifp, IFCOUNTER_IERRORS, 1);
+ }
+ if (rdes3 & EQOS_RDES3_OE) {
+ if (rdes3 & EQOS_RDES3_LENGTH_MASK) {
+ printf("Receive overflow error rdes3=%08x\n", rdes3);
+ }
+ if_inc_counter(ifp, IFCOUNTER_IERRORS, 1);
+ }
bus_dmamap_sync(sc->rx.buf_tag,
sc->rx.buf_map[sc->rx.head].map, BUS_DMASYNC_POSTREAD);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 10, 3:42 PM (1 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38514925
Default Alt Text
D59479.diff (669 B)
Attached To
Mode
D59479: Reduce eqos if driver noisiness
Attached
Detach File
Event Timeline
Log In to Comment