socsvn commit: r305590 - soc2016/vincenzo/head/sys/dev/netmap
vincenzo at FreeBSD.org
vincenzo at FreeBSD.org
Mon Jun 27 12:49:23 UTC 2016
Author: vincenzo
Date: Mon Jun 27 12:49:22 2016
New Revision: 305590
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=305590
Log:
freebsd: ptnet_rx_eof: fix check for CSB update
Modified:
soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c
Modified: soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c
==============================================================================
--- soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c Mon Jun 27 12:49:12 2016 (r305589)
+++ soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c Mon Jun 27 12:49:22 2016 (r305590)
@@ -1387,7 +1387,7 @@
PTNET_Q_LOCK(pq);
}
- if (budget != PTNET_RX_BUDGET) {
+ if (head != ring->head) {
/* Some packets have been pushed to the network stack.
* We need to update the CSB to tell the host about the new
* ring->cur and ring->head (RX buffer refill). */
More information about the svn-soc-all
mailing list