Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2018 16:10:31 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r342328 - stable/12/sys/dev/sfxge/common
Message-ID:  <201812211610.wBLGAVmD069263@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



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