Skip to content

Fix eth0 hardware numbering using udev for AS4630-54PE platform.#16000

Closed
jeffhtgt wants to merge 1 commit intosonic-net:masterfrom
target:as4630_udev
Closed

Fix eth0 hardware numbering using udev for AS4630-54PE platform.#16000
jeffhtgt wants to merge 1 commit intosonic-net:masterfrom
target:as4630_udev

Conversation

@jeffhtgt
Copy link
Copy Markdown
Contributor

Why I did it

Management port currently broken for Edgecore AS4630-54PE platform due to NIC hardware numbering.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Created new PR with typo from Edgecore in original PR fixed. Here is a link to the old PR that has broken logic:
#9560

How to verify it

Here is current master branch on AS4630-54PE with broken eth0 (note RUNNING flag):

root@t9845swta0001:/home/admin# ifconfig eth0
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 10.121.38.158 netmask 255.255.254.0 broadcast 10.121.39.255
ether 90:3c:b3:2c:ab:67 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Here is master branch with fix applied:

root@t9845swta0001:/home/admin# ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.121.38.158 netmask 255.255.254.0 broadcast 10.121.39.255
inet6 fe80::923c:b3ff:fe2c:ab66 prefixlen 64 scopeid 0x20
ether 90:3c:b3:2c:ab:66 txqueuelen 1000 (Ethernet)
RX packets 1718 bytes 264071 (257.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 461 bytes 53985 (52.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

With fix applied, able to ssh to management port IP.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

SONiC-OS-as4630_udev.0-dirty-20230727.132558

Description for the changelog

Edgecore (Accton) AS4630-54PE platform fix for management port using udev method. Hardware uses 3rd NIC port wired to management port RJ45. This requires renumbering eth2->eth0.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@jeffhtgt jeffhtgt requested a review from lguohan as a code owner July 31, 2023 19:31
@linux-foundation-easycla
Copy link
Copy Markdown

CLA Missing ID CLA Not Signed

@jeffhtgt
Copy link
Copy Markdown
Contributor Author

@lguohan ICLA has been signed 8/14.

@zhangyanzhao zhangyanzhao requested a review from prgeor August 29, 2023 06:42
@jeffhtgt
Copy link
Copy Markdown
Contributor Author

jeffhtgt commented Sep 6, 2023

New PR created with fixed commit ID. Close PR without merging.

@jeffhtgt jeffhtgt closed this Sep 6, 2023
@jeffhtgt jeffhtgt deleted the as4630_udev branch September 6, 2023 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant