Testing 802.1 Qav on ls1028a switch

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

Testing 802.1 Qav on ls1028a switch

Jump to solution
1,707 Views
_mkl
Contributor II

Hello,

I am following the TSN tests on ls1028ardb in 4.1.4 of the Real-time Edge Software User Guide, but I am unable to get Qav on the switch to work. The switch always forwards the full transmission rate.

I have configured enetc2 as DSA port and enetc3 as standard port and send traffic with class 5 from enetc3 to swp5. On swp0 a second ls1028ardb is connected to capture the frames. If I configure Qav on the enetc3 port the rate is limited as expected, but not if i configure it on swp0:

$ sudo tsntool cbsset --device swp0 --tc 5 --percentage 10

In the manual two streams are mentioned, does the switch only rate limit with interferring streams? On enetc I had to configure also the upper traffic classes, does this apply to the switch as well?

Labels (1)
0 Kudos
Reply
1 Solution
1,658 Views
yipingwang
NXP TechSupport
NXP TechSupport

Which version of RTedge are you using? LS1028ARDB board?

In default configuration of LS1028ARDB dts, if eno3 is disabled, eno2 is used DSA port,
if eno3 is enabled, eno3 will be used DSA port in default.

About Qav, customer should disable cut through mode using below command before running cbsset:
tsntool ctset --device swp0 --queue_stat 0x0


Thanks.

View solution in original post

0 Kudos
Reply
2 Replies
1,659 Views
yipingwang
NXP TechSupport
NXP TechSupport

Which version of RTedge are you using? LS1028ARDB board?

In default configuration of LS1028ARDB dts, if eno3 is disabled, eno2 is used DSA port,
if eno3 is enabled, eno3 will be used DSA port in default.

About Qav, customer should disable cut through mode using below command before running cbsset:
tsntool ctset --device swp0 --queue_stat 0x0


Thanks.

0 Kudos
Reply
1,616 Views
_mkl
Contributor II

I am using mickledore branch of https://github.com/nxp-qoriq/yocto-sdk.git on the ls1028a-rdb.

And indeed with cut-through disabled it works as expected.

Thanks!

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1943076%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ETesting%20802.1%20Qav%20on%20ls1028a%20switch%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1943076%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20am%20following%20the%20TSN%20tests%20on%20ls1028ardb%20in%204.1.4%20of%20the%20Real-time%20Edge%20Software%20User%20Guide%2C%20but%20I%20am%20unable%20to%20get%20Qav%20on%20the%20switch%20to%20work.%20The%20switch%20always%20forwards%20the%20full%20transmission%20rate.%3C%2FP%3E%3CP%3EI%20have%20configured%20enetc2%20as%20DSA%20port%20and%20enetc3%20as%20standard%20port%20and%20send%20traffic%20with%20class%205%20from%20enetc3%20to%20swp5.%20On%20swp0%20a%20second%20ls1028ardb%20is%20connected%20to%20capture%20the%20frames.%20If%20I%20configure%20Qav%20on%20the%20enetc3%20port%20the%20rate%20is%20limited%20as%20expected%2C%20but%20not%20if%20i%20configure%20it%20on%20swp0%3A%3C%2FP%3E%3CP%3E%24%20sudo%20tsntool%20cbsset%20--device%20swp0%20--tc%205%20--percentage%2010%3C%2FP%3E%3CP%3EIn%20the%20manual%20two%20streams%20are%20mentioned%2C%20does%20the%20switch%20only%20rate%20limit%20with%20interferring%20streams%3F%20On%20enetc%20I%20had%20to%20configure%20also%20the%20upper%20traffic%20classes%2C%20does%20this%20apply%20to%20the%20switch%20as%20well%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1943076%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EQorIQ%20LS1%20Devices%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1958724%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Testing%20802.1%20Qav%20on%20ls1028a%20switch%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1958724%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20using%20mickledore%20branch%20of%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-qoriq%2Fyocto-sdk.git%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-qoriq%2Fyocto-sdk.git%26nbsp%3B%3C%2FA%3Eon%20the%20ls1028a-rdb.%3C%2FP%3E%3CP%3EAnd%20indeed%20with%20cut-through%20disabled%20it%20works%20as%20expected.%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1950832%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Testing%20802.1%20Qav%20on%20ls1028a%20switch%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1950832%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EWhich%20version%20of%20RTedge%20are%20you%20using%3F%20LS1028ARDB%20board%3F%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EIn%20default%20configuration%20of%20LS1028ARDB%20dts%2C%20if%20eno3%20is%20disabled%2C%20eno2%20is%20used%20DSA%20port%2C%20%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Eif%20eno3%20is%20enabled%2C%20eno3%20will%20be%20used%20DSA%20port%20in%20default.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EAbout%20Qav%2C%20customer%20should%20disable%20cut%20through%20mode%20using%20below%20command%20before%20running%20cbsset%3A%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Etsntool%20ctset%20--device%20swp0%20--queue_stat%200x0%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EThanks.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E