cvs commit: src/sys/dev/mxge eth_z8e.h ethp_z8e.h mxge_mcp.h rss_eth_z8e.h rss_ethp_z8e.h

2008-10-06 Thread Andrew Gallatin
gallatin2008-10-06 12:58:03 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/mxge eth_z8e.h ethp_z8e.h mxge_mcp.h rss_eth_z8e.h rss_ethp_z8e.h Log: SVN rev 183642 on 2008-10-06 12:58:03Z by gallatin MFC: 183515

cvs commit: src/sys/dev/mxge eth_z8e.h ethp_z8e.h mxge_mcp.h rss_eth_z8e.h rss_ethp_z8e.h

2008-10-01 Thread Andrew Gallatin
gallatin2008-10-01 16:23:35 UTC FreeBSD src repository Modified files: sys/dev/mxge eth_z8e.h ethp_z8e.h mxge_mcp.h rss_eth_z8e.h rss_ethp_z8e.h Log: SVN rev 183515 on 2008-10-01 16:23:35Z by gallatin Update to Myri10GE firmware version 1.4.

cvs commit: src/sys/dev/mxge if_mxge_var.h

2008-08-25 Thread Andrew Gallatin
gallatin2008-08-25 17:58:15 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/mxge if_mxge_var.h Log: SVN rev 182167 on 2008-08-25 17:58:15Z by gallatin MFC r181964 Adapt mxge shims to detect phys contig jumbo frames in RELENG_7

cvs commit: src/sys/dev/mxge if_mxge_var.h

2008-08-21 Thread Andrew Gallatin
gallatin2008-08-21 16:35:34 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge_var.h Log: SVN rev 181964 on 2008-08-21 16:35:34Z by gallatin Adapt mxge shims to detect phys contig jumbo frames in RELENG_7 MFC after: 3 days Revision Changes

cvs commit: src/sys/dev/mxge if_mxge.c

2008-07-25 Thread Andrew Gallatin
gallatin2008-07-25 15:57:55 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/mxge if_mxge.c Log: SVN rev 180807 on 2008-07-25 15:57:55Z by gallatin Sync mxge with head and perform 2 forgotten MFCs: MFC r177104: Remove dead code which

cvs commit: src/sys/dev/mxge if_mxge.c

2008-07-25 Thread Andrew Gallatin
gallatin2008-07-25 15:57:18 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/mxge if_mxge.c Log: SVN rev 180806 on 2008-07-25 15:57:18Z by gallatin Sync mxge with head and perform 2 forgotten MFCs: MFC r177104: Remove dead code which

cvs commit: src/sys/dev/mxge if_mxge.c

2008-07-25 Thread Andrew Gallatin
gallatin2008-07-25 15:19:05 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/mxge if_mxge.c Log: SVN rev 180803 on 2008-07-25 15:19:05Z by gallatin MFC r180567: Clean up mxge's use of callouts as pointed out by jhb, and handle NIC hardwa

cvs commit: src/sys/dev/mxge if_mxge.c

2008-07-25 Thread Andrew Gallatin
gallatin2008-07-25 15:16:21 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/mxge if_mxge.c Log: SVN rev 180802 on 2008-07-25 15:16:21Z by gallatin MFC r180567: Clean up mxge's use of callouts as pointed out by jhb, and handle NIC hardwa

cvs commit: src/sys/dev/mxge if_mxge.c

2008-07-17 Thread Andrew Gallatin
gallatin2008-07-17 15:46:35 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: SVN rev 180567 on 2008-07-17 15:46:35Z by gallatin Clean up mxge's use of callouts as pointed out by jhb, and handle NIC hardware watchdog resets. - remove buggy

cvs commit: src/sys/dev/mxge if_mxge.c

2008-04-02 Thread Andrew Gallatin
gallatin2008-04-02 13:59:43 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: Initialize if_baudrate using IF_Gbps() macro. Note that if_baudrate is a long, and 32-bits isn't enough to properly represent 10Gb/s. Pointed out by: dwhite

Re: cvs commit: src/sys/amd64/amd64 intr_machdep.c src/sys/amd64/include intr_machdep.h src/sys/arm/arm intr.c src/sys/i386/i386 intr_machdep.c src/sys/i386/include intr_machdep.h src/sys/ia64/ia64 in

2008-03-17 Thread Andrew Gallatin
John Baldwin writes: > > I already have in my tree an amd64/i386-specific sysarch request to bind an > IRQ to a CPU, but it's sort of a pain to use since we don't expose interrupt > info to userland very well so the sysadmin can't tell which CPU an IRQ is > already connected to w/o a verb

Re: cvs commit: src/sys/amd64/amd64 intr_machdep.c src/sys/amd64/include intr_machdep.h src/sys/arm/arm intr.c src/sys/i386/i386 intr_machdep.c src/sys/i386/include intr_machdep.h src/sys/ia64/ia64 in

2008-03-16 Thread Andrew Gallatin
John Baldwin [EMAIL PROTECTED] wrote: > MI code can currently (ab)use this by doing: > > intr_bind(rman_get_start(irq_res), cpu); > > however, I plan to add a truly MI interface (probably a bus_bind_intr(9)) Thank you very much for this! Do you plan to add a generic admin

cvs commit: src/sys/dev/mxge if_mxge.c

2008-03-12 Thread Andrew Gallatin
gallatin2008-03-12 15:36:00 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: Remove dead code which makes a call to mem_range_attr_set(). This fixes a bug where mxge did not declare a dependancy on mem(4), and failed to load with options nomem.

