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
125 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
1 Solution
77 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
1 Reply
78 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