Hi,
We're attempting to configure VLANs thru 'ethtool' command, but encountering issues with the offload status as depicted below. Here interface eth1 is a LX2160A SFP+ port with a 10Gbps transceiver behind. Not only is the offload status not functioning properly, so are the "Supported info" not well rerturning. We're uncertain if this should be considered as scenario without a PHY. However, eth1 is bidirectionally functioning as the second block below. Is it expected to see ethtool working incompletely?
ethtool info:
root@localhost:~# ethtool -K eth1 rxvlan on txvlan on root@localhost:~# ethtool eth1 root@localhost:~# ethtool -k eth1 |
ifconfig & ping:
root@localhost:~# ifconfig eth1 eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.11 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::ac9e:13ff:feda:4258 prefixlen 64 scopeid 0x20<link> ether ae:9e:13:da:42:58 txqueuelen 1000 (Ethernet) RX packets 184 bytes 25480 (25.4 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 13 bytes 1006 (1.0 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 root@localhost:~# ping 192.168.1.228 PING 192.168.1.228 (192.168.1.228) 56(84) bytes of data. 64 bytes from 192.168.1.228: icmp_seq=1 ttl=64 time=0.236 ms |
Thansk and regards.
Solved! Go to Solution.
NETIF_F_HW_VLAN_CTAG_RX should be listed as a supported feature in the netdev_init in drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c.
I checked DPAA2 Linux Kernel driver provided in NXP latest SDK release, this feature is not supported.
So it is impossible to run command "ethtool -K eth1 rxvlan on" on LX2160A platform.
NETIF_F_HW_VLAN_CTAG_RX should be listed as a supported feature in the netdev_init in drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c.
I checked DPAA2 Linux Kernel driver provided in NXP latest SDK release, this feature is not supported.
So it is impossible to run command "ethtool -K eth1 rxvlan on" on LX2160A platform.