Re: ether_input question

2007-03-17 Thread John Polstra
Aniruddha Bohra wrote: Hi, In two drivers, fxp and em, the assumptions about entering the ether_input routine are different. From em_rxeof: #ifdef DEVICE_POLLING EM_UNLOCK() (*ifp->if_input)() EM_UNLOCK() #else (*ifp->if_input)() #endif While in fxp: FXP_UNLOCK() (*ifp->if_input)() FXP_LOC

Re: bge0: discard frame w/o packet header

2007-02-15 Thread John Polstra
On 15-Feb-2007 Kip Macy wrote: > I mean a bug in if_bge.c - there are a lot of ways that this could > happen - not calling M_GETHDR, mis-calling m_pullup etc. There's no obvious bug in that part of the driver, but I'm going to instrument it on the offending system to try to find out just what's go

Re: bge0: discard frame w/o packet header

2007-02-15 Thread John Polstra
On 15-Feb-2007 Kip Macy wrote: >> >> The "discard frame w/o packet header" message comes from ether_input() >> if it gets an mbuf that doesn't have the M_PKTHDR flag set. That >> can't happen unless something is very wrong with the system. I'd like >> to make it a panic. At least then the machin

bge0: discard frame w/o packet header

2007-02-15 Thread John Polstra
I have a Dell SC1435 server running an i386 -current system from around the end of December, with a few selected updates applied. It had been running reliably until early this morning, when the following sequence of events happened. First, this message was logged: Feb 15 07:14:29 rock kernel:

Re: [Fwd: Re: bge Ierr rate increase from 5.3R -> 6.1R]

2007-01-15 Thread John Polstra
On 13-Jan-2007 Oleg Bulyzhin wrote: >> Could you please test attached patch? It should fix ierrs issue and should >> not >> break link events (would be fine to test it: unplug/plug cable, try to change >> media with ifconfig, change media on other end of wire). >> > > Oops, previous patch was in

Re: [Fwd: Re: bge Ierr rate increase from 5.3R -> 6.1R]

2007-01-09 Thread John Polstra
On 09-Jan-2007 Oleg Bulyzhin wrote: > On Mon, Jan 08, 2007 at 04:33:29PM -0800, John Polstra wrote: >> On 30-Dec-2006 Bruce Evans wrote: >> > More debugging showed that almost any of the reads of the phy in mii >> > cause an input error, >> >> The er

Re: [Fwd: Re: bge Ierr rate increase from 5.3R -> 6.1R]

2007-01-08 Thread John Polstra
On 30-Dec-2006 Bruce Evans wrote: > More debugging showed that almost any of the reads of the phy in mii > cause an input error, The errors appear to be caused by the code in bge_miibus_{read,write}reg that clears and then restores the BGE_MIMODE_AUTOPOLL bit of the BGE_MI_MODE register. If you r

Re: Serious em problems under -current on two different platforms [SOLVED]

2006-11-19 Thread John Polstra
Well, this is embarrassing. It turns out there were two different problems, neither one caused by the driver. 1. I had some ARP poisoning going on on my LAN, and that's why the two em interfaces in the Dell box appeared to be behaving so strangely. I fixed that, and the box is working just fine

Re: Serious em problems under -current on two different platforms

2006-11-19 Thread John Polstra
On 19-Nov-2006 John Polstra wrote: > On 18-Nov-2006 Mike Tancsa wrote: >> Havent had too much experience with PCIe riser cards yet, but have >> had some experience with bad PCI-X risers. Any way to test to see if >> its a bad riser card? The behaviour almost looks t

Re: Serious em problems under -current on two different platforms

2006-11-18 Thread John Polstra
On 18-Nov-2006 Mike Tancsa wrote: > Havent had too much experience with PCIe riser cards yet, but have > had some experience with bad PCI-X risers. Any way to test to see if > its a bad riser card? The behaviour almost looks to be a hardware issue ? I agree. There's another slot (with its own

Serious em problems under -current on two different platforms

