Re: if_tap unaligned access problem

From: Bruce M Simpson (bms_at_spc.org)
Date: 04/28/05

  • Next message: Luigi Rizzo: "Re: if_tap unaligned access problem"
    Date: Thu, 28 Apr 2005 17:50:26 +0100
    To: Maksim Yevmenkin <maksim.yevmenkin@savvis.net>
    
    

    On Thu, Apr 28, 2005 at 09:39:27AM -0700, Maksim Yevmenkin wrote:
    > you probably should file pr. (1) and (2) above are quick fixes. (3) is
    > more complicated and, maybe, not desirable.

    3) may be good. I have an ATM driver which may need this behaviour. I
    haven't had a chance to get test coverage on a non-i386 platform so it's
    entirely possible that unaligned accesses are happening further up in
    netinet land (after coming up from the driver, into netnatm, and into
    IP land).

    jmg's suggestion of bringing in the NetBSD patches to allow the entire
    network stack to be compiled with unaligned accesses (for those platforms
    which support it) is interesting because it can simplify or eliminate
    some of the acrobatics needed in network drivers to deal with the mbuf
    alignment.

    Though I'd like to know what Harti thinks re netnatm.

    Regards,
    BMS
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Luigi Rizzo: "Re: if_tap unaligned access problem"

    Relevant Pages

    • Re: Forcedeth driver bug
      ... > Do you really know that the driver don't get the stuck packet. ... I'm not sure it's the driver's fault. ... Such an important bug in the network stack would hardly go unnoticed. ...
      (Linux-Kernel)
    • Re: Using the net on an XT: Drivers & TCP/IP
      ... LanManager network stack and is called netbind. ... driver to the TCP driver, ...
      (comp.sys.ibm.pc.classic)
    • RE: Marvell Yukon 88E8053 PCI-E Gigabit Ether net Controller
      ... I would start with updating the driver for the NIC. ... If it is a gigabit NIC you should disable some of the advanced features on ... If you can ping localhost then it sounds like your network stack is working ...
      (microsoft.public.windows.server.sbs)
    • Re: lor on boot
      ... this is because the if_rl driver holds the driver mutex across a ... a call into the remainder of the network stack. ... for you now is that I temporarily enabled direct dispatch of the isr code ... the remainder of the stack, ...
      (freebsd-current)
    • Re: Computer Name
      ... I have a system with a device driver that is loaded before the network stack as KM suggests. ... It reads jumpers on the parallel port connector. ... Then it patches Registry IpAddress and ComputerName according to read value. ...
      (microsoft.public.windowsxp.embedded)