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

[tn48m/tn48m-dn series] Upgrade kernel version to 5.10 #45

Merged
merged 3 commits into from
Mar 3, 2021

Conversation

chenglin-tsai
Copy link
Contributor

Copy link
Contributor

@paulmenzel paulmenzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is packages/base/any/kernels/5.10-lts/patches/0023-delta-tn48m-dn-series-dts.patch just a copy from the 5.6 version, or did you have to update it?

self.insmod("prestera_sw.ko")
self.insmod("prestera_pci.ko")
# Insert Marvell prestera modules by only probing prestera_pci module
# Suggested by Taras Chornyi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please put that into the commit message.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done and thanks.

self.insmod("prestera_pci.ko")
# Insert Marvell prestera modules by only probing prestera_pci module
# Suggested by Taras Chornyi
subprocess.call('modprobe prestera_pci', shell=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is self.insmod("prestero_pci.ko") not working anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is self.insmod("prestero_pci.ko") not working anymore?

Hi Paul,

Because the name of prestera driver is changed from "prestera_sw.ko" to "prestera.ko", it will be better if we use modprobe to probe prestero_pci driver only, modprobe will automatically help us to insert the necessary drivers, like prestera.ko here.

For more details, you can refer to the discussion: #43 (comment)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if a method modprobe should be added to packages/base/all/vendor-config-onl/src/, so only self.modprobe("prestero") needs to be used.

Copy link
Contributor Author

@chenglin-tsai chenglin-tsai Feb 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if a method modprobe should be added to packages/base/all/vendor-config-onl/src/, so only self.modprobe("prestero") needs to be used.

Yes, the self.modprobe function can be implemented in file: "packages/base/all/vendor-config-onl/src/python/onl/platform/base.py" in the future if needed.

@@ -16,3 +16,5 @@
0020-accton-as5114.patch
0021-tn48m-add-sfp-eeprom-support-to-ethtool.patch
#0022-marvell-wa-tx-disable.patch
0023-delta-tn48m-dn-series-dts.patch

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the blank line at the end of the file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done and thanks.

Comment on lines 29 to 31
# Insert Marvell prestera modules by only probing prestera_pci module
# Suggested by Taras Chornyi
subprocess.call('modprobe prestera_pci', shell=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto as above.

Comment on lines 38 to 40
# Insert Marvell prestera modules by only probing prestera_pci module
# Suggested by Taras Chornyi
subprocess.call('modprobe prestera_pci', shell=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto as above.

Comment on lines 44 to 46
# Insert Marvell prestera modules by only probing prestera_pci module
# Suggested by Taras Chornyi
subprocess.call('modprobe prestera_pci', shell=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto as above. (I won’t comment on the other occurrences.)

@chenglin-tsai
Copy link
Contributor Author

Is packages/base/any/kernels/5.10-lts/patches/0023-delta-tn48m-dn-series-dts.patch just a copy from the 5.6 version, or did you have to update it?

The 'packages/base/any/kernels/5.10-lts/patches/0023-delta-tn48m-dn-series-dts.patch' is just a copy from kernel 5.6.

@paulmenzel
Copy link
Contributor

Here are the out-of-Linux-kernel-tree switch driver messages.

[   83.823249] Loading Marvell Prestera Switch Driver
[   83.846307] AC3x B2B 98DX3265 0000:01:00.0: FW version '2.8.0'
[   83.852192] AC3x B2B 98DX3265 0000:01:00.0: Driver version '2.8.0'
[   83.858408] AC3x B2B 98DX3265 0000:01:00.0: Loading prestera FW image ...
[   84.070193] sfp sfp-52: module AVAGO            ABCU-5712RZ-HP1  rev      sn 2Y1139MD70       dc 111006
[   86.820978] AC3x B2B 98DX3265 0000:01:00.0: Prestera Switch FW is ready
[   97.137909] AC3x B2B 98DX3265 0000:01:00.0: Initialized Switch device
[   99.034257] prestera_pci: Registered Marvell Prestera PCI driver

@paulmenzel
Copy link
Contributor

Is packages/base/any/kernels/5.10-lts/patches/0023-delta-tn48m-dn-series-dts.patch just a copy from the 5.6 version, or did you have to update it?

The 'packages/base/any/kernels/5.10-lts/patches/0023-delta-tn48m-dn-series-dts.patch' is just a copy from kernel 5.6.

Could you please add that to the git commit message?

@chenglin-tsai
Copy link
Contributor Author

Is packages/base/any/kernels/5.10-lts/patches/0023-delta-tn48m-dn-series-dts.patch just a copy from the 5.6 version, or did you have to update it?

The 'packages/base/any/kernels/5.10-lts/patches/0023-delta-tn48m-dn-series-dts.patch' is just a copy from kernel 5.6.

Could you please add that to the git commit message?

Sure. Added.

In kernel 5.10, the driver 'prestera_sw' is renamed to 'prestera',
so using the 'self.modprobe' to probe 'prestera_pci', which makes the
'prestera' will be also loaded [1].

[1]: dentproject#43 (comment)

The 'packages/base/any/kernels/5.10-lts/patches/0023-delta-tn48m-dn-series-dts.patch' is a copy from kernel 5.6

Signed-off-by: Chenglin Tsai <chenglin.tsai@deltaww.com>
@chenglin-tsai
Copy link
Contributor Author

chenglin-tsai commented Feb 23, 2021

Since the 'self.modprobe' method is merged into codebase (#51), so update the '__init__.py' in tn48m/tn48m-dn platforms to use 'self.modprobe' method for probing Marvell prestera drivers (f41abe2). The commit message is updated, too.

@@ -16,3 +16,4 @@
0020-accton-as5114.patch
0021-tn48m-add-sfp-eeprom-support-to-ethtool.patch
#0022-marvell-wa-tx-disable.patch
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This Line:
#22-marvell-wa-tx-disable.patch
should be removed and you can use:
0022-delta-tn48m-dn-series-dts.patch

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mickey201, No problem, updated in e633451. Thanks for the suggestions.

Copy link
Contributor

@Mickey201 Mickey201 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chenglin,
Did you tested it with Marvell Switchdev 5.10 support?
I did a review - it looks ok.

@chenglin-tsai
Copy link
Contributor Author

chenglin-tsai commented Feb 24, 2021

Chenglin,
Did you tested it with Marvell Switchdev 5.10 support?
I did a review - it looks ok.

Yes, in the test log, I saw the Marvell firmware 2.8.0 and Marvell prestera drivers are successfully loaded in kernel 5.10.

dentOS_tn4810m_kernel_5.10_onlpdump_2021_0218.log

[   85.087437] Aldrin2 0000:01:00.0: FW version '2.8.0'
[   85.095775] Aldrin2 0000:01:00.0: Driver version '2.8.0'
[   85.095780] Aldrin2 0000:01:00.0: Loading prestera FW image ...
[…]
[   88.040225] Aldrin2 0000:01:00.0: Prestera Switch FW is ready
[  103.545663] Aldrin2 0000:01:00.0: Initialized Switch device
[  104.981497] prestera_pci: Registered Marvell Prestera PCI driver
[…]
[  121.036016] Aldrin2 0000:01:00.0 swp12: renamed from eth11
[  121.097156] Aldrin2 0000:01:00.0 swp19: renamed from eth18
[  121.133812] Aldrin2 0000:01:00.0 swp18: renamed from eth17
[  121.166944] Aldrin2 0000:01:00.0 swp16: renamed from eth15
[  121.235866] Aldrin2 0000:01:00.0 swp2: renamed from eth1
[  121.303082] Aldrin2 0000:01:00.0 swp20: renamed from eth19
[  121.342853] Aldrin2 0000:01:00.0 swp23: renamed from eth22
[  121.376274] Aldrin2 0000:01:00.0 swp15: renamed from eth14
[  121.427043] Aldrin2 0000:01:00.0 swp1: renamed from eth0
[  121.466958] Aldrin2 0000:01:00.0 swp13: renamed from eth12
[  121.499850] Aldrin2 0000:01:00.0 swp11: renamed from eth10
[  121.544351] Aldrin2 0000:01:00.0 swp3: renamed from eth2
[  121.570874] Aldrin2 0000:01:00.0 swp22: renamed from eth21
[  121.603356] Aldrin2 0000:01:00.0 swp21: renamed from eth20
[  121.635145] Aldrin2 0000:01:00.0 swp27: renamed from eth26
[  121.667433] Aldrin2 0000:01:00.0 swp14: renamed from eth13
[  121.700835] Aldrin2 0000:01:00.0 swp26: renamed from eth25
[  121.743227] Aldrin2 0000:01:00.0 swp4: renamed from eth3
[  121.775066] Aldrin2 0000:01:00.0 swp33: renamed from eth32
[  121.807846] Aldrin2 0000:01:00.0 swp31: renamed from eth30
[  121.846981] Aldrin2 0000:01:00.0 swp30: renamed from eth29
[  121.880769] Aldrin2 0000:01:00.0 swp32: renamed from eth31
[  121.942627] Aldrin2 0000:01:00.0 swp29: renamed from eth28
[  121.967012] Aldrin2 0000:01:00.0 swp24: renamed from eth23
[  122.015509] Aldrin2 0000:01:00.0 swp39: renamed from eth38
[  122.039552] Aldrin2 0000:01:00.0 swp5: renamed from eth4
[  122.067894] Aldrin2 0000:01:00.0 swp34: renamed from eth33
[  122.098622] Aldrin2 0000:01:00.0 swp38: renamed from eth37
[  122.126614] Aldrin2 0000:01:00.0 swp25: renamed from eth24
[  122.150856] Aldrin2 0000:01:00.0 swp35: renamed from eth34
[  122.182784] Aldrin2 0000:01:00.0 swp28: renamed from eth27
[  122.214640] Aldrin2 0000:01:00.0 swp40: renamed from eth39
[  122.243160] Aldrin2 0000:01:00.0 swp42: renamed from eth41
[  122.267431] Aldrin2 0000:01:00.0 swp17: renamed from eth16
[  122.290987] Aldrin2 0000:01:00.0 swp43: renamed from eth42
[  122.323213] Aldrin2 0000:01:00.0 swp44: renamed from eth43
[  122.351256] Aldrin2 0000:01:00.0 swp37: renamed from eth36
[  122.378654] Aldrin2 0000:01:00.0 swp36: renamed from eth35
[  122.399171] Aldrin2 0000:01:00.0 swp45: renamed from eth44
[  122.431262] Aldrin2 0000:01:00.0 swp47: renamed from eth46
[  122.468878] Aldrin2 0000:01:00.0 swp48: renamed from eth47
[  122.508975] Aldrin2 0000:01:00.0 swp6: renamed from eth5
[  122.546450] Aldrin2 0000:01:00.0 swp46: renamed from eth45
[  122.571406] Aldrin2 0000:01:00.0 swp41: renamed from eth40
[  122.595387] Aldrin2 0000:01:00.0 swp8: renamed from eth7
[  122.634863] Aldrin2 0000:01:00.0 swp7: renamed from eth6
[  122.660285] Aldrin2 0000:01:00.0 swp9: renamed from eth8
[  122.696325] Aldrin2 0000:01:00.0 swp10: renamed from eth9
[…]
DENT OS DENTOS-kernel-5.10, 2021-02-18.03:39-b0e2991

localhost login: root
Password:
Linux localhost 5.10.4 #1 SMP PREEMPT Thu Feb 18 04:03:40 UTC 2021 aarch64
root@localhost:~# lsmod
Module                  Size  Used by
act_gact               20480  0
act_police             16384  0
sch_ingress            16384  0
cls_u32                28672  0
cls_flower             57344  0
prestera_pci           20480  0
prestera              147456  1 prestera_pci
arm64_delta_tn48m_led    20480  0
arm64_delta_tn48m_cpld    45056  144
root@localhost:~# ifconfig -a
bond0: flags=5122<BROADCAST,MASTER,MULTICAST>  mtu 1500
        ether b6:aa:60:84:b9:2b  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

dummy0: flags=130<BROADCAST,NOARP>  mtu 1500
        ether 12:f4:c7:38:4f:bc  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

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 4  bytes 272 (272.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4  bytes 272 (272.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ma1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::1abe:92ff:fe11:e986  prefixlen 64  scopeid 0x20<link>
        ether 18:be:92:11:e9:86  txqueuelen 2048  (Ethernet)
        RX packets 43  bytes 4821 (4.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 13  bytes 1179 (1.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

sit0: flags=128<NOARP>  mtu 1480
        sit  txqueuelen 1000  (IPv6-in-IPv4)
        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

swp1: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:89  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

swp2: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:8a  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

swp3: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:8b  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

swp4: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:8c  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

swp5: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:8d  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

swp6: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:8e  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

swp7: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:8f  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

swp8: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:90  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

swp9: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:91  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

swp10: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:92  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

swp11: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:93  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

swp12: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:94  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

swp13: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:95  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

swp14: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:96  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

swp15: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:97  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

swp16: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:98  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

swp17: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:99  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

swp18: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:9a  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

swp19: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:9b  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

swp20: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:9c  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

swp21: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:9d  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

swp22: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:9e  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

swp23: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:9f  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

swp24: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:a0  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

swp25: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:a1  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

swp26: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:a2  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

swp27: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:a3  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

swp28: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:a4  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

swp29: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:a5  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

swp30: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:a6  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

swp31: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:a7  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

swp32: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:a8  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

swp33: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:a9  txqueuelen 10on00  (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

swp34: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:aa  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

swp35: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:ab  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

swp36: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:ac  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

swp37: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:ad  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

swp38: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:ae  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

swp39: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:af  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

swp40: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:b0  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

swp41: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:b1  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

swp42: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:b2  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

swp43: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:b3  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

swp44: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:b4  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

swp45: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:b5  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0 l frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

swp46: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:b6  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

swp47: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:b7  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

swp48: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 18:be:92:11:e9:b8  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

root@localhost:~#

Since the codes in 0022-marvell-wa-tx-disable.patch is already
merged into kernel 5.10, and we don't need them anymore. So modify
the patch number of tn48m-dn from 23 to 22.

[1]: dentproject#45 (comment)

Signed-off-by: Chenglin Tsai <chenglin.tsai@deltaww.com>
@taraschornyiplv
Copy link
Contributor

@sonoble As pointed by @paulmenzel in #44 commits from the pull request will be squashed and merged to main branch as one commit. Is it possible to enable Rebase and Merge option

@sonoble sonoble merged commit 155b1f5 into dentproject:main Mar 3, 2021
@chenglin-tsai chenglin-tsai deleted the kernel-5.10 branch March 4, 2021 05:36
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.

5 participants