2006-11-17 Thread John Polstra
Folks, I'm using -current from 2006-11-16 05:00 UTC and find that my em interfaces are unusable on two quite different platforms. I've tried a lot of things to make sure it's not a local fubar here, including doing a "make release" using a virgin source tree and installing fresh from the resulting

Re: em network issues

2006-10-19 Thread John Polstra
On 19-Oct-2006 Scott Long wrote: > The performance measurements that Andre and I did early this year showed > that the INTR_FAST handler provided a very large benefit. I'm trying to understand why that's the case. Is it because an INTR_FAST interrupt doesn't have to be masked and unmasked in the

RE: IPMI & portrange

2006-09-26 Thread John Polstra
On 26-Sep-2006 Danny Braniss wrote: > This keeps bitting me every other upgrade, IPMI on some > hosts, if enabled, will steal packets to port 623 or 664, so > the current solution is either set net.inet.ip.portrange.lowlast > to 664, (for some reason this does not seem to work if done via > l

Re: Changes in the network interface queueing handoff model

2006-07-31 Thread John Polstra
On 31-Jul-2006 Petri Helenius wrote: > Robert Watson wrote: >> >> I tend to agree, but implemented full queueing support for if_em to >> make sure I understood to complexity implications of completely >> removing queueing from the ifnet side dispatch. I guess an >> interesting question for us i

RE: Changes in the network interface queueing handoff model

2006-07-31 Thread John Polstra
> Attached is a patch that maintains the current if_start, but adds > if_startmbuf. If a device driver implements if_startmbuf and the global > sysctl net.startmbuf_enabled is set to 1, then the if_startmbuf path in the > driver will be used. Otherwise, if_start is used. I have modified the i

Re: IF_HANDOFF vs. IFQ_HANDOFF

2006-06-19 Thread John Polstra
On 18-Jun-2006 John-Mark Gurney wrote: > John Polstra wrote this message on Thu, Jun 15, 2006 at 09:18 -0700: >> in the HW but have not yet completed. When the completion interrupt >> comes in, the driver is supposed to check the if_snd queue for more >> mbufs and process

Re: IF_HANDOFF vs. IFQ_HANDOFF

2006-06-15 Thread John Polstra
On 15-Jun-2006 Robert Watson wrote: > On Wed, 14 Jun 2006, John Polstra wrote: > >> Can somebody explain why there is both an IF_HANDOFF macro and an >> IFQ_HANDOFF macro? Except for a slight difference in parameters, they both >> seem to do roughly the same thing u

IF_HANDOFF vs. IFQ_HANDOFF

2006-06-14 Thread John Polstra
Can somebody explain why there is both an IF_HANDOFF macro and an IFQ_HANDOFF macro? Except for a slight difference in parameters, they both seem to do roughly the same thing using completely distinct blocks of code. Is IF_HANDOFF supposed to be used only when the target queue is not the interfac

RE: em interrupt storm

2005-11-22 Thread John Polstra
On 23-Nov-2005 Kris Kennaway wrote: > I am seeing the em driver undergoing an interrupt storm whenever the > amr driver receives interrupts. In this case I was running newfs on > the amr array and em0 was not in use: > >28 root1 -68 -187 0K 8K CPU1 1 0:32 53.98% irq16: em

RE: PR kern/78968 MBuf cluster exhaustion. RFC (solutions)

2005-05-17 Thread John Polstra
On 17-May-2005 Ernest Smallis wrote: > Hi All, I am seeing this problem as well: > a. The kernel is in a tight loop via the fxp driver since there are > frames that need to be DMA'd but cannot be because 'b.' > b. The fxp driver calls m_getcl( ) which returns ENOBUFS since there > are no clusters

Re: Irritation regarding precision of ping(8)...

2004-11-02 Thread John Polstra
On 31-Oct-2004 Sean Chittenden wrote: >>> This has long bugged me and tonight I finally snapped and had to do >>> something about it. Example output: >>> >>> 64 bytes from a.b.c.d: icmp_seq=935 ttl=126 time=33.824 ms >>> 64 bytes from a.b.c.d: icmp_seq=936 ttl=126 time=29.138 ms >>> 64 bytes from

Re: netgraph only on i386/ia64 - why ?

2004-08-19 Thread John Polstra
I dropped scottl and re from the cc list, since they're busy and asked us to work it out on our own. On 20-Aug-2004 Julian Elischer wrote: > Ok so what is the next number that should be used? > it's currently #define __FreeBSD_version 60 > > 61? Yes, that would be the next number. I qu

Re: netgraph only on i386/ia64 - why ?

2004-08-18 Thread John Polstra
On 18-Aug-2004 Julian Elischer wrote: > John Polstra wrote: >> >> There is one problem with netgraph on 64-bit platforms. The ng_msghdr >> struct is 52 bytes / 4-byte aligned (see ng_message.h). That means >> the message payload is not well-aligned for 64-bit platfor

Re: netgraph only on i386/ia64 - why ?

2004-08-17 Thread John Polstra
On 17-Aug-2004 Harti Brandt wrote: > On Mon, 16 Aug 2004, Bjoern A. Zeeb wrote: > > BAZ>Hi, > BAZ> > BAZ>It seems netgraph is only build on ia64 and i386. > BAZ>Can someone please explain why ? > > Until around april I used all the ATM related Ng stuff regularily (this > include ng_socket, all th

RE: Looking for a Broadcom BCM5704 datasheet

2004-05-14 Thread John Polstra
On 13-May-2004 Ruslan Ermilov wrote: > > I'm looking for a Broadcom BCM5704[S] technical datasheet. If anyone has > such a beast, or knows how one could obtain it, please let me know. Broadcom only provides them under NDA. John ___ [EMAIL PROTECTED] m

Re: em(4) problems.

2004-05-06 Thread John Polstra
On 06-May-2004 Andre Oppermann wrote: > Søren Schmidt wrote: >> >> Andre Oppermann wrote: >> > What MIIPHY does the card have? >> >> No idea, builtin of sorts, there is no mention of it in the probe, and >> no HW to see on the boards. I have two different boards with these on >> them both show th

Re: em(4) problems.

2004-05-05 Thread John Polstra
On 05-May-2004 Søren Schmidt wrote: > John Polstra wrote: >> Are either of the IRQs (10 and 19) shared with other devices? > > Yes, the working one is shared with an (unused) USB port I was hoping the failing IRQ would be shared. So much for that

Re: em(4) problems.

2004-05-05 Thread John Polstra
On 05-May-2004 Søren Schmidt wrote: > For what its worth I have problems with one em based interface as well, > it locks the machine solid when used: > > em0: port > 0xb000-0xb01f mem 0xfb10-0xfb11 irq 10 at device 1.0 on pci1 > em0: Reserved 0x2 bytes for rid 0x10 type 3 at 0xfb100

Re: libalias patch for review / testing

2004-03-18 Thread John Polstra
On 16-Mar-2004 Dag-Erling Smørgrav wrote: > Ruslan Ermilov <[EMAIL PROTECTED]> writes: >> I know this code quite well. Where do you suspect could be a bug >> affecting -O2 compiles, or you just simply fixed -O2 and hope it >> will auto-fix the (possible) bugs in -O2? > > Since there is no inline

Re: Byte counters reset at ~4GB

2004-03-17 Thread John Polstra
On 16-Mar-2004 Mike Jakubik wrote: > > Got it. In just curious though... realistically, how big of an impact on > performance is this on a modern CPU? Is it not simply the original 32bit > calculation x 2? Please, just search the mailing list archives. We've already had this discussion in depth.

RE: netgraph(3) NGM_KSOCKET_BIND

2003-11-19 Thread John Polstra
On 19-Nov-2003 Crist J. Clark wrote: > OK, an easy one. I am trying to do some netgraph(3) coding in > userland. From how I read the documentation, this should work. Before > I go learn all of the netraph(4) kernel code to understand the error > message, could someone tell me how this is supposed t

Re: what about 5000 .. 10000 VLANs in one system?

2003-11-14 Thread John Polstra
On 14-Nov-2003 Brooks Davis wrote: > > I think is should work, but performance may be poor. Currently, > vlan_input() finds the correct vlan by searching the list of all vlans > until it finds the correct one. For that many vlans, it might be > necessicary to modify the code to use some form of

RE: what about 5000 .. 10000 VLANs in one system?

2003-11-14 Thread John Polstra
On 14-Nov-2003 "."@babolo.ru wrote: > > I remember that VLAN tag has 12 bits :-) > > I need in system with 5000 .. 1 VLAN > interfaces on 2 .. 6 physical ethernets. Er, so what is your strategy for packing 5000-1 different values into a 12-bit field? > Does anybody has such expienence?

Re: Remote Boot

2003-10-23 Thread John Polstra
On 22-Oct-2003 Greg Black wrote: > On 2003-10-20, Tobias P. Santos wrote: > >> I am trying to boot a FreeBSD diskless client with no success. >> Actually, I can boot the client, the kernel is downloaded and begins >> to boot. Then it tries to reach the DHCP/BOOT server, but this never >> occurs an

routed(8) and static routes

2003-10-08 Thread John Polstra
I'm trying for the first time to get routed(8) to do something useful, and it's got me stumped. The man page says: Static routes in the kernel table are preserved and included in RIP responses if they have a valid RIP metric (see route(8)). >From reading the sources, "valid RIP metric" seems

Re: bpf, ipfw and before-and-after

2003-08-14 Thread John Polstra
e design mandates a packet copy. > > It´s not a justification to make it slower but gigabit performance out of bpf > is just not there until memory speeds increase a lot or the copying goes away. My point is that the extra calls to bpf_mtap would harm performance even

Re: bpf, ipfw and before-and-after

2003-08-14 Thread John Polstra
the point where they matter. With 10 Gb ethernet on > > the way, it will only get worse. > > You said there were calls to bpf_mtag and they would add noticeable > overhead even when BPF was not in use. I said these are only made when BPF > is in use. What doesn't follo

Re: bpf, ipfw and before-and-after

2003-08-14 Thread John Polstra
t the extra calls to bpf_mtap to be present in the code only if enabled by an option in the kernel config file. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Two buttocks cannot avoid friction." -- Malaw

Re: bpf, ipfw and before-and-after

2003-08-09 Thread John Polstra
inate the problem. Even with gigabit ethernet those individual nanoseconds add up quickly to the point where they matter. With 10 Gb ethernet on the way, it will only get worse. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Two buttocks

Re: bpf, ipfw and before-and-after

2003-08-07 Thread John Polstra
In article <[EMAIL PROTECTED]>, Edwin Groothuis <[EMAIL PROTECTED]> wrote: > On Tue, Aug 05, 2003 at 11:17:07AM -0700, John Polstra wrote: > > Tcpdump has always shown traffic _at_ the network interface. That's > > why it has the "-i" option. I would

Re: IPv6 and me....

2003-06-18 Thread John Polstra
If that is indeed the case, you're going > to see a lot more support for IPv6 from vendors, etc. Kind of like what happened with Ada, eh? ;-) John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Two buttocks cannot av

Re: gratuitous ARP with em interface.

2003-05-30 Thread John Polstra
ut I think the problem would go away if you changed WAIT_FOR_AUTO_NEG_DEFAULT to 0 in "if_em.h". John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Two buttocks cannot avoid friction." -- Malawi saying

Re: The inflated snd_cwnd doesn't get retracted after TCP recovered from multiple losses (4.5-RELEASE)

2003-03-03 Thread John Polstra
ugs in the TCP implementation in 4.5-RELEASE. Try upgrading to the latest -stable. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send

Re: Preferred Gigabit interfaces for -CURRENT

2003-02-08 Thread John Polstra
-around for a chip bug. I can't think of any other possible motivation for taking such a performance hit. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: CFR: MFC of mtags

2002-11-22 Thread John Polstra
FreeBSD, and it only discourages them from trying to support our operating system. Let's just let the 4.x branch live out the rest of its life span in a compatible way. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "

Re: bge bug w/ out of bounds return receiver, staying in rxeof all the time, patch

2002-11-21 Thread John Polstra
> without the VPD stuff), but the other changes seemed > > generally useful. > > Please whittle the patch down to just the bug fix; 5.0 is in code freeze. Don't worry, Sam. I'm planning to shepherd this stuff into the tree, but I don't see it happening

