socsvn commit: r305582 - soc2016/vincenzo/head/sys/dev/netmap

vincenzo at FreeBSD.org vincenzo at FreeBSD.org
Mon Jun 27 09:35:08 UTC 2016


Author: vincenzo
Date: Mon Jun 27 09:35:06 2016
New Revision: 305582
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=305582

Log:
   freebsd: ptnet_tx_intr: add comment

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 09:34:58 2016	(r305581)
+++ soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c	Mon Jun 27 09:35:06 2016	(r305582)
@@ -1287,7 +1287,10 @@
 		return;
 	}
 
-	/* Schedule the tasqueue to flush process transmissions requests. */
+	/* Schedule the tasqueue to flush process transmissions requests.
+	 * However, vtnet, if_em and if_igb just call ptnet_transmit() here,
+	 * at least when using MSI-X interrupts. The if_em driver, instead
+	 * schedule taskqueue when using legacy interrupts. */
 	taskqueue_enqueue(pq->taskq, &pq->task);
 }
 


More information about the svn-soc-all mailing list