net: hns3: pad the short tunnel frame before sending to hardware
driver inclusion category: bugfix bugzilla: NA CVE: NA ---------------------------- The hardware can not handle short tunnel frames below or equal to 64 bytes, and will cause vlan tag missing problem. This patch pads packet size to 65 bytes for tunnel frames to fix this bug. Signed-off-by: NYonglong Liu <liuyonglong@huawei.com> Reviewed-by: NJunxin Chen <chenjunxin1@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录