TSN Switch issues on LS1028ardb with OpenIL V1.6

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

TSN Switch issues on LS1028ardb with OpenIL V1.6

954 Views
0229ender
Contributor I

Hi everyone~~

I am testing the TSN switch on ls1028ardb with OpenIL V1.6 (Ubuntu).

I used "dscpset" command to map the traffic with dscp value of 40 to cos (queue) 5, which is shown below,

# dscpset --device swp0 --index 40 --cos 5

and the corresponding prompt shown below,

 pastedImage_3.png

I think reply of -22 means Invalid Argument, but I cannot figure out which argument is invalid.

Then, I test Qbv on swp0 and input "t0 00100000b 1000", but no packet sent from swp0.

I change an input as "t0 00000001b 1000", then the packet can be sent from swp0, and I capture the packet so that I can confirm dscp value is set to 40 properly.

Is there any idea?

Best,

Junhui

0 Kudos
2 Replies

819 Views
ufedor
NXP Employee
NXP Employee

Please find the attached patch which is present in the dash-linux-devel tree but not in OpenIL.

It fixes the tsntool dscpset command parsing issue in the kernel.

0 Kudos

819 Views
yyu2
Contributor III

Hi Fedor,

I tried your patch for dscp under "openil/output/build/linux-openil-linux201908/net/tsn" to patch the genl_tsn.c.

But after "make" again, the ls1028ardb still reprot "-22" for dscpset command. Perhaps the patch did not take effect. Could you help to advise the correct procedures of patching?

thanks,

   Yi

0 Kudos