Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2018 14:59:25 +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: r342307 - stable/12/sys/dev/sfxge/common
Message-ID:  <201812211459.wBLExPAt031151@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Fri Dec 21 14:59:24 2018
New Revision: 342307
URL: https://svnweb.freebsd.org/changeset/base/342307

Log:
  MFC r340806
  
  sfxge(4): fix default RSS context check on Siena
  
  Default RSS context check is carried out during filter
  insertion on Siena and it needs to be fixed
  
  Submitted by:   Mark Spender <mspender at solarflare.com>
  Sponsored by:   Solarflare Communications, Inc.
  Differential Revision:  https://reviews.freebsd.org/D18076

Modified:
  stable/12/sys/dev/sfxge/common/efx_filter.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/sfxge/common/efx_filter.c
==============================================================================
--- stable/12/sys/dev/sfxge/common/efx_filter.c	Fri Dec 21 14:58:16 2018	(r342306)
+++ stable/12/sys/dev/sfxge/common/efx_filter.c	Fri Dec 21 14:59:24 2018	(r342307)
@@ -459,9 +459,9 @@ siena_filter_spec_from_gen_spec(
 	else
 		EFSYS_ASSERT3U(gen_spec->efs_flags, &, EFX_FILTER_FLAG_RX);
 
-	/* Falconsiena only has one RSS context */
+	/* Siena only has one RSS context */
 	if ((gen_spec->efs_flags & EFX_FILTER_FLAG_RX_RSS) &&
-	    gen_spec->efs_rss_context != 0) {
+	    gen_spec->efs_rss_context != EFX_RSS_CONTEXT_DEFAULT) {
 		rc = EINVAL;
 		goto fail1;
 	}



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