Date: Fri, 8 Jul 2016 15:45:33 GMT From: vincenzo@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r305836 - soc2016/vincenzo/head/sys/dev/netmap Message-ID: <201607081545.u68FjXSc009853@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607081545.u68FjXSc009853>