Commit a54f54bc authored by Yunsheng Lin's avatar Yunsheng Lin Committed by Yang Yingliang
Browse files

net: hns3: fix for fraglist skb headlen not handling correctly



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

------------------------------------

when the fraglist skb headlen is larger than zero, current code
still handle the fraglist skb linear data as frag data, which may
cause tx error.

This patch adds a new DESC_TYPE_FRAGLIST_SKB type to handle the
mapping and unmapping of the fraglist skb linear data buffer.

Signed-off-by: default avatarYunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: default avatarPeng Li <lipeng321@huawei.com>
Reviewed-by: default avatarWeiwei Deng <dengweiwei@huawei.com>
Reviewed-by: default avatarZhaohui Zhong <zhongzhaohui@huawei.com>
Reviewed-by: default avatarJunxing Chen <chenjunxin1@huawei.com>
Reviewed-by: default avatarZhong Zhaohui <zhongzhaohui@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 9d17750f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment