Wind River Support Network

HomeDefectsLINCD-755
Fixed

LINCD-755 : marvell-cn96xx: ethernet_jumbo_frame failed on eth1, set mtu 2000 and ping -s 1972 failed

Created: Dec 26, 2019    Updated: Mar 17, 2021
Resolved Date: Dec 13, 2020
Found In Version: 10.20.3.0, 10.20.45.0
Fix Version: 10.20.48.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: BSP

Description

root@marvell-cn96xx:/opt/wr-test/testcases/bts/ethernet_jumbo_frame# ifconfig eth1 0 up

root@marvell-cn96xx:/opt/wr-test/testcases/bts/ethernet_jumbo_frame# dhclient eth1

root@marvell-cn96xx:/opt/wr-test/testcases/bts/ethernet_jumbo_frame# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:83:82:19:84:01
inet addr:128.224.165.246 Bcast:128.224.165.255 Mask:255.255.255.0
inet6 addr: fe80::283:82ff:fe19:8401/64 Scope:Link
inet6 addr: 2001:db8:1:0:283:82ff:fe19:8401/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:51 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8766 (8.5 KiB) TX bytes:9995 (9.7 KiB)
root@marvell-cn96xx:/opt/wr-test/testcases/bts/ethernet_jumbo_frame# netstat -i
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
docker0 1500 0 0 0 0 0 0 0 0 0 BMU
eth1 1500 0 34 0 0 0 51 0 0 0 BMRU
lo 65536 0 94 0 0 0 94 0 0 0 LRU
root@marvell-cn96xx:/opt/wr-test/testcases/bts/ethernet_jumbo_frame# ip link set dev eth1 down

root@marvell-cn96xx:/opt/wr-test/testcases/bts/ethernet_jumbo_frame# ip link set dev eth1 up mtu 2000

root@marvell-cn96xx:/opt/wr-test/testcases/bts/ethernet_jumbo_frame# sleep 2

root@marvell-cn96xx:/opt/wr-test/testcases/bts/ethernet_jumbo_frame# netstat -i
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
docker0 1500 0 0 0 0 0 0 0 0 0 BMU
eth1 2000 0 5 0 0 0 24 0 0 0 BMRU
lo 65536 0 94 0 0 0 94 0 0 0 LRU
root@marvell-cn96xx:/opt/wr-test/testcases/bts/ethernet_jumbo_frame# ping -I eth1 -c 5 -M do -s 1972 128.224.165.194
PING 128.224.165.194 (128.224.165.194) from 128.224.165.246 eth1: 1972(2000) bytes of data.

— 128.224.165.194 ping statistics —
5 packets transmitted, 0 received, 100% packet loss, time 4090ms
<<end Jumbo frame testing on eth1>>

Steps to Reproduce

TEST_STEP


$ /lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh --machines marvell-cn96xx --distros wrlinux --templates feature/linux-yocto-dev feature/toolchain-next feature/userspace-next feature/docker --dl-layers --accept-eula=yes && source oe-init-build-env build
$ echo KERNEL_FEATURES_append = \\" features/usb/serial-all.scc\\" >> conf/local.conf && echo KERNEL_VERSION_SANITY_SKIP=\\"1\\" >> conf/local.conf && echo IMAGE_FSTYPES += \\" tar.bz2\\"  >> conf/local.conf && echo BB_NUMBER_THREADS ?= \\"24\\" >> conf/local.conf && echo PARALLEL_MAKE ?= \\"-j 24\\" >> conf/local.conf
$ bitbake-layers add-layer /net/128.224.162.235/buildarea1/test_env/wrlinux/wr-testing/bts-dev 
$ echo require templates/feature/bts/template.conf >> conf/local.conf 
$ bitbake wrlinux-image-glibc-std 

Deploy images and boot target.
Live chat
Online