Change Summary:
Moved an Illumos specific #define from core code to illumos specific file.
Diff: |
Revision 2 (+59 -2) |
---|
Review Request #382 — Created Feb. 23, 2017 and discarded
Information | |
---|---|
pwinder | |
illumos-gate | |
Reviewers | |
general | |
The quiesce entry point in the driver is currently ddi_quiesce_not_supported(). This puts in place a quiesce routine to disable the rings and interrupts, disables the lan hmc and clears hardware registers.
This code has been in use local for quite some time.
Tested by using both fast reboot and reset reboot whilst there has been load on the driver.
Moved an Illumos specific #define from core code to illumos specific file.
Diff: |
Revision 2 (+59 -2) |
---|
usr/src/uts/common/io/i40e/i40e_sw.h (Diff revision 2) |
---|
This was added by an earlier commit as change to a core file, i40e_admimq_cmd.. Moved here to avoid changes to core files.
usr/src/uts/common/io/i40e/i40e_sw.h (Diff revision 2) |
---|
can you replace spaces with tab here, next line and 346?
Do we need to issue a general PF reset as part of quiesce?
usr/src/uts/common/io/i40e/i40e_main.c (Diff revision 2) |
---|
Is it safe for us to not properly shut down the adminq on the card?