Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 2017 13:38:18 +0000 (UTC)
From:      Marcin Wojtas <mw@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325593 - head/sys/dev/ena
Message-ID:  <201711091338.vA9DcIHj093266@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mw
Date: Thu Nov  9 13:38:17 2017
New Revision: 325593
URL: https://svnweb.freebsd.org/changeset/base/325593

Log:
  Fix setting AENQ group in ENA driver
  
  With the current state of the AENQ handlers in the ENA driver, only
  implemented handlers should be indicated.
  
  Submitted by: Michal Krawczyk <mk@semihalf.com>
  Reviewed by: byenduri_gmail.com
  Obtained from: Semihalf
  Sponsored by: Amazon, Inc.
  Differential Revision: https://reviews.freebsd.org/D12872

Modified:
  head/sys/dev/ena/ena.c

Modified: head/sys/dev/ena/ena.c
==============================================================================
--- head/sys/dev/ena/ena.c	Thu Nov  9 13:36:42 2017	(r325592)
+++ head/sys/dev/ena/ena.c	Thu Nov  9 13:38:17 2017	(r325593)
@@ -3245,11 +3245,7 @@ ena_device_init(struct ena_adapter *adapter, device_t 
 		goto err_admin_init;
 	}
 
-	aenq_groups = BIT(ENA_ADMIN_LINK_CHANGE) |
-	    BIT(ENA_ADMIN_FATAL_ERROR) |
-	    BIT(ENA_ADMIN_WARNING) |
-	    BIT(ENA_ADMIN_NOTIFICATION) |
-	    BIT(ENA_ADMIN_KEEP_ALIVE);
+	aenq_groups = BIT(ENA_ADMIN_LINK_CHANGE) | BIT(ENA_ADMIN_KEEP_ALIVE);
 
 	aenq_groups &= get_feat_ctx->aenq.supported_groups;
 	rc = ena_com_set_aenq_config(ena_dev, aenq_groups);



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