Comment 0 for bug 1860320

Revision history for this message
Fred Kimmy (kongzizaixian) wrote :

[Bug Description]
The hardware can not handle short frames below or equal to 32
bytes according to the hardware user manual, and it will trigger
a RAS error when the frame's length is below 33 bytes.

[Steps to Reproduce]
1.send a frame less than 33 bytes.

[Actual Results]
a RAS occurs

[Expected Results]
no RAS

[Reproducibility]
Inevitably

[Additional information]
Hardware: D06
Firmware: NA
Kernel: NA

[Resolution]
pads the SKB when skb->len is below 33 bytes before sending it to hardware.

net: hns3: pad the short frame before sending to the hardware