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 <m...@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);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to