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

vincenzo at FreeBSD.org vincenzo at FreeBSD.org
Mon Jul 18 09:06:01 UTC 2016


Author: vincenzo
Date: Mon Jul 18 09:06:00 2016
New Revision: 306408
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=306408

Log:
   freebsd: ptnet_vnet_hdr true by default

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 Jul 18 09:05:49 2016	(r306407)
+++ soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c	Mon Jul 18 09:06:00 2016	(r306408)
@@ -99,7 +99,7 @@
 #endif  /* !DEBUG */
 
 /* Tunable parameters. */
-static bool ptnet_vnet_hdr = false;
+static bool ptnet_vnet_hdr = true;
 
 struct ptnet_softc;
 
@@ -1682,7 +1682,7 @@
 					continue;
 				}
 			}
-			RD(1, "%s: [csum_flags %lX] vnet hdr: flags %x "
+			ND(1, "%s: [csum_flags %lX] vnet hdr: flags %x "
 			      "csum_start %u csum_ofs %u hdr_len = %u "
 			      "gso_size %u gso_type %x", __func__,
 			      mhead->m_pkthdr.csum_flags, vh->flags,
@@ -1908,7 +1908,7 @@
 				head = ptnet_rx_discard(kring, head);
 				continue;
 			}
-			RD(1, "%s: vnet hdr: flags %x csum_start %u "
+			ND(1, "%s: vnet hdr: flags %x csum_start %u "
 			      "csum_ofs %u hdr_len = %u gso_size %u "
 			      "gso_type %x", __func__, vh->flags,
 			      vh->csum_start, vh->csum_offset, vh->hdr_len,


More information about the svn-soc-all mailing list