tsntool dscpset returns warning msg on ls1028ardb w/ OpenIL1.8

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

tsntool dscpset returns warning msg on ls1028ardb w/ OpenIL1.8

637 Views
yyu2
Contributor III

Hi,

I am using OpenIL1.8 and configuring dscp mapping as below. It reports some warnings, but the configuration seems successful by my following tests. Please help to check how these warnings come up.

Thanks,

   -Yi

>>>>>>>>>>>>>>>>>

tsntool> dscpset --device swp0 --index 1 --cos 0 --dpl 0

echo reply:swp0
echo reply:0
[ 4096.582820] 001: validate_nla: 6 callbacks suppressed
[ 4096.582837] 001: netlink: 'tsntool': attribute type 3 has an invalid length.
[ 4096.582846] 001: netlink: 'tsntool': attribute type 4 has an invalid length.


tsntool> dscpset --device swp1 --index 1 --cos 0 --dpl 0

echo reply:swp1
echo reply:0
[ 4123.866868] 000: netlink: 'tsntool': attribute type 3 has an invalid length.
[ 4123.866886] 000: netlink: 'tsntool': attribute type 4 has an invalid length.

>>>>>>>>>>>>

Tags (1)
0 Kudos
1 Reply

589 Views
yipingwang
NXP TechSupport
NXP TechSupport

This problem is caused by the data type of cos in tsntool is different from Kernel, in tsntool u8 is used, however in Linux Kernel u32 is used.

This problem has already been reported to the LSDK development team.

0 Kudos