I have an Orin AGX dev board. It appears that hardware support for Ethernet is broken. Specifically egress works, but ingress does not.
I setup a simple VLAN using netplan with ID 2:
network: version: 2 renderer: networkd ethernets: eth0: dhcp4: yes vlans: eth0.2: id: 2 link: eth0 dhcp4: no addresses : [ 172.27.153.3/24 ]
This creates an interface with HW acceleration:
[ 9.083204] nvethernet 6810000.ethernet: eth0 (HW ver: 31) created with 10 DMA channels [ 11.472843] 8021q: adding VLAN 0 to HW filter on device eth0
I observe tagged packets come out of this new eth0.2 interface, but I don’t see packets come back —
If you try to delete the VLAN, and recreate it however:
sudo ip link del eth0.2 sudo ip link add link eth0 name eth0.2 type vlan id 2
Suddenly things start working.
I notice this message in the kernel buffer:
[ 659.856533] nvethernet 6810000.ethernet eth0: failed to kill vid 0081/2
This leads me to believe the new interface isn’t using hardware acceleration.
So, I think HW VLAN tagging support is broken on the RX side in the Orin drivers. Has anyone got it working?
If it helps, this is with 35.1:
uname -arn Linux orin 5.10.104-tegra #1 SMP PREEMPT Wed Aug 10 20:17:07 PDT 2022 aarch64 aarch64 aarch64 GNU/Linux