svn commit: r325593 - head/sys/dev/ena
Marcin Wojtas
mw at FreeBSD.org
Thu Nov 9 13:38:19 UTC 2017
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 at 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);
More information about the svn-src-head
mailing list