Hi
I want to run this kernel on LS1028ARDB,system version is REALTIMEEDGEUG_Rev2.1
to use the TSN function of tc.
I have already turned on the configuration file with 'NET', 'NET_SCHED', 'NET_CLS_BASIC', 'NET_CLS_TCINDEX', 'NET_CLS_ROUTE4', 'NET_CLS_FW', 'NET_CLS_U32'. 'NET_CLS_RSVP', 'NET_CLS_RSVP6', 'NET_CLS_BPF'. 'NET_CLS_FLOWER', 'NET_EMATCH', 'NET_CLS_ACT', 'NET_CLS_FLOW'. 'NET_CLS_CGROUP'. 'NET_CLS_MATCHALL' to use the NET_CLS function.
With the kernel log. I can see the function tc_filter_init has been initialized during boot.
according to the doc REALTIMEEDGEUG_Rev2.1.pdf,page 117 to config QCI

But when I use the following command line:
tc filter add dev swp0 chain 30000 protocol 802.1Q parent ffff: flower skip_sw dst_mac CA:9C:00:BC:6D:68 vlan_id 1 action gate index 1 base-time 0 sched-entry CLOSE 6000 -1 -1
tc filter add dev swp0 chain 30000 protocol 802.1Q parent ffff: flower skip_sw dst_mac CA:9C:00:BC:6D:68 vlan_id 1 action police index 1 rate 10Mbit burst 10000
it throws an error: RTNETLINK answers: Invalid argument
We have an error talking to the kernel

Is there any misconduct in my setup?
Looking forward to your reply.
Best wishes!