TSN Switch issues on LS1028ardb with OpenIL V1.6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

TSN Switch issues on LS1028ardb with OpenIL V1.6

1,064 次查看
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 项奖励
回复
2 回复数

929 次查看
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 项奖励
回复

929 次查看
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 项奖励
回复