SFP+ operation with 10Gtek Transceiver on LX2160A

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SFP+ operation with 10Gtek Transceiver on LX2160A

Jump to solution
945 Views
norman_hsu
Contributor I

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
Cannot change rx-vlan-offload
Cannot change tx-vlan-offload
Could not change any device features

root@localhost:~# ethtool eth1
Settings for eth1:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 10000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
MDI-X: Unknown
Link detected: yes

root@localhost:~# ethtool -k eth1
Features for eth1:
rx-checksumming: on
tx-checksumming: on
tx-checksum-ipv4: on
tx-checksum-ip-generic: off [fixed]
tx-checksum-ipv6: on
tx-checksum-fcoe-crc: off [fixed]
tx-checksum-sctp: off [fixed]
scatter-gather: on
tx-scatter-gather: on
tx-scatter-gather-fraglist: off [fixed]
tcp-segmentation-offload: off
tx-tcp-segmentation: off [fixed]
tx-tcp-ecn-segmentation: off [fixed]
tx-tcp-mangleid-segmentation: off [fixed]
tx-tcp6-segmentation: off [fixed]
generic-segmentation-offload: on
generic-receive-offload: on
large-receive-offload: off [fixed]
rx-vlan-offload: off [fixed]
tx-vlan-offload: off [fixed]
ntuple-filters: off [fixed]
receive-hashing: off [fixed]
highdma: on
rx-vlan-filter: off [fixed]
vlan-challenged: off [fixed]
tx-lockless: on [fixed]
netns-local: off [fixed]
tx-gso-robust: off [fixed]
tx-fcoe-segmentation: off [fixed]
tx-gre-segmentation: off [fixed]
tx-gre-csum-segmentation: off [fixed]
tx-ipxip4-segmentation: off [fixed]
tx-ipxip6-segmentation: off [fixed]
tx-udp_tnl-segmentation: off [fixed]
tx-udp_tnl-csum-segmentation: off [fixed]
tx-gso-partial: off [fixed]
tx-tunnel-remcsum-segmentation: off [fixed]
tx-sctp-segmentation: off [fixed]
tx-esp-segmentation: off [fixed]
tx-udp-segmentation: off [fixed]
tx-gso-list: off [fixed]
fcoe-mtu: off [fixed]
tx-nocache-copy: off
loopback: off [fixed]
rx-fcs: off [fixed]
rx-all: off [fixed]
tx-vlan-stag-hw-insert: off [fixed]
rx-vlan-stag-hw-parse: off [fixed]
rx-vlan-stag-filter: off [fixed]
l2-fwd-offload: off [fixed]
hw-tc-offload: on
esp-hw-offload: off [fixed]
esp-tx-csum-hw-offload: off [fixed]
rx-udp_tunnel-port-offload: off [fixed]
tls-hw-tx-offload: off [fixed]
tls-hw-rx-offload: off [fixed]
rx-gro-hw: off [fixed]
tls-hw-record: off [fixed]
rx-gro-list: off
macsec-hw-offload: off [fixed]

 

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.

0 Kudos
Reply
1 Solution
897 Views
yipingwang
NXP TechSupport
NXP TechSupport

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.

View solution in original post

