svn commit: r305652 - head/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Fri Sep 9 07:34:16 UTC 2016


Author: np
Date: Fri Sep  9 07:34:14 2016
New Revision: 305652
URL: https://svnweb.freebsd.org/changeset/base/305652

Log:
  cxgbe(4): Do not prescreen frames before attempting LRO.
  
  Sponsored by:	Chelsio Communications

Modified:
  head/sys/dev/cxgbe/t4_sge.c

Modified: head/sys/dev/cxgbe/t4_sge.c
==============================================================================
--- head/sys/dev/cxgbe/t4_sge.c	Fri Sep  9 07:10:50 2016	(r305651)
+++ head/sys/dev/cxgbe/t4_sge.c	Fri Sep  9 07:34:14 2016	(r305652)
@@ -1830,8 +1830,7 @@ t4_eth_rx(struct sge_iq *iq, const struc
 	}
 
 #if defined(INET) || defined(INET6)
-	if (cpl->l2info & htobe32(F_RXF_LRO) &&
-	    iq->flags & IQ_LRO_ENABLED &&
+	if (iq->flags & IQ_LRO_ENABLED &&
 	    tcp_lro_rx(lro, m0, 0) == 0) {
 		/* queued for LRO */
 	} else


More information about the svn-src-all mailing list