Re: cvs commit: src/sys/dev/cxgb bin2h.pl cxgb_main.c cxgb_t3fw.c cxgb_t3fw.h t3fw-5.0.0.bin.gz.uu src/sys/modules/cxgb Makefile src/sys/modules/cxgb/cxgb Makefile src/sys/modules/cxgb/cxgb_t3fw Makef

2008-02-27 Thread Andrew Gallatin
Sam Leffler writes: > Andrew Gallatin wrote: > > Sam Leffler [EMAIL PROTECTED] wrote: > > > >> Huh? What does "static linking" mean? If you're looking for an example > >> of a firmware image being embedded in a kerne

Re: cvs commit: src/sys/dev/cxgb bin2h.pl cxgb_main.c cxgb_t3fw.c cxgb_t3fw.h t3fw-5.0.0.bin.gz.uu src/sys/modules/cxgb Makefile src/sys/modules/cxgb/cxgb Makefile src/sys/modules/cxgb/cxgb_t3fw Makef

2008-02-27 Thread Andrew Gallatin
Sam Leffler [EMAIL PROTECTED] wrote: > Huh? What does "static linking" mean? If you're looking for an example > of a firmware image being embedded in a kernel look at the npe firmware > used by xscale. Kip, Before spending time on this, be warned that I tried this for mxge last year, and I ga

cvs commit: src/share/man/man4 mxge.4 src/sys/conf files.amd64 files.i386 src/sys/dev/mxge if_mxge.c if_mxge_var.h mxge_lro.c mxge_mcp.h mxge_rss_eth_z8e.c mxge_rss_ethp_z8e.c rss_eth_z8e.h rss_ethp_z

2008-02-14 Thread Andrew Gallatin
gallatin2008-02-14 20:13:14 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) share/man/man4 mxge.4 sys/conf files.amd64 files.i386 sys/dev/mxge if_mxge.c if_mxge_var.h mxge_lro.c mxge_mcp.h sys/modu

cvs commit: src/share/man/man4 mxge.4 src/sys/conf files src/sys/dev/mxge if_mxge.c if_mxge_var.h mxge_lro.c mxge_mcp.h mxge_rss_eth_z8e.c mxge_rss_ethp_z8e.c rss_eth_z8e.h rss_ethp_z8e.h src/sys/modu

2008-02-14 Thread Andrew Gallatin
gallatin2008-02-14 18:33:50 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) share/man/man4 mxge.4 sys/conf files sys/dev/mxge if_mxge.c if_mxge_var.h mxge_lro.c mxge_mcp.h sys/modules/mxge Make

cvs commit: src/sys/dev/mxge if_mxge.c if_mxge_var.h

2008-02-14 Thread Andrew Gallatin
gallatin2008-02-14 16:24:14 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c if_mxge_var.h Log: Now that mxge supports MSI-X interrupts, reverse the logic and flag legacy interrupts rather than MSI as a special case. Prior to this commit, the interru

cvs commit: src/sys/dev/mxge if_mxge.c if_mxge_var.h mxge_lro.c

2008-02-13 Thread Andrew Gallatin
gallatin2008-02-14 00:09:59 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c if_mxge_var.h mxge_lro.c Log: Add minimally invasive shims to ease MFCs of mxge back as far as RELENG_6 Sponsored by: Myricom, Inc. Revision ChangesPath 1.46

cvs commit: src/sys/dev/mxge rss_eth_z8e.h rss_ethp_z8e.h

2008-02-13 Thread Andrew Gallatin
gallatin2008-02-13 21:58:46 UTC FreeBSD src repository Modified files: sys/dev/mxge rss_eth_z8e.h rss_ethp_z8e.h Log: Make the type of the firmware arrays match those in the other eth*_z8e.h files. Revision ChangesPath 1.2 +3 -3 src/sys/dev/mxge/r

cvs commit: src/sys/dev/mxge if_mxge.c

2008-01-28 Thread Andrew Gallatin
gallatin2008-01-28 16:03:13 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/mxge if_mxge.c Log: MFC: Only reset driver state when a hardware error is detected. Revision ChangesPath 1.33.2.3 +6 -5 src/sys/dev/mxge/if_mxge.c __

cvs commit: src/sys/dev/mxge if_mxge.c

2008-01-28 Thread Andrew Gallatin
gallatin2008-01-28 15:58:03 UTC FreeBSD src repository Modified files:(Branch: RELENG_7_0) sys/dev/mxge if_mxge.c Log: MFC: Only reset driver state when a hardware error is detected. Approved by: re (kensmith) Revision ChangesPath 1.42.4.1 +6 -5

cvs commit: src/sys/dev/mxge if_mxge.c

2008-01-28 Thread Andrew Gallatin
gallatin2008-01-28 15:54:52 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/mxge if_mxge.c Log: MFC: Only reset driver state when a hardware error is detected. Revision ChangesPath 1.42.2.1 +6 -5 src/sys/dev/mxge/if_mxge.c __

cvs commit: src/sys/dev/mxge if_mxge.c

2008-01-28 Thread Andrew Gallatin
gallatin2008-01-28 13:20:51 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: Only reset driver state when a hardware error is detected. Preserve warning but do not reset if we enter the routine without seeing a hardware error. Revision Chan

cvs commit: src/sys/dev/mxge if_mxge.c if_mxge_var.h

2008-01-22 Thread Andrew Gallatin
gallatin2008-01-22 22:04:31 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c if_mxge_var.h Log: Take advantage of the new physically contiguous 9K jumbos in 8. Revision ChangesPath 1.44 +23 -3 src/sys/dev/mxge/if_mxge.c 1.18 +6

