Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2018 06:55:14 +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-11@freebsd.org
Subject:   svn commit: r342418 - stable/11/sys/dev/sfxge/common
Message-ID:  <201812250655.wBP6tEYq029085@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Tue Dec 25 06:55:13 2018
New Revision: 342418
URL: https://svnweb.freebsd.org/changeset/base/342418

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/11/sys/dev/sfxge/common/efx_filter.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/sfxge/common/efx_filter.c
==============================================================================
--- stable/11/sys/dev/sfxge/common/efx_filter.c	Tue Dec 25 06:54:25 2018	(r342417)
+++ stable/11/sys/dev/sfxge/common/efx_filter.c	Tue Dec 25 06:55:13 2018	(r342418)
@@ -525,9 +525,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?201812250655.wBP6tEYq029085>