svn commit: r342328 - stable/12/sys/dev/sfxge/common

Andrew Rybchenko arybchik at FreeBSD.org
Fri Dec 21 16:10:32 UTC 2018


Author: arybchik
Date: Fri Dec 21 16:10:31 2018
New Revision: 342328
URL: https://svnweb.freebsd.org/changeset/base/342328

Log:
  MFC r340892
  
  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:
  stable/12/sys/dev/sfxge/common/efx_rx.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/sfxge/common/efx_rx.c
==============================================================================
--- stable/12/sys/dev/sfxge/common/efx_rx.c	Fri Dec 21 16:08:49 2018	(r342327)
+++ stable/12/sys/dev/sfxge/common/efx_rx.c	Fri Dec 21 16:10:31 2018	(r342328)
@@ -1166,10 +1166,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-stable mailing list