In eoan kernel already. $ git log --grep="net: hns3: pad the short frame before sending to the hardware" commit 39d592aa888b3cfe3bca86b524775e4d5b8c96fc Author: Yunsheng Lin <linyunsh...@huawei.com> Date: Wed Jan 15 10:46:45 2020 +0800
net: hns3: pad the short frame before sending to the hardware BugLink: https://bugs.launchpad.net/bugs/1862429 [ Upstream commit 36c67349a1a1c88b9cf11d7ca7762ababdb38867 ] 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. This patch pads the SKB when skb->len is below 33 bytes before sending it to hardware. Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC") Signed-off-by: Yunsheng Lin <linyunsh...@huawei.com> Signed-off-by: Huazhong Tan <tanhuazh...@huawei.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> Signed-off-by: Kamal Mostafa <ka...@canonical.com> Signed-off-by: Khalid Elmously <khalid.elmou...@canonical.com> -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860320 Title: [hns3-0120]pad the short frame before sending to the hardware To manage notifications about this bug go to: https://bugs.launchpad.net/kunpeng920/+bug/1860320/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs