Description: |
|
|---|
Bug 783 - Add "interface shutdown" series commands
Review Request #305 — Created July 1, 2024 and submitted
| Information | |
|---|---|
| luhsuan | |
| AVX2 | |
| rel_avx_2_7_2 | |
| 783 | |
| Reviewers | |
| jasonchou, kdutta, tanya, timlai, weikai | |
Add these
interface shutdownseries commands:
interface shutdown <port number>: shutdown an interface (with dropping its connection) by the port number.no interface shutdown <port number>: bring up an interface (with bringing up its connection) by the port number.
In order to support the link-down-on-close feature on i40e driver with version 1.4.25 (we have difficuity to merely upgrade the driver to at least version 2.0.26 as APV 10.4 encounters some problems on it), we create a patch to i40e driver so that the driver does support such feature.
- (PASSED) The interface should have the following actions after executing
interface shutdown:- The LED does not shine.
- The connection is down (showing messages like
i40e <PCI-E position> <interface name>: NIC Link is Downindmesg).
- (PASSED) The interface should have the following actions after executing
no interface shutdown:- The LED does shine.
- The connection is up (showing message like
i40e <PCI-E position> <interface name>: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Noneindmesg).
| Description | From | Last Updated |
|---|---|---|
|
Modify the kickstart file to download i40e-1.4.25.12.rpm |
|
|
|
Update version to 12 |
|
|
|
Formatting issues |
|
|
|
Add error message for mgmt port |
|
|
|
can you please fix the allignement. We normally follow the same allignment while check in new codes. |
|
|
|
are we updating the driver here? |
|
Description: |
|
|---|
-
-
branches/rel_avx_2_7_2/3rdpartyappliance/centos-i40e/SPECS/i40e.spec (Diff revision 1) Update version to 12
-
Testing Done: |
|
|---|
Diff: |
Revision 3 (+314 -2)
|
|---|
Diff: |
Revision 4 (+325 -2)
|
|---|
Diff: |
Revision 5 (+325 -2)
|
|---|
-
-
branches/rel_avx_2_7_2/src/generator/commands.pm (Diff revision 5) can you please fix the allignement. We normally follow the same allignment while check in new codes.
-
Diff: |
Revision 6 (+325 -2)
|
|---|
