svn commit: r340892 - head/sys/dev/sfxge/common

Andrew Rybchenko arybchik at FreeBSD.org
Sat Nov 24 16:31:00 UTC 2018


Author: arybchik
Date: Sat Nov 24 16:30:57 2018
New Revision: 340892
URL: https://svnweb.freebsd.org/changeset/base/340892

Log:
  sfxge(4): remove obsolete check for pre-Siena hardware
  
  The fail4 label was used twice, so it doesn't need removing.
  
  Submitted by:   Mark Spender <mspender at solarflare.com>
  Sponsored by:   Solarflare Communications, Inc.
  Differential Revision:  https://reviews.freebsd.org/D18126

Modified:
  head/sys/dev/sfxge/common/efx_rx.c

Modified: head/sys/dev/sfxge/common/efx_rx.c
==============================================================================
--- head/sys/dev/sfxge/common/efx_rx.c	Sat Nov 24 16:30:46 2018	(r340891)
+++ head/sys/dev/sfxge/common/efx_rx.c	Sat Nov 24 16:30:57 2018	(r340892)
@@ -1355,10 +1355,6 @@ siena_rx_qcreate(
 
 #if EFSYS_OPT_RX_SCATTER
 	case EFX_RXQ_TYPE_SCATTER:
-		if (enp->en_family < EFX_FAMILY_SIENA) {
-			rc = EINVAL;
-			goto fail4;
-		}
 		jumbo = B_TRUE;
 		break;
 #endif	/* EFSYS_OPT_RX_SCATTER */


More information about the svn-src-all mailing list