Tool/software:
Hello TI,
I'm working with AM64x with HSR firmware :
After creating a VLAN based on the HSR interface, when the HSR firmware pads non-VLAN packets that are shorter than the minimum frame length(e.g., ARP request), it adds an extra 4 bytes of 0x00, resulting in a mismatch between the LSDUsize(52) in the HSR tag and the actual size(56).
It's very easy to reproduce the issue:
- Set the link speed to 100 Mbps link speed
- wireshark capture ARP request from hsr0 interface, the frame length should be 66 and the LSDU size should be 52
- create a vlan hsr0.1 on hsr0:
ip link add link hsr0 name hsr0.1 type vlan id 1 ; ip addr add 192.168.0.10/24 dev hsr0.1 ; ip link set dev hsr0.1 up
wireshark capture ARP request from hsr interface again, the frame length will be 70 and the LSDU size will be still 52.
-Tianyi