click-1.0.1 released
Eddie Kohler
eddietwo at cag.lcs.mit.edu
Mon Feb 28 18:38:16 EST 2000
Hi,
First, welcome to the click-announce mailing list. We will use this mailing
list only to announce Click software releases and other important Click
things, and expect low traffic (averaging 1 message a week). If you would
like to be removed, please send mail to <click at pdos.lcs.mit.edu>.
Now for the announcement: It turns out the Linux module included with
click-1.0 did not compile. We have fixed this Makefile bug and released
version 1.0.1, available at
http://www.pdos.lcs.mit.edu/click/
A patch is included below.
lov,e
ed
-------------- next part --------------
diff -cr click-1.0/NEWS click-1.0.1/NEWS
*** click-1.0/NEWS Sat Feb 26 12:04:52 2000
--- click-1.0.1/NEWS Mon Feb 28 18:26:48 2000
***************
*** 1,5 ****
--- 1,11 ----
Click NEWS
+ Version 1.0.1 28.Feb.2000
+
+ * Fixed Makefile bugs; Linux module installs properly now. Problem reported
+ by Joe Elliott <joe at inetd.com>.
+
+
Version 1.0 25.Feb.2000
* Added polling support. Result: 4-5 times better peak performance. The
diff -cr click-1.0/README click-1.0.1/README
*** click-1.0/README Sat Feb 26 11:28:27 2000
--- click-1.0.1/README Mon Feb 28 18:28:08 2000
***************
*** 1,5 ****
! THE CLICK MODULAR ROUTER RELEASE 1.0
! ====================================
This is the README file for the source release for the Click modular
software router. The first thing you should do is look for more recent
--- 1,5 ----
! THE CLICK MODULAR ROUTER RELEASE 1.0.1
! ======================================
This is the README file for the source release for the Click modular
software router. The first thing you should do is look for more recent
***************
*** 36,42 ****
CLICKDIR/tools/click-compile ... compiles element source code portably
CLICKDIR/tools/click-fastclassifier ... specializes Classifiers into C++ code
CLICKDIR/tools/click-install ... installs configuration into Linux module
! CLICKDIR/tools/click-specialize ... specializes element source code
CLICKDIR/tools/click-xform ... pattern-based configuration optimizer
CLICKDIR/tools/udpgen ... Linux kernel modules for quickly
generating and counting UDP packets
--- 36,42 ----
CLICKDIR/tools/click-compile ... compiles element source code portably
CLICKDIR/tools/click-fastclassifier ... specializes Classifiers into C++ code
CLICKDIR/tools/click-install ... installs configuration into Linux module
! CLICKDIR/tools/click-specialize ... removes virtual functions from source
CLICKDIR/tools/click-xform ... pattern-based configuration optimizer
CLICKDIR/tools/udpgen ... Linux kernel modules for quickly
generating and counting UDP packets
***************
*** 108,114 ****
=====================
We welcome bug reports, questions, comments, code, whatever you'd like
! to give us. Write us at
click at pdos.lcs.mit.edu
--- 108,115 ----
=====================
We welcome bug reports, questions, comments, code, whatever you'd like
! to give us. We also have a mailing list for software announcements. Write
! us at
click at pdos.lcs.mit.edu
***************
*** 116,121 ****
Eddie Kohler
Robert Morris
Benjie Chen
- John Jannotti
Max Poletto
Thomer M. Gil
--- 117,123 ----
Eddie Kohler
Robert Morris
Benjie Chen
Max Poletto
Thomer M. Gil
+ John Jannotti
+ M. Frans Kaashoek
diff -cr click-1.0/configure click-1.0.1/configure
*** click-1.0/configure Sat Feb 26 11:29:15 2000
--- click-1.0.1/configure Mon Feb 28 17:59:27 2000
***************
*** 537,543 ****
PACKAGE=click
! VERSION=1.0
cat >> confdefs.h <<EOF
#define PACKAGE "$PACKAGE"
EOF
--- 537,543 ----
PACKAGE=click
! VERSION=1.0.1
cat >> confdefs.h <<EOF
#define PACKAGE "$PACKAGE"
EOF
diff -cr click-1.0/configure.in click-1.0.1/configure.in
*** click-1.0/configure.in Sat Feb 26 11:28:27 2000
--- click-1.0.1/configure.in Mon Feb 28 17:59:17 2000
***************
*** 2,8 ****
AC_INIT(acconfig.h)
AC_SUBST(ac_configure_args)
PACKAGE=click
! VERSION=1.0
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
AC_SUBST(PACKAGE)
--- 2,8 ----
AC_INIT(acconfig.h)
AC_SUBST(ac_configure_args)
PACKAGE=click
! VERSION=1.0.1
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
AC_SUBST(PACKAGE)
diff -cr click-1.0/linuxmodule/Makefile.in click-1.0.1/linuxmodule/Makefile.in
*** click-1.0/linuxmodule/Makefile.in Mon Feb 21 14:04:30 2000
--- click-1.0.1/linuxmodule/Makefile.in Mon Feb 28 18:00:08 2000
***************
*** 41,49 ****
error.o glue.o timer.o \
elemlink.o element.o unlimelement.o timedelement.o errorelement.o \
confparse.o lexer.o archive.o elemfilter.o router.o \
! crc32.o iptable.o iptable2.o ewma.o @LINUXMODULE_SCHED_OBJ@
! LINUXMODULE_OBJS = kernelerror.o kernelversion.o module.o \
proc_config.o proc_element.o proc_mgr.o read-pmc.o
-include elements.mk
--- 41,49 ----
error.o glue.o timer.o \
elemlink.o element.o unlimelement.o timedelement.o errorelement.o \
confparse.o lexer.o archive.o elemfilter.o router.o \
! crc32.o iptable.o iptable2.o radix.o ewma.o
! LINUXMODULE_OBJS = kernelerror.o kernelversion.o module.o sched.o \
proc_config.o proc_element.o proc_mgr.o read-pmc.o
-include elements.mk
diff -cr click-1.0/linuxmodule/read-pmc.c click-1.0.1/linuxmodule/read-pmc.c
*** click-1.0/linuxmodule/read-pmc.c Thu Oct 14 18:19:01 1999
--- click-1.0.1/linuxmodule/read-pmc.c Mon Feb 28 17:59:07 2000
***************
*** 52,58 ****
--- 52,62 ----
void
click_cycle_counter(int which, unsigned int *fnp, unsigned long long *valp)
{
+ #ifdef __i386__
*fnp = rdmsr(P6MSR_CTRSEL0 + which);
*valp = rdpmc(which);
wrmsr(P6MSR_CTR0+which, 0);
+ #else
+ printk("<1>click_cycle_counter: not i386\n");
+ #endif
}
diff -cr click-1.0/linuxmodule/sched.cc click-1.0.1/linuxmodule/sched.cc
*** click-1.0/linuxmodule/sched.cc Thu Feb 3 20:56:39 2000
--- click-1.0.1/linuxmodule/sched.cc Mon Feb 28 17:56:12 2000
***************
*** 19,25 ****
#include "kernelerror.hh"
extern "C" {
- void tulip_print_stats();
#define __NO_VERSION__
#define new linux_new
#include <linux/module.h>
--- 19,24 ----
***************
*** 89,97 ****
kill_proc(click_sched_pid, SIGTERM, 1);
/* wait for thread to die - paranoid =) */
while(click_sched_pid > 0) {
! schedule();
! asm volatile ("" : : : "memory");
}
}
! tulip_print_stats();
}
--- 88,98 ----
kill_proc(click_sched_pid, SIGTERM, 1);
/* wait for thread to die - paranoid =) */
while(click_sched_pid > 0) {
! schedule();
! #ifdef __i386__
! asm volatile ("" : : : "memory");
! #endif
}
}
! /* tulip_print_stats(); */
}
More information about the click
mailing list