Re: Tigon 3 bad checksums on TCP packets

2002-10-14 Thread John Polstra
70x chip, apparently. I noticed that the Linux driver only applies this workaround for 5700 and 5701 chips. If you want better performance you may have to wait until you can buy cards with the newer 5703 chips on them. Or, switch to a non-Athlon system. John -- John Polstra Jo

Re: Tigon 3 bad checksums on TCP packets

2002-10-14 Thread John Polstra
seeing the problem only on TCP packets. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: Anyone T/TCP?

2002-10-04 Thread John Polstra
load on the victim. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: NFS client code calls sosend() directly...

2002-10-03 Thread John Polstra
> touch it when I made that change several years ago. > > I guess my question then is: I'd like to clean this up. Is the approach > I'm suggesting correct? FWIW, your approach is what the ng_ksocket node does. I've used it before and it worked fine for me. John -- J

Re: mbuf external buffer reference counters

2002-07-12 Thread John Polstra
I don't know the answer to that. The majority of systems will be uniprocessor for a good long time, and I would hate to see their performance sacrificed needlessly. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappo

Re: mbuf external buffer reference counters

2002-07-12 Thread John Polstra
counts laid out as they are in -stable, i.e., one big contiguous block of counts. That way, the counts are spread out through the entire cache and they don't compete with each other nearly so much. That is the underlying principle of slab allocators, by the way. John -- John Polstra

