Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2015 16:19:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 199174] em tx and rx hang
Message-ID:  <bug-199174-2472-15N4kFYozM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-199174-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-199174-2472@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #29 from Sean Bruno <sbruno@FreeBSD.org> ---
(In reply to david.keller from comment #28)
Rick has suggested this.  It seems to work, but I'm unsure of the impact.

Can you try the following patch to if_em.c and see if it helps?  I'm trying to
diagnose this here.

Index: dev/e1000/if_em.c
===================================================================
--- dev/e1000/if_em.c    (revision 285481)
+++ dev/e1000/if_em.c    (working copy)
@@ -3034,6 +3034,9 @@
     if_setflags(ifp, IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST);
     if_setioctlfn(ifp, em_ioctl);
     if_setgetcounterfn(ifp, em_get_counter);
+    ifp->if_hw_tsomax = 65518; /* 32*MCLBYTES - max_mac_hdr_len*/
+    ifp->if_hw_tsomaxsegcount = EM_MAX_SCATTER;
+    ifp->if_hw_tsomaxsegsize = 65536;
 #ifdef EM_MULTIQUEUE
     /* Multiqueue stack interface */
     if_settransmitfn(ifp, em_mq_start);

-- 
You are receiving this mail because:
You are on the CC list for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199174-2472-15N4kFYozM>