From owner-svn-soc-all@freebsd.org Fri Jul 8 15:45:33 2016 Return-Path: Delivered-To: svn-soc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B483BB8263B for ; Fri, 8 Jul 2016 15:45:33 +0000 (UTC) (envelope-from vincenzo@FreeBSD.org) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A803E12CB for ; Fri, 8 Jul 2016 15:45:33 +0000 (UTC) (envelope-from vincenzo@FreeBSD.org) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.15.2/8.15.2) with ESMTP id u68FjXb6009870 for ; Fri, 8 Jul 2016 15:45:33 GMT (envelope-from vincenzo@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.15.2/8.15.2/Submit) id u68FjXSc009853 for svn-soc-all@FreeBSD.org; Fri, 8 Jul 2016 15:45:33 GMT (envelope-from vincenzo@FreeBSD.org) Date: Fri, 8 Jul 2016 15:45:33 GMT Message-Id: <201607081545.u68FjXSc009853@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to vincenzo@FreeBSD.org using -f From: vincenzo@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r305836 - soc2016/vincenzo/head/sys/dev/netmap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2016 15:45:33 -0000 Author: vincenzo Date: Fri Jul 8 15:45:32 2016 New Revision: 305836 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=305836 Log: freebsd: ptnet: small fixes in some comments 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 Fri Jul 8 15:45:23 2016 (r305835) +++ soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c Fri Jul 8 15:45:32 2016 (r305836) @@ -1176,12 +1176,12 @@ ptnet_rx_eof(pq); } -/* The following offloadings-related functions are taken from the virtio-net +/* The following offloadings-related functions are taken from the vtnet * driver, but the same functionality is required for the ptnet driver. - * As a temporary solution, I copied this code from virtio-net and I started + * As a temporary solution, I copied this code from vtnet and I started * to generalize it (taking away driver-specific statistic accounting), * making as little modifications as possible. - * In the future we need to share these functions between virtio-net and ptnet. + * In the future we need to share these functions between vtnet and ptnet. */ static int ptnet_tx_offload_ctx(struct mbuf *m, int *etype, int *proto, int *start) @@ -1492,7 +1492,7 @@ return (error); } -/* End of offloading-related functions to be shared with virtio-net. */ +/* End of offloading-related functions to be shared with vtnet. */ static inline void ptnet_sync_tail(struct ptnet_ring *ptring, struct netmap_kring *kring)