Commit 0ec94e64 authored by Yonglong Liu's avatar Yonglong Liu Committed by Yang Yingliang
Browse files

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: default avatarYonglong Liu <liuyonglong@huawei.com>
Reviewed-by: default avatarJunxin Chen <chenjunxin1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent ac001446
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment