From owner-stp@oss.sgi.com Thu Apr 6 15:14:36 2000 Received: by oss.sgi.com id ; Thu, 6 Apr 2000 15:14:27 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:20543 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 6 Apr 2000 15:14:22 -0700 Received: from lhotse.engr.sgi.com (lhotse.engr.sgi.com [163.154.35.41]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA20452 for ; Thu, 6 Apr 2000 15:09:39 -0700 (PDT) mail_from (aman@engr.sgi.com) Received: from engr.sgi.com (localhost [127.0.0.1]) by lhotse.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id PAA65475; Thu, 6 Apr 2000 15:11:46 -0700 (PDT) Message-ID: <38ED0BA2.1B7FE95B@engr.sgi.com> Date: Thu, 06 Apr 2000 15:11:46 -0700 From: Aman Singla Organization: SGI X-Mailer: Mozilla 4.7C-SGI [en] (X11; I; IRIX 6.5 IP32) X-Accept-Language: en MIME-Version: 1.0 To: Linux Kernel Mailing List , Acenic Mailing List , stp@oss.sgi.com Subject: Release 0.2 of ST protocol support Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-stp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;stp-outgoing Hi- I'd like to announce the release 0.2 alpha for the ST protocol support in Linux. Besides some clean up and bug-fixes, this release incorporates limited "native" STP support on Gigabit Ethernet NIC (Alteon's Tigon-2 based NIC supported by the acenic driver). This support is in the form of modifications to the NIC firmware (thanks to Todd Pisek - trp@sgi.com); the acenic driver has been separately modified to make use of these enhancements. The firmware enhancements are prototypical at best and are limited to the receive side functionality only; but they do show off some of the advantages of using STP, and can be considered a reasonable starting point for some initial application development work. More information, code etc. can be found at: http://oss.sgi.com/projects/stp Send me email, in case you have problems getting to or using any of the stuff. thanks, Aman Singla MTS, SGI From owner-stp@oss.sgi.com Fri Apr 7 10:31:56 2000 Received: by oss.sgi.com id ; Fri, 7 Apr 2000 10:31:47 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:26657 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 7 Apr 2000 10:31:28 -0700 Received: from lhotse.engr.sgi.com (lhotse.engr.sgi.com [163.154.35.41]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id KAA00877 for ; Fri, 7 Apr 2000 10:26:46 -0700 (PDT) mail_from (aman@engr.sgi.com) Received: from engr.sgi.com (localhost [127.0.0.1]) by lhotse.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id KAA64075; Fri, 7 Apr 2000 10:28:53 -0700 (PDT) Message-ID: <38EE1AD5.D119CF63@engr.sgi.com> Date: Fri, 07 Apr 2000 10:28:53 -0700 From: Aman Singla Organization: SGI X-Mailer: Mozilla 4.7C-SGI [en] (X11; I; IRIX 6.5 IP32) X-Accept-Language: en MIME-Version: 1.0 To: werner@darkwing.uoregon.edu CC: stp@oss.sgi.com Subject: Re: compilation errors for 0.2 patch References: <38EE1638.9251C381@darkwing.uoregon.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-stp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;stp-outgoing I've tested it only for 2.3.99-pre2; and you seem to be compiling for a non-smp kernel. Anyway, try this patch (I don't have your environment to test it on, so no guarantees :-) :a ------------------------ diff -Naur oss-stp/workarea/linux/include/linux/stp_netdevice.h slinx-st/workarea/linux/include/linux/stp_netdevice.h --- oss-stp/workarea/linux/include/linux/stp_netdevice.h Mon Mar 27 10:44:03 2000 +++ slinx-st/workarea/linux/include/linux/stp_netdevice.h Fri Apr 7 10:22:41 2000 @@ -74,8 +74,8 @@ #include #include #include +#include #include -#include typedef unsigned long paddr_t; typedef unsigned char uchar_t; ------------------------------------------------- werner@darkwing.uoregon.edu wrote: > > Hi, > FYI patch applied to 2.3.99-pre3 > > make -C stp > make[3]: Entering directory `/usr/local/werner/linux/net/stp' > make -C core > make[4]: Entering directory `/usr/local/werner/linux/net/stp/core' > make all_targets > make[5]: Entering directory `/usr/local/werner/linux/net/stp/core' > gcc -D__KERNEL__ -I/usr/local/werner/linux/include -Wall > -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe > -mno-fp-regs -ffixed-8 -mcpu=ev6 -Wa,-mev6 -Wno-format -D_STP_DEBUG_ > -D_WAR_BUGS_ -D_NO_VC_YET_ -D_NO_KEEPALIVE_YET_ -DEXPORT_SYMTAB -c > stp_init.c > In file included from > /usr/local/werner/linux/include/linux/stp_netdevice.h:78, > from stp_var.h:39, > from stp_init.c:41: > /usr/local/werner/linux/include/asm/spinlock.h:30:59: warning: > `SPIN_LOCK_UNLOCKED' redefined > /usr/local/werner/linux/include/linux/spinlock.h:51:28: warning: this is > the location of the previous definition > /usr/local/werner/linux/include/asm/spinlock.h:32:68: warning: > `spin_lock_init' redefined > /usr/local/werner/linux/include/linux/spinlock.h:54:22: warning: this is > the location of the previous definition > /usr/local/werner/linux/include/asm/spinlock.h:38:42: warning: > `spin_is_locked' redefined > /usr/local/werner/linux/include/linux/spinlock.h:56:22: warning: this is > the location of the previous definition > /usr/local/werner/linux/include/asm/spinlock.h:39:70: warning: > `spin_unlock_wait' redefined > /usr/local/werner/linux/include/linux/spinlock.h:58:24: warning: this is > the locati > /usr/local/werner/linux/include/asm/spinlock.h:45: parse error before > `do' > /usr/local/werner/linux/include/asm/spinlock.h:49:70: warning: > `spin_lock' redefined > /usr/local/werner/linux/include/linux/spinlock.h:55:17: warning: this is > the location of the previous definition > /usr/local/werner/linux/include/asm/spinlock.h:50:76: warning: > `spin_trylock' redefined > /usr/local/werner/linux/include/linux/spinlock.h:57:20: warning: this is > the location of the previous definition > /usr/local/werner/linux/include/asm/spinlock.h:100:44: warning: > `RW_LOCK_UNLOCKED' redefined > /usr/local/werner/linux/include/linux/spinlock.h:114:26: warning: this > is the location of the previous definition > In file included from > /usr/local/werner/linux/include/linux/stp_netdevice.h:78, > from stp_var.h:39, > from stp_init.c:41: > /usr/local/werner/linux/include/asm/spinlock.h:27: conflicting types for > `spinlock_t' > /usr/local/werner/linux/include/linux/spinlock.h:50: previous > declaration of `spinlock_t' > /usr/local/werner/linux/include/asm/spinlock.h:98: conflicting types for > `rwlock_t' > /usr/local/werner/linux/include/linux/spinlock.h:113: previous > declaration of `rwlock_t' > /usr/local/werner/linux/include/asm/spinlock.h:103: parse error before > `void' > /usr/local/werner/linux/include/asm/spinlock.h:104: parse error before > `void' > /usr/local/werner/linux/include/asm/spinlock.h:149: parse error before > `do' > /usr/local/werner/linux/include/asm/spinlock.h:152: parse error before > `volatile' > /usr/local/werner/linux/include/asm/spinlock.h:155: parse error before > `do' > make[5]: *** [stp_init.o] Error 1 > make[5]: Leaving directory `/usr/local/werner/linux/net/stp/core' > make[4]: *** [first_rule] Error 2 > make[4]: Leaving directory `/usr/local/werner/linux/net/stp/core' > make[3]: *** [_subdir_core] Error 2 > make[3]: Leaving directory `/usr/local/werner/linux/net/stp' > make[2]: *** [_subdir_stp] Error 2 > make[2]: Leaving directory `/usr/local/werner/linux/net' > make[1]: *** [_dir_net] Error 2 > make[1]: Leaving directory `/usr/local/werner/linux' > make: *** [net] Error 2 From owner-stp@oss.sgi.com Fri Apr 7 11:17:27 2000 Received: by oss.sgi.com id ; Fri, 7 Apr 2000 11:17:07 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:60010 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 7 Apr 2000 11:16:37 -0700 Received: from lhotse.engr.sgi.com (lhotse.engr.sgi.com [163.154.35.41]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id LAA03665 for ; Fri, 7 Apr 2000 11:20:24 -0700 (PDT) mail_from (aman@engr.sgi.com) Received: from engr.sgi.com (localhost [127.0.0.1]) by lhotse.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id LAA67645; Fri, 7 Apr 2000 11:15:16 -0700 (PDT) Message-ID: <38EE25B4.C892793A@engr.sgi.com> Date: Fri, 07 Apr 2000 11:15:16 -0700 From: Aman Singla Organization: SGI X-Mailer: Mozilla 4.7C-SGI [en] (X11; I; IRIX 6.5 IP32) X-Accept-Language: en MIME-Version: 1.0 To: Giuseppe Ciaccio CC: stp@oss.sgi.com Subject: Re: Release 0.2 of ST protocol support References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-stp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;stp-outgoing Guiseppe, The last time I ran tests I was getting about 66 MB/s with about 10% of a single CPU utilization using 4K STUs on the AceNIC. This was on a very low perf PCI bus - the observed host to NIC dma b/w on the bus was about 70MB/s. I'll have some number available on a bus with about 90-93MB/s PCI dma b/w next week perhaps. :a Giuseppe Ciaccio wrote: > > > Could you send me some STP performance numbers on AceNIC? > > Thank you, > Giuseppe > > Giuseppe Ciaccio, PhD http://www.disi.unige.it/person/CiaccioG/ > DISI - Universita' di Genova via Dodecaneso 35 16146 Genova, Italy > phone +39 10 353 6638 fax +39 010 3536699 ciaccio@disi.unige.it > ------------------------------------------------------------------------