aboutsummaryrefslogtreecommitdiff
path: root/sys/net/iflib.h
diff options
context:
space:
mode:
authorSean Bruno <sbruno@FreeBSD.org>2017-01-27 23:08:06 +0000
committerSean Bruno <sbruno@FreeBSD.org>2017-01-27 23:08:06 +0000
commite035717e570f7c97ddc94712119941dbfb96b2a7 (patch)
tree7749a3935eb499301687ba4d05f1e965d9517789 /sys/net/iflib.h
parentb67915014d098c85d619aa84154507070dd8522b (diff)
downloadsrc-e035717e570f7c97ddc94712119941dbfb96b2a7.tar.gz
src-e035717e570f7c97ddc94712119941dbfb96b2a7.zip
IFLIB updates:
We found routing performance dropped significantly when configuring FreeBSD as a router, we are applying the following changes in order to resolve those issues and hopefully perform better. - don't prefetch the flags array, we usually don't need it - prefetch the next cache line of each of the software descriptor arrays as well as the first cache line of each of the next four packets' mbufs and clusters - reduce max copy size to 63 bytes - convert rx soft descriptors from array of structures to a structure of arrays - update copyrights Submitted by: Matt Macy <mmacy@nextbsd.org>
Notes
Notes: svn path=/head/; revision=312905
Diffstat (limited to 'sys/net/iflib.h')
-rw-r--r--sys/net/iflib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/iflib.h b/sys/net/iflib.h
index a2f8fcc7d33a..9c8a8c95e13e 100644
--- a/sys/net/iflib.h
+++ b/sys/net/iflib.h
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2014-2015, Matthew Macy (mmacy@nextbsd.org)
+ * Copyright (c) 2014-2017, Matthew Macy (mmacy@nextbsd.org)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without