aboutsummaryrefslogtreecommitdiff
path: root/lib/librss/Makefile
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2016-09-30 19:59:56 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2016-09-30 19:59:56 +0000
commit35c05a4fbc5c4b15fac274c01eafa63d5b8f4fa5 (patch)
tree680e72197b5f993c4ca952eb96d3b96e76b963ac /lib/librss/Makefile
parent999a0d8658df17fc7b6bf2ecd2a2b0e62327e27a (diff)
downloadsrc-35c05a4fbc5c4b15fac274c01eafa63d5b8f4fa5.tar.gz
src-35c05a4fbc5c4b15fac274c01eafa63d5b8f4fa5.zip
Add librss, a simple wrapper around RSS APIs so applications can begin auto-tuning.
I've used this in a handful of RSS test applications. It is just some very simple functions to fetch the RSS configuration, query the per-bucket CPU set, and mark sockets as local to an RSS bucket. It should be sufficient for both thread-based and process-based workloads. (Yes, I wrote a manpage.) This is based on some early RSS API and wrapper API work I did whilst I was at Netflix. Thanks to Netflix for the very original work that spawned this; thanks to Peter Grehan for his feedback about RSS APIs and thanks to Jack Vogel and Navdeep Parhar for the NIC-facing side of the APIs. These fed into the simple userland API I wrote up here. Reviewed by: gallatin
Notes
Notes: svn path=/head/; revision=306525
Diffstat (limited to 'lib/librss/Makefile')
-rw-r--r--lib/librss/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/librss/Makefile b/lib/librss/Makefile
new file mode 100644
index 000000000000..384a205d85bd
--- /dev/null
+++ b/lib/librss/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+PACKAGE= lib${LIB}
+SHLIBDIR?= /lib
+
+.include <src.opts.mk>
+
+LIB= rss
+SHLIB_MAJOR= 1
+
+SRCS=librss.c
+
+.include <bsd.lib.mk>