Re: virtually contig jumbo mbufs (was Re: new zero copy sockets snapshot)

2002-07-05 Thread John Polstra
y* like the equivalent tigon-2 struct. This makes sense, as > its a descendant of the tigon-2. Are the tigon-2 docs publicly available and free from NDA concerns? John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment i

Re: virtually contig jumbo mbufs (was Re: new zero copy sockets snapshot)

2002-07-05 Thread John Polstra
r, probably) but the driver doesn't actually use it. Without the docs it would take a lot of trial & error to figure out how to make it work. In other words, I doubt that the bge driver could use a new buffer API unless it provided a way to get physically con

Re: virtually contig jumbo mbufs (was Re: new zero copy sockets snapshot)

2002-07-05 Thread John Polstra
In article <[EMAIL PROTECTED]>, Bosko Milekic <[EMAIL PROTECTED]> wrote: > > On Fri, Jul 05, 2002 at 09:45:01AM -0700, John Polstra wrote: > > The BCM570x chips (bge driver) definitely need a single physically > > contiguous buffer for each received packet. > &

Re: virtually contig jumbo mbufs (was Re: new zero copy sockets snapshot)

2002-07-05 Thread John Polstra
In article <[EMAIL PROTECTED]>, Bosko Milekic <[EMAIL PROTECTED]> wrote: > > On Fri, Jul 05, 2002 at 09:45:01AM -0700, John Polstra wrote: > > The BCM570x chips (bge driver) definitely need a single physically > > contiguous buffer for each received packet. > &

