Re: PATCH: VLAN support for 3c59x/3c90x

From: Lee Revell (rlrevell_at_joe-job.com)
Date: 07/31/04

  • Next message: Alan Cox: "Re: PATCH: VLAN support for 3c59x/3c90x"
    To: Ben Greear <greearb@candelatech.com>
    Date:	Sat, 31 Jul 2004 16:16:29 -0400
    
    

    On Sat, 2004-07-31 at 13:21, Ben Greear wrote:
    > Willy Tarreau wrote:
    > > I've seen several drivers which silently add 4 bytes to the hardware
    > > config when CONFIG_VLAN is set. I find it better than fooling the IP
    > > stack into using 1504 bytes, which is a disaster on UDP !
    >
    > It would be a disaster with any IP protocol, not just UDP.

    UDP is prone to *much* weirded behavior than TCP in the face of things
    like this. I once had an NFS server and client using UDP. A had its
    block size set to 8K, B to 32K. For some reason the mount succeeded
    with these options, but when you copied a file from A to B (like, oh,
    say, /etc/passwd), it "worked", but the file was truncated to 8K! The
    only indication that anything was wrong (other than hundreds of users
    unable to log in) was a mild warning in the logs.

    I am not sure what would have happened with a TCP mount, but not that!

    Lee

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Alan Cox: "Re: PATCH: VLAN support for 3c59x/3c90x"

    Relevant Pages

    • Re: Fw: F_SETSIG broken/changed in 2.6 for UDP and TCP sockets?
      ... >> Under Fedora things work well for raw sockets (much lower latency ... but are inconsistent with udp or tcp sockets. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: UDP recvmsg blocks after select(), 2.6 bug?
      ... > currently we could get precise behaviour - by halving performance of UDP ... pkts could be dropped even for TCP sockets. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: UDP recvmsg blocks after select(), 2.6 bug?
      ... On Iau, 2004-10-07 at 15:07, Martijn Sipkema wrote: ... >> kernel control too, ... currently we could get precise behaviour - by halving performance of UDP ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Select/Poll
      ... he was using UDP then packet loss is expected. ... > to read data faster than it arrives and not write data faster ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: NFS on 2.6.0-test9:
      ... those numbers on TCP or are they UDP only? ... From the error logs you showed us, ... like it might be a de4x5 driver. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)