Re: Zero Copy Sockets?

From: Bosko Milekic (bmilekic_at_technokratis.com)
Date: 06/23/03

  • Next message: George V. Neville-Neil: "Fine grained locking at the socket level?"
    Date: Sun, 22 Jun 2003 18:32:31 -0400
    To: "George V. Neville-Neil" <gnn@neville-neil.com>
    
    

    On Sun, Jun 22, 2003 at 12:46:26PM -0700, George V. Neville-Neil wrote:
    > Hi,
    >
    > I'm reading over the internals of the network stack in
    > -CURRENT and I'm wondering if the Zero Copy stuff is actually
    > in use yet.
    >
    > Thanks,
    > George

      Yes. But your driver needs to support it. Currently, the only driver
      that does is if_ti in src/sys/pci/if_ti*.[ch]

      sendfile(2) is also zero-copy for the most part (for the file part).
      That's been in use for a long time. src/sys/kern/uipc_syscalls.c

    Regards,

    -- 
    Bosko Milekic  *  bmilekic@technokratis.com  *  bmilekic@FreeBSD.org
    TECHNOkRATIS Consulting Services  *  http://www.technokratis.com/
    _______________________________________________
    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: George V. Neville-Neil: "Fine grained locking at the socket level?"

    Relevant Pages

    • Re: misc questions about the device&driver arch
      ... I've bantered around different suggestions for an API that will support ... The basic thing that a driver needs from this is to know ... I just wanted to briefly say that an MSI implementation has been done ...
      (freebsd-arch)
    • Re: misc questions about the device&driver arch
      ... I've bantered around different suggestions for an API that will support ... The basic thing that a driver needs from this is to know ... I just wanted to briefly say that an MSI implementation has been done ...
      (freebsd-hackers)