cvs commit: src/sys/conf files src/sys/dev/mxge if_mxge.c if_mxge_var.h mxge_lro.c mxge_mcp.h mxge_rss_eth_z8e.c mxge_rss_ethp_z8e.c rss_eth_z8e.h rss_ethp_z8e.h src/sys/modules/mxge Makefile src/sys/

2008-01-15 Thread Andrew Gallatin
gallatin2008-01-15 20:34:49 UTC FreeBSD src repository Modified files: sys/conf files sys/dev/mxge if_mxge.c if_mxge_var.h mxge_lro.c mxge_mcp.h sys/modules/mxge Makefile Added files: sys/dev/mxge mxge_rss_eth_

cvs commit: src/sys/dev/mxge eth_z8e.h ethp_z8e.h

2008-01-15 Thread Andrew Gallatin
gallatin2008-01-15 17:59:15 UTC FreeBSD src repository Modified files:(Branch: RELENG_7_0) sys/dev/mxge eth_z8e.h ethp_z8e.h Log: MFC: Update to firmware version 1.4.29 from 1.4.25 Approved by: re (kensmith) Revision ChangesPath 1.2.6.1 +13144

cvs commit: src/sys/dev/mxge eth_z8e.h ethp_z8e.h

2008-01-15 Thread Andrew Gallatin
gallatin2008-01-15 17:57:51 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/mxge eth_z8e.h ethp_z8e.h Log: MFC: Update to firmware version 1.4.29 from 1.4.25 Approved by: re (kensmith) Revision ChangesPath 1.2.4.1 +13144 -1

cvs commit: src/sys/dev/mxge eth_z8e.h ethp_z8e.h

2008-01-15 Thread Andrew Gallatin
gallatin2008-01-15 15:41:30 UTC FreeBSD src repository Modified files:(Branch: RELENG_6_3) sys/dev/mxge eth_z8e.h ethp_z8e.h Log: MFC: Update to firmware version 1.4.29 from 1.4.25 Approved by: re (kensmith) Revision ChangesPath 1.2.2.1.2.1 +

cvs commit: src/sys/dev/mxge eth_z8e.h ethp_z8e.h

2008-01-15 Thread Andrew Gallatin
gallatin2008-01-15 15:39:37 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/mxge eth_z8e.h ethp_z8e.h Log: MFC: Update to firmware version 1.4.29 from 1.4.25 Revision ChangesPath 1.2.2.2 +13144 -12745 src/sys/dev/mxge/eth_z8

cvs commit: src/sys/dev/mxge eth_z8e.h ethp_z8e.h

2008-01-15 Thread Andrew Gallatin
gallatin2008-01-15 15:04:40 UTC FreeBSD src repository Modified files: sys/dev/mxge eth_z8e.h ethp_z8e.h Log: Fix accidental swap of "const" for "static" in mxge firmware byte arrays caused by running my import script with the wrong args. Revision ChangesPath

cvs commit: src/sys/dev/mxge eth_z8e.h ethp_z8e.h

2008-01-15 Thread Andrew Gallatin
gallatin2008-01-15 13:29:33 UTC FreeBSD src repository Modified files: sys/dev/mxge eth_z8e.h ethp_z8e.h Log: Update to firmware version 1.4.29 from 1.4.25. Relevant changes include: - Fix a bug introduced in 1.4.20 where speculative read by the processor in the

Re: cvs commit: src UPDATING src/sys/dev/pci pci_user.c src/sys/sys param.h pciio.h

2007-10-25 Thread Andrew Gallatin
Marius Strobl [EMAIL PROTECTED] wrote: > marius 2007-10-24 20:51:44 UTC > > FreeBSD src repository > > Modified files: > .UPDATING > sys/dev/pci pci_user.c > sys/sys param.h pciio.h > Log: > Add ABI backwards compatibility to t

cvs commit: src/sys/amd64/conf NOTES src/sys/i386/conf NOTES src/sys/conf files.amd64 files.i386 src/sys/dev/mxge eth_z8e.dat.gz.uu eth_z8e.h ethp_z8e.dat.gz.uu ethp_z8e.h if_mxge.c if_mxge_var.h mcp_

2007-10-02 Thread Andrew Gallatin
gallatin2007-10-02 15:59:54 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/amd64/conf NOTES sys/i386/confNOTES sys/conf files.amd64 files.i386 sys/dev/mxge if_mxge.c if_mxge_var.h mcp_gen_header.h

cvs commit: src/sys/dev/mxge if_mxge.c if_mxge_var.h

2007-09-13 Thread Andrew Gallatin
gallatin2007-09-13 21:29:03 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c if_mxge_var.h Log: Add support for a new device id (9). Mxge NICs with the new device id support MSI-X. Approved by: re (bmah) Revision ChangesPath 1.42

cvs commit: src/sys/dev/mxge eth_z8e.h ethp_z8e.h if_mxge.c if_mxge_var.h mxge_mcp.h

2007-08-22 Thread Andrew Gallatin
gallatin2007-08-22 13:22:12 UTC FreeBSD src repository Modified files: sys/dev/mxge eth_z8e.h ethp_z8e.h if_mxge.c if_mxge_var.h mxge_mcp.h Log: - Fix a bug which could cause a panic when enabling LRO on an down mxge interface - Fix a bug

