Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145954412
D34787.id104611.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
579 B
Referenced Files
None
Subscribers
None
D34787.id104611.diff
View Options
diff --git a/sys/dev/virtio/network/if_vtnet.c b/sys/dev/virtio/network/if_vtnet.c
--- a/sys/dev/virtio/network/if_vtnet.c
+++ b/sys/dev/virtio/network/if_vtnet.c
@@ -4424,6 +4424,7 @@
static int
vtnet_debugnet_poll(struct ifnet *ifp, int count)
{
+ struct epoch_tracker et;
struct vtnet_softc *sc;
int i;
@@ -4433,8 +4434,10 @@
return (EBUSY);
(void)vtnet_txq_eof(&sc->vtnet_txqs[0]);
+ NET_EPOCH_ENTER(et);
for (i = 0; i < sc->vtnet_act_vq_pairs; i++)
(void)vtnet_rxq_eof(&sc->vtnet_rxqs[i]);
+ NET_EPOCH_EXIT(et);
return (0);
}
#endif /* DEBUGNET */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 27, 12:19 PM (4 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29029331
Default Alt Text
D34787.id104611.diff (579 B)
Attached To
Mode
D34787: Improve dumping a kernel using the vtnet interface
Attached
Detach File
Event Timeline
Log In to Comment