The setting of hw-tc-offload of agx-orin developer Kit

Issue Description

I want to configure TSN features like QAV and QBV on Orin, which require the offload functionality. However, this feature cannot be enabled. Does anyone know how to do this?

Error String

nvidia@tegra-ubuntu:~$ sudo ethtool -K eth0 hw-tc-offload on
[sudo] password for nvidia:
Could not change any device features

nvidia@tegra-ubuntu:~$ sudo tc qdisc add dev eth0 handle 100: parent root mqprio num_tc 3
map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2
queues 1@0 1@1 2@2
hw 1
RTNETLINK answers: Operation not supported

nvidia@tegra-ubuntu:~$ sudo tc qdisc replace dev eth0 parent 100:1 etf
clockid CLOCK_TAI
delta 500000
offload
skip_sock_check
Error: Specified device failed to setup ETF hardware offload.
nvidia@tegra-ubuntu:~$

Logs
nvidia@tegra-ubuntu:~$ lspci
0001:00:00.0 PCI bridge: NVIDIA Corporation Device 229e (rev a1)
0001:01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
nvidia@tegra-ubuntu:~$

nvidia@tegra-ubuntu:~$ uname -a
Linux tegra-ubuntu 5.10.104-tegra #4 SMP PREEMPT Thu Dec 19 14:59:06 CST 2024 aarch64 aarch64 aarch64 GNU/Linux

nvidia@tegra-ubuntu:~$ ethtool -i eth0
driver: nvethernet
version: 5.10.104-tegra
firmware-version:
expansion-rom-version:
bus-info: 6810000.ethernet
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
nvidia@tegra-ubuntu:~$

nvidia@tegra-ubuntu:~$ ethtool -k eth0

l2-fwd-offload: off [fixed]
hw-tc-offload: off [fixed]
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]

Dear @wang_pf ,
Are you using DRIVE or Jetson platform?

I am using Jetson platform. NVIDIA Jetson Linux 35.3.1. I want to use the tsn feature on this platform

Moving to Jetson orin forum

Hi,
We have checked this and confirmed

hw-tc-offload: off [fixed] is off by default and can’t be changed

Please kindly note it.

1 Like

got it, thanks

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.