cvs commit: src/sys/conf NOTES files src/sys/dev/mxge eth_z8e.dat.gz.uu eth_z8e.h ethp_z8e.dat.gz.uu ethp_z8e.h if_mxge.c mxge_eth_z8e.c mxge_ethp_z8e.c src/sys/modules Makefile src/sys/modules/mxge/m

2007-07-19 Thread Andrew Gallatin
gallatin2007-07-19 16:16:00 UTC FreeBSD src repository Modified files: sys/conf NOTES files sys/dev/mxge if_mxge.c sys/modules Makefile sys/modules/mxge/mxge_eth_z8e Makefile sys/modules/mxge/mxge_ethp_z8e Makefile Added files: s

cvs commit: src/sys/dev/mxge eth_z8e.dat.gz.uu ethp_z8e.dat.gz.uu if_mxge.c if_mxge_var.h mcp_gen_header.h mxge_lro.c mxge_mcp.h

2007-07-12 Thread Andrew Gallatin
gallatin2007-07-12 16:04:55 UTC FreeBSD src repository Modified files: sys/dev/mxge eth_z8e.dat.gz.uu ethp_z8e.dat.gz.uu if_mxge.c if_mxge_var.h mcp_gen_header.h mxge_lro.c mxge_mcp.h Log: Update the mxge(4) driver's cop

cvs commit: src/sys/dev/mxge if_mxge.c

2007-06-16 Thread Andrew Gallatin
gallatin2007-06-17 00:09:51 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: Also mark writecombine as enabled when PAT is used to enable it rather than MTRRs. Revision ChangesPath 1.38 +2 -2 src/sys/dev/mxge/if_mxge.c ___

cvs commit: src/sys/dev/mxge if_mxge.c

2007-06-14 Thread Andrew Gallatin
gallatin2007-06-14 19:35:03 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: correct some limits on interrupt proccessing so that fast forwarding back out the same mxge interface works nicely. Revision ChangesPath 1.37 +2 -7 s

cvs commit: src/sys/net if_ethersubr.c

2007-06-12 Thread Andrew Gallatin
gallatin2007-06-12 19:53:44 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: Use if_capenable to allow LRO enabled drivers to bypass the MTU check in ether_input(). Revision ChangesPath 1.233 +2 -1 src/sys/net/if_ethersubr

cvs commit: src/sys/dev/mxge if_mxge.c

2007-06-12 Thread Andrew Gallatin
gallatin2007-06-12 19:15:16 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: Use the new IFCAP_LRO to enable/disable LRO. Revision ChangesPath 1.36 +35 -8 src/sys/dev/mxge/if_mxge.c ___

Re: cvs commit: src/sys/dev/nfe if_nfe.c if_nfereg.h

2007-06-12 Thread Andrew Gallatin
Pyun YongHyeon [EMAIL PROTECTED] wrote: > yongari 2007-06-12 02:35:01 UTC > > FreeBSD src repository > > Modified files: > sys/dev/nfe if_nfe.c if_nfereg.h > Log: > Increase a maximum segment size of DMA to 4096. Previously it used > MCLBYTES for the segment size but i

Re: cvs commit: src/sys/net if.h

2007-06-12 Thread Andrew Gallatin
Andre Oppermann [EMAIL PROTECTED] wrote: > Sam Leffler wrote: > > Andre Oppermann wrote: > >> andre 2007-06-11 20:08:12 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/net if.h Log: > >> Add IFCAP_LRO flag for drivers to announce their TCP Larg

Re: cvs commit: src/sys/sys mbuf.h src/sys/net if_ethersubr.c src/sys/dev/mxge mxge_lro.c

2007-06-12 Thread Andrew Gallatin
Andre Oppermann [EMAIL PROTECTED] wrote: > Andrew Gallatin wrote: > > Andre Oppermann writes: > > > Lets add the interface capabilities flag for LRO including the ifconfig > > > support and be done with this episode. > > > > OK. I'm about out of time

Re: cvs commit: src/sys/sys mbuf.h src/sys/net if_ethersubr.c src/sys/dev/mxge mxge_lro.c

2007-06-11 Thread Andrew Gallatin
Andre Oppermann writes: > Andrew Gallatin wrote: > > > FWIW, LRO triples receive performance for standard frames (3.xGb/s -> > > 9.3Gb/s) on decent hardware. > > Nice to see that. The problem with LRO at the moment is that it only > works on short RTT link

Re: cvs commit: src/sys/sys mbuf.h src/sys/net if_ethersubr.c src/sys/dev/mxge mxge_lro.c

2007-06-11 Thread Andrew Gallatin
Andre Oppermann writes: > Scott Long wrote: > > Andre Oppermann wrote: > >> Andrew Gallatin wrote: > >>> gallatin2007-06-11 14:59:56 UTC > >>> > >>> FreeBSD src repository > >>> > >

cvs commit: src/sys/net if_ethersubr.c

2007-06-11 Thread Andrew Gallatin
gallatin2007-06-11 18:45:49 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: Move the oversize ethernet frame size check into DIAGNOSTIC, as was proposed when it was originally added. This allows LRO to work on non-DIAGNOSTIC kernels withou

cvs commit: src/sys/sys mbuf.h src/sys/net if_ethersubr.c src/sys/dev/mxge mxge_lro.c

2007-06-11 Thread Andrew Gallatin
gallatin2007-06-11 18:26:25 UTC FreeBSD src repository Modified files: sys/sys mbuf.h sys/net if_ethersubr.c sys/dev/mxge mxge_lro.c Log: Back out the previous commit which added an M_LRO mbuf flag to defeat the mtu check in ether_inp