Re: virtually contig jumbo mbufs (was Re: new zero copy sockets snapshot)

2002-07-05 Thread John Polstra
I'm pretty sure that most of > them are capable of doing scatter DMA, but I don't have the > programming docs. The BCM570x chips (bge driver) definitely need a single physically contiguous buffer for each received packet. John -- John Polstra John D. Polstra & Co., Inc.

Re: bge problem under 4.6-stable

2002-07-03 Thread John Polstra
In article <[EMAIL PROTECTED]>, Andrew Gallatin <[EMAIL PROTECTED]> wrote: > > John Polstra writes: > > Something is wrong with the hardware checksum offloading for > <..> > > > +#if 0 > >ifp->if_hwassist = BGE_CSUM_FEATURES; >

Re: bge problem under 4.6-stable

2002-07-03 Thread John Polstra
the only one that even attempts to do checksum offloading for fragments. So the bug could easily be elsewhere in the system. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: bge driver issue

2002-06-20 Thread John Polstra
t will flat-out break Alphas and most other architectures. The actual fix would have to be more intelligent, but this is just an experiment. Please report back after you have tried this change. I know two people who have reported that it solved the problems they were having with BCM5701 chips in

Re: Problem using ng_ether

2002-06-18 Thread John Polstra
they should load the module. That should solve the problem for them. I think the fixed module should work fine with a 4.5 kernel. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelligence.&

