TSN Switch issues on LS1028ardb with OpenIL V1.6

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

TSN Switch issues on LS1028ardb with OpenIL V1.6

1,194件の閲覧回数
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 返答(返信)

1,059件の閲覧回数
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 件の賞賛
返信

1,059件の閲覧回数
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 件の賞賛
返信