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

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

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

860 次查看
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.

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

标记 (1)
0 项奖励
回复
1 回复

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