Re: Problem using ng_ether

2002-06-15 Thread John Polstra
hwassist /sys/netgraph/ng_ether.c If it produces any output, then the file contains the fix already. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To U

Re: Problem using ng_ether

2002-06-14 Thread John Polstra
r.c revisions 1.22 (-current) and 1.2.2.11 (-stable). Maybe the person who started this thread is using an older kernel than that. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelligence

Re: Problem using ng_ether

2002-06-14 Thread John Polstra
are lost. You can confirm this if you wish, by hacking up the xl driver to disable hardware checksumming. Search for "CSUM" in sys/pci/if_xl.c and #ifdef out the appropriate pieces of code. John -- John Polstra John D. Polstra & Co., Inc.Seattle,

Re: m->m_pkthdr.header

2002-06-08 Thread John Polstra
5.0 anyway. Placing dummy-fillers is just > annoying. OK, I can live with that for -current. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To

Re: m->m_pkthdr.header

2002-06-08 Thread John Polstra
ent kettle of fish, but even there you should add fillers to replace any structure elements you remove, if possible. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögya

Re: Socket buffer size limitation

2002-03-22 Thread John Polstra
from consuming all of the mbufs and/or mbuf clusters. You can change the limit via the sysctl variable "kern.ipc.maxsockbuf". John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelligen

Re: incorrect checksums with xl?

2002-02-24 Thread John Polstra
In article <[EMAIL PROTECTED]>, Richard A Steenbergen <[EMAIL PROTECTED]> wrote: > On Fri, Feb 22, 2002 at 09:43:58AM -0800, John Polstra wrote: > > Remember, bpf is used by many things besides tcpdump. Adding these > > flags would require extending the bpf API.

Re: incorrect checksums with xl?

2002-02-22 Thread John Polstra
ak compatibility with other applications. They'd have to be enabled specifically, by means of a new ioctl. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chö

Re: incorrect checksums with xl?

2002-02-22 Thread John Polstra
., the Intel 8254x) automatically pad these packets to the minimum Ethernet packet size while transmitting them. If you run tcpdump on the sending system, you'll see the short packets, before they are padded. If you run it on the receiving system, you'll see the padded packets. John --

Re: incorrect checksums with xl?

2002-02-22 Thread John Polstra
p on the receiving system instead, you'll find that the checksums seen there are valid. The same thing happens in the bge driver, because it also offloads checksum generation to the NIC. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington US

Re: netgraph: how to setsockopt on ksocket node ?

