LS1028 ignores taprio mapping

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

LS1028 ignores taprio mapping

1,681 Views
Almor
Contributor I

I'm trying the taprio example provided in the Real-time Edge Software User Guide (Rev. 2.7 — 18 December 2023) in section 6.1.4.1.2.4 on an LS1028ARDB.

I have a source device connected to swp0 and a sink device connected to swp1

Following the example, it is expected that with
```
tc qdisc replace dev swp1 parent root handle 100 taprio num_tc 8 map 0 1 2 3 4 5 6 7 queues 1@0 1@1 1@2 1@3 1@4 1@5 1@6 1@7 base-time 0 sched-entry S 01 300000 flags 0x2
```
I'm able to ping the sink device, while, with
```
tc qdisc replace dev swp1 parent root handle 100 taprio num_tc 8 map 0 1 2 3 4 5 6 7 queues 1@0 1@1 1@2 1@3 1@4 1@5 1@6 1@7 base-time 0 sched-entry S 02 300000 flags 0x2
```
the ping should be dropped. Indeed, so it is.


However, changing the mapping in
```
tc qdisc replace dev swp1 parent root handle 100 taprio num_tc 8 map 1 0 2 3 4 5 6 7 queues 1@0 1@1 1@2 1@3 1@4 1@5 1@6 1@7 base-time 0 sched-entry S 01 300000 flags 0x2
```
I should not be able to ping the sink device (since now the default priority 0 is mapped to TC 1), but instead, I'm able to do it. It seem that the mapping is ignored and by default traffic is always mapped to TC 0.

I want to remark that the above mapping works as expected in an Intel i225-based device.

Have you any suggestions on this? Am I missing something?

Best regards,
Alberto Morato

0 Kudos
Reply
4 Replies

1,598 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hello @Almor,

Apologies for the delayed response,

Please refer to the section 8.8.1.4.3.4, for switch ports, you can refer to "8.8.1.4.3.4 Tc-taprio usage" for Qbv configuration on the LLDPUG_L6.1.36_2.1.0,

Note: Since the hardware can only use PCP, DSCP or other methods to classify QoS, it cannot map QoS to different hardware queues. mqprio is not implemented in the felix driver, so "map 0 1 2 3 4 5 6 7" in the tc-taprio command is invalid.

you will find this manual in the following link:

https://www.nxp.com/design/design-center/software/embedded-software/linux-software-and-development-t...

0 Kudos
Reply

1,643 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hi @Almorm

Could you please provide me a log with the configuration of swp0 and swp1, and the results with the two commands and the pings in each case?

Regards,

Sebastian

0 Kudos
Reply

1,622 Views
Almor
Contributor I

Hi.

I've attached the logs with all the details for all the 3 test case.

The one that is not working as expected is the test 3.

 

Best,

0 Kudos
Reply

1,652 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hello @Almor,

I would like to inform you that I'm working on your questions, I will let you know as soon as I have an update.

Thank you so much for your patience

Regards,

Sebastian

0 Kudos
Reply