Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142228568
D46433.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
631 B
Referenced Files
None
Subscribers
None
D46433.diff
View Options
diff --git a/sys/dev/neta/if_mvneta.c b/sys/dev/neta/if_mvneta.c
--- a/sys/dev/neta/if_mvneta.c
+++ b/sys/dev/neta/if_mvneta.c
@@ -3000,8 +3000,6 @@
struct mvneta_rx_desc *r;
struct mvneta_buf *rxbuf;
struct mbuf *m;
- struct lro_ctrl *lro;
- struct lro_entry *queued;
void *pktbuf;
int i, pktlen, processed, ndma;
@@ -3115,11 +3113,7 @@
/*
* Flush any outstanding LRO work
*/
- lro = &rx->lro;
- while (__predict_false((queued = LIST_FIRST(&lro->lro_active)) != NULL)) {
- LIST_REMOVE(LIST_FIRST((&lro->lro_active)), next);
- tcp_lro_flush(lro, queued);
- }
+ tcp_lro_flush_all(&rx->lro);
}
STATIC void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 18, 1:17 PM (20 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27710020
Default Alt Text
D46433.diff (631 B)
Attached To
Mode
D46433: neta: improve TCP LRO
Attached
Detach File
Event Timeline
Log In to Comment