0 Kudos
Reply
1 Reply
898 Views
yipingwang
NXP TechSupport
NXP TechSupport

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.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1864006%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESFP%2B%20operation%20with%2010Gtek%20Transceiver%20on%20LX2160A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1864006%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%3CP%3EWe're%20attempting%20to%20configure%20VLANs%20thru%20'ethtool'%20command%2C%20but%20encountering%20issues%20with%20the%20offload%20status%20as%20depicted%20below.%20Here%20interface%20eth1%20is%20a%20LX2160A%20SFP%2B%20port%20with%20a%2010Gbps%20transceiver%20behind.%20Not%20only%20is%20the%20offload%20status%20not%20functioning%20properly%2C%20so%20are%20the%20%22Supported%20info%22%20not%20well%20rerturning.%20We're%20uncertain%20if%20this%20should%20be%20considered%20as%20scenario%20without%20a%20PHY.%20However%2C%20eth1%20is%20bidirectionally%20functioning%20as%20the%20second%20block%20below.%20Is%20it%20expected%20to%20see%20ethtool%20working%20incompletely%3F%3C%2FP%3E%3CP%3Eethtool%20info%3A%3C%2FP%3E%3CTABLE%20border%3D%221%22%20width%3D%22100%25%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%22100%25%22%3E%3CP%3Eroot%40localhost%3A~%23%20ethtool%20-K%20eth1%20rxvlan%20on%20txvlan%20on%3CBR%20%2F%3ECannot%20change%20rx-vlan-offload%3CBR%20%2F%3ECannot%20change%20tx-vlan-offload%3CBR%20%2F%3ECould%20not%20change%20any%20device%20features%3C%2FP%3E%3CP%3Eroot%40localhost%3A~%23%20ethtool%20eth1%3CBR%20%2F%3ESettings%20for%20eth1%3A%3CBR%20%2F%3ESupported%20ports%3A%20%5B%20%5D%3CBR%20%2F%3ESupported%20link%20modes%3A%20Not%20reported%3CBR%20%2F%3ESupported%20pause%20frame%20use%3A%20No%3CBR%20%2F%3ESupports%20auto-negotiation%3A%20No%3CBR%20%2F%3ESupported%20FEC%20modes%3A%20Not%20reported%3CBR%20%2F%3EAdvertised%20link%20modes%3A%20Not%20reported%3CBR%20%2F%3EAdvertised%20pause%20frame%20use%3A%20No%3CBR%20%2F%3EAdvertised%20auto-negotiation%3A%20No%3CBR%20%2F%3EAdvertised%20FEC%20modes%3A%20Not%20reported%3CBR%20%2F%3ESpeed%3A%2010000Mb%2Fs%3CBR%20%2F%3EDuplex%3A%20Full%3CBR%20%2F%3EPort%3A%20Twisted%20Pair%3CBR%20%2F%3EPHYAD%3A%200%3CBR%20%2F%3ETransceiver%3A%20internal%3CBR%20%2F%3EAuto-negotiation%3A%20off%3CBR%20%2F%3EMDI-X%3A%20Unknown%3CBR%20%2F%3ELink%20detected%3A%20yes%3C%2FP%3E%3CP%3Eroot%40localhost%3A~%23%20ethtool%20-k%20eth1%3CBR%20%2F%3EFeatures%20for%20eth1%3A%3CBR%20%2F%3Erx-checksumming%3A%20on%3CBR%20%2F%3Etx-checksumming%3A%20on%3CBR%20%2F%3Etx-checksum-ipv4%3A%20on%3CBR%20%2F%3Etx-checksum-ip-generic%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-checksum-ipv6%3A%20on%3CBR%20%2F%3Etx-checksum-fcoe-crc%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-checksum-sctp%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Escatter-gather%3A%20on%3CBR%20%2F%3Etx-scatter-gather%3A%20on%3CBR%20%2F%3Etx-scatter-gather-fraglist%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etcp-segmentation-offload%3A%20off%3CBR%20%2F%3Etx-tcp-segmentation%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-tcp-ecn-segmentation%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-tcp-mangleid-segmentation%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-tcp6-segmentation%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Egeneric-segmentation-offload%3A%20on%3CBR%20%2F%3Egeneric-receive-offload%3A%20on%3CBR%20%2F%3Elarge-receive-offload%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Erx-vlan-offload%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-vlan-offload%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Entuple-filters%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Ereceive-hashing%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Ehighdma%3A%20on%3CBR%20%2F%3Erx-vlan-filter%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Evlan-challenged%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-lockless%3A%20on%20%5Bfixed%5D%3CBR%20%2F%3Enetns-local%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-gso-robust%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-fcoe-segmentation%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-gre-segmentation%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-gre-csum-segmentation%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-ipxip4-segmentation%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-ipxip6-segmentation%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-udp_tnl-segmentation%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-udp_tnl-csum-segmentation%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-gso-partial%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-tunnel-remcsum-segmentation%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-sctp-segmentation%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-esp-segmentation%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-udp-segmentation%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-gso-list%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Efcoe-mtu%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-nocache-copy%3A%20off%3CBR%20%2F%3Eloopback%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Erx-fcs%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Erx-all%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etx-vlan-stag-hw-insert%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Erx-vlan-stag-hw-parse%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Erx-vlan-stag-filter%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3El2-fwd-offload%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Ehw-tc-offload%3A%20on%3CBR%20%2F%3Eesp-hw-offload%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Eesp-tx-csum-hw-offload%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Erx-udp_tunnel-port-offload%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etls-hw-tx-offload%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etls-hw-rx-offload%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Erx-gro-hw%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Etls-hw-record%3A%20off%20%5Bfixed%5D%3CBR%20%2F%3Erx-gro-list%3A%20off%3CBR%20%2F%3Emacsec-hw-offload%3A%20off%20%5Bfixed%5D%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CBR%20%2F%3E%3CP%3Eifconfig%20%26amp%3B%20ping%3A%3C%2FP%3E%3CTABLE%20border%3D%221%22%20width%3D%22100%25%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%22100%25%22%3Eroot%40localhost%3A~%23%20ifconfig%20eth1%3CBR%20%2F%3Eeth1%3A%20flags%3D4163%3CUP%3E%20mtu%201500%3CBR%20%2F%3Einet%20192.168.1.11%20netmask%20255.255.255.0%20broadcast%20192.168.1.255%3CBR%20%2F%3Einet6%20fe80%3A%3Aac9e%3A13ff%3Afeda%3A4258%20prefixlen%2064%20scopeid%200x20%3CLINK%20%2F%3E%3CBR%20%2F%3Eether%20ae%3A9e%3A13%3Ada%3A42%3A58%20txqueuelen%201000%20(Ethernet)%3CBR%20%2F%3ERX%20packets%20184%20bytes%2025480%20(25.4%20KB)%3CBR%20%2F%3ERX%20errors%200%20dropped%200%20overruns%200%20frame%200%3CBR%20%2F%3ETX%20packets%2013%20bytes%201006%20(1.0%20KB)%3CBR%20%2F%3ETX%20errors%200%20dropped%200%20overruns%200%20carrier%200%20collisions%200%3CBR%20%2F%3Eroot%40localhost%3A~%23%20ping%20192.168.1.228%3CBR%20%2F%3EPING%20192.168.1.228%20(192.168.1.228)%2056(84)%20bytes%20of%20data.%3CBR%20%2F%3E64%20bytes%20from%20192.168.1.228%3A%20icmp_seq%3D1%20ttl%3D64%20time%3D0.236%20ms%3C%2FUP%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CBR%20%2F%3E%3CP%3EThansk%20and%20regards.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1866782%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20SFP%2B%20operation%20with%2010Gtek%20Transceiver%20on%20LX2160A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1866782%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3ENETIF_F_HW_VLAN_CTAG_RX%20should%20be%20listed%20as%20a%20supported%20feature%20in%20the%20netdev_init%20in%26nbsp%3Bdrivers%2Fnet%2Fethernet%2Ffreescale%2Fdpaa2%2Fdpaa2-eth.c.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EI%20checked%20DPAA2%20Linux%20Kernel%20driver%20provided%20in%20NXP%20latest%20SDK%20release%2C%20this%20feature%20is%20not%20supported.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ESo%20it%20is%20impossible%20to%20run%20command%20%22ethtool%20-K%20eth1%20rxvlan%20on%22%20on%20LX2160A%20platform.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E