Commit 8ac7132
ice: Fix interface being down after reset with link-down-on-close flag on
When performing a reset on ice driver with link-down-on-close flag on
interface would always stay down. Fix this by moving a check of this
flag to ice_stop() that is called only when user wants to bring
interface down.
Fixes: ab4ab73 ("ice: Add ethtool private flag to make forcing link down optional")
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Tested-by: Petr Oros <poros@redhat.com>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>1 parent 122045c commit 8ac7132
1 file changed
Lines changed: 12 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6649 | 6649 | | |
6650 | 6650 | | |
6651 | 6651 | | |
6652 | | - | |
| 6652 | + | |
6653 | 6653 | | |
6654 | 6654 | | |
6655 | 6655 | | |
| |||
6683 | 6683 | | |
6684 | 6684 | | |
6685 | 6685 | | |
6686 | | - | |
6687 | | - | |
6688 | | - | |
6689 | | - | |
6690 | | - | |
6691 | | - | |
6692 | | - | |
6693 | 6686 | | |
6694 | 6687 | | |
6695 | 6688 | | |
6696 | 6689 | | |
6697 | 6690 | | |
6698 | 6691 | | |
6699 | | - | |
| 6692 | + | |
6700 | 6693 | | |
6701 | 6694 | | |
6702 | 6695 | | |
| |||
8892 | 8885 | | |
8893 | 8886 | | |
8894 | 8887 | | |
| 8888 | + | |
| 8889 | + | |
| 8890 | + | |
| 8891 | + | |
| 8892 | + | |
| 8893 | + | |
| 8894 | + | |
| 8895 | + | |
| 8896 | + | |
| 8897 | + | |
8895 | 8898 | | |
8896 | 8899 | | |
8897 | 8900 | | |
| |||
0 commit comments