Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153099081
D6661.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
706 B
Referenced Files
None
Subscribers
None
D6661.id.diff
View Options
Index: head/sys/dev/sfxge/sfxge_rx.c
===================================================================
--- head/sys/dev/sfxge/sfxge_rx.c
+++ head/sys/dev/sfxge/sfxge_rx.c
@@ -175,13 +175,17 @@
struct sfxge_softc *sc;
unsigned int index;
struct sfxge_evq *evq;
+ unsigned int label;
uint16_t magic;
sc = rxq->sc;
index = rxq->index;
evq = sc->evq[index];
- magic = SFXGE_MAGIC_RX_QREFILL | index;
+ label = 0;
+ KASSERT((label & SFXGE_MAGIC_DMAQ_LABEL_MASK) == label,
+ ("(label & SFXGE_MAGIC_DMAQ_LABEL_MASK) != level"));
+ magic = SFXGE_MAGIC_RX_QREFILL | label;
/* This is guaranteed due to the start/stop order of rx and ev */
KASSERT(evq->init_state == SFXGE_EVQ_STARTED,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 20, 3:30 AM (7 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31764157
Default Alt Text
D6661.id.diff (706 B)
Attached To
Mode
D6661: sfxge(4): zero should be used as RxQ label in SW event
Attached
Detach File
Event Timeline
Log In to Comment