faucetsdn / ryu

Ryu component-based software defined networking framework
https://ryu-sdn.org
Apache License 2.0
1.52k stars 1.16k forks source link

Sending OFPPortStatsRequest() message fails for dpdk-type port of ovs. #177

Open Fifate opened 1 year ago

Fifate commented 1 year ago

Config:

Problem: image

Analyze: When I send OFPPortStatsRequest() to ovs, I get a error from struct.uppack_from(). After analyzed, I found that the reason is in fucntion OFPPropCommonExperimenter4ByteData.parser() at ofproto_v1_4_parse.py:939, which unpack message by 4 bytes but dpdk-type portstatsreply message is not a multiple of 4.