cvs commit: src/sys/sys mbuf.h src/sys/net if_ethersubr.c src/sys/dev/mxge mxge_lro.c

2007-06-11 Thread Andrew Gallatin
gallatin2007-06-11 14:59:56 UTC FreeBSD src repository Modified files: sys/sys mbuf.h sys/net if_ethersubr.c sys/dev/mxge mxge_lro.c Log: Allow drivers, such as cxgb and mxge, which support LRO to bypass the MTU check in ether_input()

cvs commit: src/sys/dev/mxge if_mxge.c mxge_lro.c

2007-06-11 Thread Andrew Gallatin
gallatin2007-06-11 14:01:11 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c mxge_lro.c Log: Small LRO related fixes for mxge: - Allow LRO to be enabled / disabled at runtime - Fix a double-free at module unload time. - Only update timestamp in lro

Re: cvs commit: src/sys/net pfil.h

2007-06-08 Thread Andrew Gallatin
Gleb Smirnoff writes: > Nice! I guess you can tell how much performance did we lose before? Thanks. I was running packet blasting tests to mxge(4). At ~1.3Mpps, where my old, slow machine was cpu bound, hwpmc showed an rw lock (presumably from pfil_run_hooks), and pfil_run_hooks() as the top c

cvs commit: src/sys/net pfil.h

