Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2016 09:35:07 GMT
From:      vincenzo@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r305582 - soc2016/vincenzo/head/sys/dev/netmap
Message-ID:  <201606270935.u5R9Z7th029213@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606270935.u5R9Z7th029213>