Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 23, 2023

Conversation

jeffhtgt
Copy link
Contributor

@jeffhtgt jeffhtgt commented Sep 6, 2023

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🆎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🆎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)

Fix should be backported on the branches below. eth0 management port not functional.

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

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

@ec-michael-shih
Copy link
Contributor

ec-michael-shih commented Sep 11, 2023

Dear @jeffhtgt
I was wondering if (as4630-54pe )you need some partial code for your reference that can connect to PR(#14361 )
(Include fixed changging eth2 to eth0 issue in here)

Finally PR(#9560) will be closing.

@lguohan lguohan added the device label Sep 23, 2023
@lguohan lguohan merged commit d60cc7d into sonic-net:master Sep 23, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants