Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2009 10:56:50 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/net if_loop.c
Message-ID:  <200903161056.n2GAutxR000625@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2009-03-16 10:56:50 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if_loop.c 
  Log:
  SVN rev 189873 on 2009-03-16 10:56:50Z by rwatson
  
  Define and use two macros for loopback checksum offload:
  
  LO_CSUM_FEATURES - a bitmask of supported transmit offload features, which
    will be stored in if_hwassist if IFCAP_TXCSUM is enabled, and be cleared
    from mbuf packet header csum flags on transmit. (1)
  
  LO_CSUM_SET - a bitmask of supported receive offload features, which will
    be set on the mbuf packet header csum flags on transmit if IFCAP_RXCSUM
    is enabled.
  
  While here, fix SCTP offload for loopback: offer generation on the
  transmit side, don't just skip validation on the receive side.
  
  Obtained from:  DragonflyBSD (1)
  MFC after:      1 week
  
  Revision  Changes    Path
  1.128     +9 -6      src/sys/net/if_loop.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903161056.n2GAutxR000625>