Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Oct 2015 16:52:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 203476] [net] [igb] not optimal checksum processing
Message-ID:  <bug-203476-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203476

            Bug ID: 203476
           Summary: [net] [igb] not optimal checksum processing
           Product: Base System
           Version: 10.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: dmitry2004@yandex.ru

Created attachment 161607
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161607&action=edit
Patch for if_igb.h

igb driver declare in sys/dev/e1000/if_igb.c:
  ifp->if_hwassist support (CSUM_TCP|CSUM_UDP|CSUM),

but in sys/dev/e1000/if_igb.h:
 #define CSUM_OFFLOAD (CSUM_IP|CSUM_TCP|CSUM_UDP|CSUM_SCTP)

this difference results = the not optimal in igb_tx_ctx_setup() in
sys/dev/e1000/if_igb.c for packets other than TCP|UDP|SCTP.


And i think not work TCP, UDP, SCTP offload for IPv6 (not check), then send
IPv6 TCP or UDP network stack sets flags CSUM_TCP_IPV6 or CSUM_UDP_IPV6, but in
if_hwassist no CSUM_TCP_IPV6|CSUM_UDP_IPV6.

Hardware support it.

http://www.intel.com/content/dam/doc/product-brief/82576-gbe-controller-brief.pdf

-- 
You are receiving this mail because:
You are the assignee for the bug.



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