2002-01-21 Thread John Polstra
rrupt context, and thus without any > idea of a `current process'. I have also used this in a project where I lifted the whole TCP/IP stack from FreeBSD and used it in an embedded environment. It's a very handy thing to be able to do, and I wouldn't like to see it rema

Re: do we really need NETISR_foo == AF_foo ?

2001-12-11 Thread John Polstra
find any reason at all why the NETISR and AF constants have to be the same. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mai

Re: funding TCP stack rewrite

2001-12-01 Thread John Polstra
ly don't have the resources to tackle a dozen projects at once yet, so we are focusing our efforts. You can rest assured that, with the support of the FreeBSD community, we will be funding worthwhile development efforts in the future too. John Polstra Vice President The FreeBSD Foun

Re: PXE boot vs. DHCP

2001-10-25 Thread John Polstra
In article <002601c15cb4$064fb440$[EMAIL PROTECTED]>, Cyrille Lefevre <[EMAIL PROTECTED]> wrote: > "John Polstra" <[EMAIL PROTECTED]> wrote: > > > > Also, I don't feel that my patch is a hack. The entire purpose of > > dhclient's PREINI

Re: PXE boot vs. DHCP

2001-10-24 Thread John Polstra
In article <[EMAIL PROTECTED]>, Cyrille Lefevre <[EMAIL PROTECTED]> wrote: > John Polstra wrote: > > > > What is the reason you think it would be better to put the solution > > into dhclient-enter-hooks? > > IMHO, for instance, because this hack is onl

Re: PXE boot vs. DHCP

2001-10-23 Thread John Polstra
27;s what I'd have to do. But this is FreeBSD, and we can fix things that are broken. What is the reason you think it would be better to put the solution into dhclient-enter-hooks? John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA &qu

Re: PXE boot vs. DHCP (fwd)

2001-10-23 Thread John Polstra
OK, it doesn't bother me to keep the fix in my local tree until then. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: PXE boot vs. DHCP

2001-10-23 Thread John Polstra
In article <[EMAIL PROTECTED]>, John Polstra <[EMAIL PROTECTED]> wrote: > I've been setting up a 4.4-RELEASE system for net booting and diskless > operation with pxeboot, and I've run into a minor but annoying > problem. It seems that if you boot with PXE yo

PXE boot vs. DHCP

2001-10-14 Thread John Polstra
I've been setting up a 4.4-RELEASE system for net booting and diskless operation with pxeboot, and I've run into a minor but annoying problem. It seems that if you boot with PXE you can't use dhclient. pxeboot configures the relevant network interface (let's call it fxp0), NFS-mounts the root fil

Re: Trying to find out which interface an IP packet is coming from in ip_output() routine

2001-10-10 Thread John Polstra
e packet was received. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: Connect(2) problem

2001-10-10 Thread John Polstra
g is FreeBSD 4.3-release. In addition to the suggestion from Alex Rousskov, adding these lines to "/boot/loader.conf" may help: kern.ipc.maxsockets="8192" kern.ipc.nmbclusters="32768" John -- John Polstra John D. Polstra & Co., Inc.

Re: Solution (RE: VPN client with mpd)

2001-09-25 Thread John Polstra
as it was described upthread, and I > experienced something similar when I was first setting up PPP dialups > here. Having looked back at my ppp.conf files, I'm sure you're right. The way to keep your unencrypted passwords off the net is with "deny pap". John -- John Pols

Re: Solution (RE: VPN client with mpd)

2001-09-25 Thread John Polstra
ppy to have clients authenticate themselves. Oh. I haven't actually sniffed it, so I'll assume you're right. I apologize for the misinformation. John -- John Polstra [EMAIL PROTECTED] John D. Polstra & Co., Inc.

Re: Solution (RE: VPN client with mpd)

2001-09-25 Thread John Polstra
to CHAP-authenticate themselves (like my > remote VPN servers, it seems). The trouble with this is that your password will be sent unencrypted across the Internet, very possibly hitting a sniffer or two along the way. It's better to insist on chap and fix the broken peers. John -- J

Re: Tuning UDP for NFS

2001-09-01 Thread John Polstra
In article <[EMAIL PROTECTED]>, Alfred Perlstein <[EMAIL PROTECTED]> wrote: > * John Polstra <[EMAIL PROTECTED]> [010831 15:03] wrote: > > FreeBSD's "src/etc/amd.map" file still has "vers=2,proto=udp". Do > > you think we should change i

Re: Tuning UDP for NFS

2001-08-31 Thread John Polstra
t;src/etc/amd.map" file still has "vers=2,proto=udp". Do you think we should change it? John -- John Polstra [EMAIL PROTECTED] John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment

Re: request for review

2001-08-22 Thread John Polstra
tBSD. > > Why? Is there any reason to believe that FreeBSD will (or even should) > ever support ARCNET? Yes, Max and others in Russia (at least) feel that it will be worthwhile to support it. The core team approved his committership fully aware that this was one of the project