2007-06-08 Thread Andrew Gallatin
gallatin2007-06-08 12:43:26 UTC FreeBSD src repository Modified files: sys/net pfil.h Log: Correct the definition of PFIL_HOOKED() so that it compares the value of ph_nhooks to zero, not the address. This removes extranious calls to pfil_run_hooks (and an rw loc

cvs commit: src/sys/dev/firewire sbp.c

2007-06-06 Thread Andrew Gallatin
gallatin2007-06-06 18:33:38 UTC FreeBSD src repository Modified files: sys/dev/firewire sbp.c Log: Fix a typo to make this file compile Revision ChangesPath 1.93 +1 -1 src/sys/dev/firewire/sbp.c ___ cvs-all@fre

cvs commit: src/sys/dev/mxge if_mxge.c

2007-06-05 Thread Andrew Gallatin
gallatin2007-06-05 15:02:14 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: Use pmap_change_attr() to setup a write combine attribute for our device memory, rather than relying on the less reliable MTRR method used by mem_range_attr_set().

cvs commit: src/sys/dev/mxge eth_z8e.dat.gz.uu ethp_z8e.dat.gz.uu if_mxge.c if_mxge_var.h mcp_gen_header.h mxge_lro.c mxge_mcp.h src/sys/modules Makefile src/sys/modules/mxge Makefile src/sys/modules/

2007-05-29 Thread Andrew Gallatin
gallatin2007-05-29 16:37:16 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/modules Makefile share/man/man4 Makefile Added files: (Branch: RELENG_6) sys/dev/mxge eth_z8e.dat.gz.uu ethp_z8e.dat.gz.uu

Re: cvs commit: src/sys/dev/mxge if_mxge.c

2007-05-29 Thread Andrew Gallatin
Gleb Smirnoff writes: > On Fri, May 25, 2007 at 10:57:54PM +0200, Andre Oppermann wrote: > A> Andrew Gallatin wrote: > A> > Andrew Gallatin [EMAIL PROTECTED] wrote: > A> >> gallatin2007-05-25 19:38:32 UTC > A> >> > A> >> FreeBSD s

Re: cvs commit: src/sys/dev/mxge if_mxge.c

2007-05-25 Thread Andrew Gallatin
Andrew Gallatin [EMAIL PROTECTED] wrote: > gallatin2007-05-25 19:38:32 UTC > > FreeBSD src repository > > Modified files: > sys/dev/mxge if_mxge.c > Log: > - Use m_getcl() rather than m_getjcl() when we're allocating 2KB > clusters.

cvs commit: src/sys/dev/mxge if_mxge.c

2007-05-25 Thread Andrew Gallatin
gallatin2007-05-25 19:38:32 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: - Use m_getcl() rather than m_getjcl() when we're allocating 2KB clusters. This helps quite a bit on my low end machines (improves performance by about 300Kpps when bei

Re: cvs commit: src/sys/dev/pci pci_pci.c

2007-05-23 Thread Andrew Gallatin
John Baldwin writes: > On Wednesday 23 May 2007 03:00:30 pm Andrew Gallatin wrote: > > > > Rui Paulo writes: > > > At Wed, 23 May 2007 15:31:01 +0000 (UTC), > > > Andrew Gallatin wrote: > > > > > > > > gallatin2007-05-23 1

Re: cvs commit: src/sys/dev/pci pci_pci.c

2007-05-23 Thread Andrew Gallatin
Rui Paulo writes: > At Wed, 23 May 2007 15:31:01 + (UTC), > Andrew Gallatin wrote: > > > > gallatin2007-05-23 15:31:01 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/pci pci_pci.c

cvs commit: src/sys/dev/mxge if_mxge.c if_mxge_var.h

2007-05-23 Thread Andrew Gallatin
gallatin2007-05-23 16:25:40 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c if_mxge_var.h Log: Add support for "hardware" vlan tag insertion & removal emulation in the mxge driver so as to be able to do checksum offload on vlans. This is good enough

cvs commit: src/sys/dev/pci pci_pci.c

2007-05-23 Thread Andrew Gallatin
gallatin2007-05-23 15:31:01 UTC FreeBSD src repository Modified files: sys/dev/pci pci_pci.c Log: Fix a typo in pcib_alloc_msi{x} which resulted in the device's, not the bridge's, softc to be used to check the PCIB_DISABLE_MSI flag. This resulted in randomly allowin

cvs commit: src/sys/dev/mxge if_mxge.c if_mxge_var.h

2007-05-22 Thread Andrew Gallatin
gallatin2007-05-22 15:57:49 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c if_mxge_var.h Log: mxge cleanups: - Remove code to use the special wc_fifo. It has been disabled by default in our other drivers as it actually slows down transmit by a

cvs commit: src/sys/modules/mxge/mxge Makefile

2007-05-22 Thread Andrew Gallatin
gallatin2007-05-22 14:38:17 UTC FreeBSD src repository Modified files: sys/modules/mxge/mxge Makefile Log: Hook mxge_lro.c to the build so that the if_mxge.ko module will load. Revision ChangesPath 1.3 +1 -1 src/sys/modules/mxge/mxge/Makefile

Re: cvs commit: src/sys/dev/mxge eth_z8e.dat.gz.uu ethp_z8e.dat.gz.uu if_mxge.c if_mxge_var.h mxge_lro.c mxge_mcp.h

2007-05-21 Thread Andrew Gallatin
Andrew Gallatin [EMAIL PROTECTED] wrote: > > - Switch the driver from chaining MJUMPAGESIZE clusters to using > MJUM9BYTES clusters to avoid mbuf chaining overheads. Due to this > change, people running obsolete f/w images will be limited to an MTU of > PAGE_S

cvs commit: src/sys/dev/mxge eth_z8e.dat.gz.uu ethp_z8e.dat.gz.uu if_mxge.c if_mxge_var.h mxge_lro.c mxge_mcp.h

2007-05-21 Thread Andrew Gallatin
gallatin2007-05-21 18:32:27 UTC FreeBSD src repository Modified files: sys/dev/mxge eth_z8e.dat.gz.uu ethp_z8e.dat.gz.uu if_mxge.c if_mxge_var.h mxge_mcp.h Added files: sys/dev/mxge mxge_lro.c Log: Improve mxge receive performance:

cvs commit: src/sys/dev/mxge if_mxge.c

2007-05-08 Thread Andrew Gallatin
gallatin2007-05-08 18:45:43 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: - Add handling of MXGEFW_CMD_UNKNOWN in mxge_send_cmd(). - Convert mxge_send_cmd result handling to a switch rather than adding a new elseif for MXGEFW_CMD_UNKNOWN

cvs commit: src/sys/dev/mxge eth_z8e.dat.gz.uu ethp_z8e.dat.gz.uu if_mxge.c mxge_mcp.h

2007-05-08 Thread Andrew Gallatin
gallatin2007-05-08 14:19:43 UTC FreeBSD src repository Modified files: sys/dev/mxge eth_z8e.dat.gz.uu ethp_z8e.dat.gz.uu if_mxge.c mxge_mcp.h Log: Firmware update & improvements to firmware selection: - Update to latest (1.4.17) firmware.

cvs commit: src/sys/dev/mxge if_mxge.c

2007-04-27 Thread Andrew Gallatin
gallatin2007-04-27 13:11:50 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: -Fix an mbuf leak caused by a cut&paste bug where the small ring's mbufs were never freed, but the big ring was freed twice. -Don't supply rx hw csums for frames which

cvs commit: src/sys/dev/mxge if_mxge.c

2007-04-03 Thread Andrew Gallatin
gallatin2007-04-03 10:41:34 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: - Fix a bug in the TSO transmit routine where frames which had been defragged and had their headers in the same cluster as their payload would be fed to the NIC in heade

cvs commit: src/sys/dev/mxge if_mxge.c

2007-03-27 Thread Andrew Gallatin
gallatin2007-03-27 15:55:32 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: Fix a bug which could lead to receive side lockup when WC is disabled. When submitting rx buffers and not using WC fifo, always replace the invalid DMA address with the

cvs commit: src/sys/dev/mxge eth_z8e.dat.gz.uu ethp_z8e.dat.gz.uu

2007-03-08 Thread Andrew Gallatin
gallatin2007-03-08 17:49:07 UTC FreeBSD src repository Modified files: sys/dev/mxge eth_z8e.dat.gz.uu ethp_z8e.dat.gz.uu Log: Update mxge's firmware from a fairly old version (1.4.6) to the most recent version (1.4.12). Firmware changelogs are available on Myricom'

Re: cvs commit: src/sys/kern kern_linker.c

2007-02-26 Thread Andrew Gallatin
John Baldwin [EMAIL PROTECTED] wrote: > jhb 2007-02-23 19:46:59 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_linker.c > Log: > Drop the global kernel linker lock while executing the sysinit's for a > freshly-loaded kernel module. To avoid

Re: cvs commit: src/sys/arm/xscale/ixp425 ixp425_npe.c src/sys/dev/ipw if_ipw.c if_ipwvar.h src/sys/dev/isp isp_freebsd.h src/sys/dev/iwi if_iwi.c if_iwivar.h src/sys/dev/mxge if_mxge.c src/sys/kern s

2007-02-21 Thread Andrew Gallatin
Luigi Rizzo writes: > On Wed, Feb 21, 2007 at 01:22:28PM -0500, Andrew Gallatin wrote: > > > > Luigi Rizzo writes: > ,,, > > > i am not sure i follow you here... > > > Of course when you drop the lock you risk that the underlying > > > data s

Re: cvs commit: src/sys/arm/xscale/ixp425 ixp425_npe.c src/sys/dev/ipw if_ipw.c if_ipwvar.h src/sys/dev/isp isp_freebsd.h src/sys/dev/iwi if_iwi.c if_iwivar.h src/sys/dev/mxge if_mxge.c src/sys/kern s

2007-02-21 Thread Andrew Gallatin
Luigi Rizzo writes: > On Wed, Feb 21, 2007 at 12:50:44PM -0500, Andrew Gallatin wrote: > ... > > Speaking of icky, I'm really worried about the pedantic nature of > > FreeBSD's WITNESS and "never, ever sleep while holding a mutex" dogma > > causing

Re: cvs commit: src/sys/arm/xscale/ixp425 ixp425_npe.c src/sys/dev/ipw if_ipw.c if_ipwvar.h src/sys/dev/isp isp_freebsd.h src/sys/dev/iwi if_iwi.c if_iwivar.h src/sys/dev/mxge if_mxge.c src/sys/kern s

2007-02-21 Thread Andrew Gallatin
Luigi Rizzo writes: > On Wed, Feb 21, 2007 at 12:13:02PM -0500, Andrew Gallatin wrote: > > Luigi Rizzo [EMAIL PROTECTED] wrote: > > > > > Cleanup and document the implementation of firmware(9) based on > > > a version that i posted earlier on the -c

cvs commit: src/sys/dev/mxge if_mxge.c if_mxge_var.h

2007-02-21 Thread Andrew Gallatin
gallatin2007-02-21 17:34:05 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c if_mxge_var.h Log: Work around a firmware bug where broadcast frames would be incorrectly treated as multicast frames and filtered, but when only when "adopting" running firm

Re: cvs commit: src/sys/arm/xscale/ixp425 ixp425_npe.c src/sys/dev/ipw if_ipw.c if_ipwvar.h src/sys/dev/isp isp_freebsd.h src/sys/dev/iwi if_iwi.c if_iwivar.h src/sys/dev/mxge if_mxge.c src/sys/kern s

2007-02-21 Thread Andrew Gallatin
Luigi Rizzo [EMAIL PROTECTED] wrote: > Cleanup and document the implementation of firmware(9) based on > a version that i posted earlier on the -current mailing list, > and subsequent feedback received. > At least for me, firmware(9) has been broken ever since the kld_mtx was replaced wi

cvs commit: src/sys/dev/mxge if_mxge.c if_mxge_var.h

2007-01-31 Thread Andrew Gallatin
gallatin2007-01-31 19:53:37 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c if_mxge_var.h Log: - Add 99% of a callout based watchdog. The remaining 1% is waiting for pci_cfg_restore() to be exported. It was tested using a hackily accessed pci_c

Re: cvs commit: src/sys/dev/mxge if_mxge.c

2007-01-31 Thread Andrew Gallatin
Scott Long writes: > Yeah, I can't stress enough that busdma maps are opaque handles and > should always be handled like they are valid. It's only an > implementation detail that they are often NULL on i386 and amd64. It was overly cautious resource freeing code, influenced by lots of program

cvs commit: src/sys/dev/mxge if_mxge.c

2007-01-31 Thread Andrew Gallatin
gallatin2007-01-31 15:47:44 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: destroy busdma maps even if they are NULL, so as to avoid leaking busdma tags. Revision ChangesPath 1.19 +16 -18src/sys/dev/mxge/if_mxge.c ___

cvs commit: src/sys/dev/mxge if_mxge.c if_mxge_var.h

2007-01-31 Thread Andrew Gallatin
gallatin2007-01-31 15:29:31 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c if_mxge_var.h Log: Abandon using sleepable locks in favor of mutexes for mxge's if_ioctl locking in preparation for adding a watchdog handler (callouts must not use sleepable

cvs commit: src/sys/dev/mxge if_mxge.c if_mxge_var.h

2007-01-30 Thread Andrew Gallatin
gallatin2007-01-30 08:39:45 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c if_mxge_var.h Log: Minor updates: - initialize ifq_drv_maxlen correctly - mark the interface as jumbo capable - keep stats on the number of times the hw transmit queue f

cvs commit: src/sys/dev/mxge if_mxge.c

2006-11-29 Thread Andrew Gallatin
gallatin2006-11-29 15:30:39 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: Fix mxge_submit_8rx() to behave like the comments says it does, and ensure that it copies at most 32 bytes at a time. Revision ChangesPath 1.16 +3 -1

cvs commit: src/sys/dev/mxge if_mxge.c

2006-11-22 Thread Andrew Gallatin
gallatin2006-11-22 18:47:25 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: Fix transposition of width and value arguments to pci_config_write() when setting up the read request size. Pointed out by: kmacy Revision ChangesPath 1.1

cvs commit: src/sys/dev/mxge if_mxge.c if_mxge_var.h

2006-11-22 Thread Andrew Gallatin
gallatin2006-11-22 16:33:40 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c if_mxge_var.h Log: Initialization bugfixes and enhancements: - Fix bug preventing adoption of running firmware - Set PCIe max read request size to 4KB - Read PCIe link w

cvs commit: src/sys/dev/mxge if_mxge.c

2006-10-17 Thread Andrew Gallatin
gallatin2006-10-17 14:39:19 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: Fix a driver bug which could result in frames MHLEN or (MHLEN - 1) bytes long being DMA'ed 2 (or 1) bytes past the end of the mbuf and corrupting random kernel memory.

Re: cvs commit: src/sys/dev/mxge eth_z8e.dat.gz.uu ethp_z8e.dat.gz.uu if_mxge.c if_mxge_var.h mxge_mcp.h

2006-09-15 Thread Andrew Gallatin
Andrew Gallatin [EMAIL PROTECTED] wrote: > - Added support for multicast filtering, now that the firmware > supports it. Note that this is not yet tested, as multicast > seems to panic -current (even w/o mxge loaded) Whoops. This was true for Monday's -current. But

cvs commit: src/sys/dev/mxge eth_z8e.dat.gz.uu ethp_z8e.dat.gz.uu if_mxge.c if_mxge_var.h mxge_mcp.h

2006-09-15 Thread Andrew Gallatin
gallatin2006-09-15 19:24:45 UTC FreeBSD src repository Modified files: sys/dev/mxge eth_z8e.dat.gz.uu ethp_z8e.dat.gz.uu if_mxge.c if_mxge_var.h mxge_mcp.h Log: - Updated to the latest myri10ge firmware - Added support for multicast filtering,

cvs commit: src/sys/dev/mxge if_mxge.c if_mxge_var.h

2006-09-15 Thread Andrew Gallatin
gallatin2006-09-15 15:41:28 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c if_mxge_var.h Log: - Added TSO support. This entailed increasing the number of send descriptors in the transmit busdma tag, so I moved the segment list off the stack. -

Re: cvs commit: src/sys/net if.h src/sys/netinet ip_output.c tcp_input.c tcp_subr.c tcp_var.h src/sys/netinet6 icmp6.c src/sys/sys mbuf.h

2006-09-07 Thread Andrew Gallatin
Andre Oppermann [EMAIL PROTECTED] wrote: > Joao Barros wrote: > > On 9/6/06, Andre Oppermann <[EMAIL PROTECTED]> wrote: > >> Log: > >> First step of TSO (TCP segmentation offload) support in our network > >> stack. Hurray! > > I have been following the thread on TSO with the Intel boys. > >

cvs commit: src/sys/dev/mxge if_mxge.c

2006-08-04 Thread Andrew Gallatin
gallatin2006-08-04 17:58:41 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: Copy the link-layer address from our ifnet pointer at reset time so that the mac address can be overridden. Revision ChangesPath 1.9 +3 -0 src/sys/d

cvs commit: src/sys/dev/mxge if_mxge.c

2006-08-01 Thread Andrew Gallatin
gallatin2006-08-01 14:02:54 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: - add read only sysctl to indicate if write-combining was enabled - enable mxge_dummy_rdma() right after reset, and make sure to disable when detaching the driver.

cvs commit: src/sys/dev/mxge if_mxge.c

2006-07-17 Thread Andrew Gallatin
gallatin2006-07-17 22:17:05 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: Firmware loading improvements: - Copy ethernet firmware down in small chunks so as to avoid bugs in early versions of the bootstrap firmware. - Attempt to "adopt"

cvs commit: src/sys/dev/mxge if_mxge.c

2006-06-14 Thread Andrew Gallatin
gallatin2006-06-14 19:32:01 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: Much to my surprise, IFQ_DRV_DEQUEUE() can return a null mbuf even if !IFQ_DRV_IS_EMPTY(). Taking this into account, I re-structured the transmit routine so as to avoi

cvs commit: src/sys/dev/mxge if_mxge.c

2006-06-14 Thread Andrew Gallatin
gallatin2006-06-14 17:52:31 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: Replace a sc->ifp->if_snd.ifq_drv_maxlen with IFQ_SET_MAXLEN(), and call IFQ_SET_READY(). Submitted by: brueffer Revision ChangesPath 1.5 +2 -1

cvs commit: src/share/man/man4 myri10ge.4 src/sys/modules/myri10ge Makefile src/sys/modules/myri10ge/myri10ge Makefile src/sys/modules/myri10ge/myri10ge_eth_z8e Makefile src/sys/modules/myri10ge/myri1

2006-06-14 Thread Andrew Gallatin
gallatin2006-06-14 17:07:21 UTC FreeBSD src repository Removed files: share/man/man4 myri10ge.4 sys/modules/myri10ge Makefile sys/modules/myri10ge/myri10ge Makefile sys/modules/myri10ge/myri10ge_eth_z8e Makefile sys/modules/myri10ge/myri10ge_ethp_z8e Makefile

cvs commit: src/sys/dev/mxge eth_z8e.dat.gz.uu ethp_z8e.dat.gz.uu if_mxge.c if_mxge_var.h mxge_mcp.h

2006-06-14 Thread Andrew Gallatin
gallatin2006-06-14 16:23:17 UTC FreeBSD src repository Modified files: sys/dev/mxge eth_z8e.dat.gz.uu ethp_z8e.dat.gz.uu if_mxge.c if_mxge_var.h mxge_mcp.h Log: Update the mxge driver. - Update the firmware to the latest released firmware

cvs commit: src/share/man/man4 Makefile mxge.4 src/sys/dev/mxge if_mxge.c if_mxge_var.h mxge_mcp.h src/sys/modules Makefile src/sys/modules/mxge Makefile src/sys/modules/mxge/mxge Makefile src/sys/mod

2006-06-13 Thread Andrew Gallatin
gallatin2006-06-13 13:53:52 UTC FreeBSD src repository Modified files: share/man/man4 Makefile mxge.4 sys/dev/mxge if_mxge.c if_mxge_var.h mxge_mcp.h sys/modules Makefile sys/modules/mxge Makefile sys/modules/mxge/mxge Makefile sys/m

  1   2   >