提交 3ee7211c 编写于 作者: Y Yunsheng Lin 提交者: Xie XiuQi

net: hns3: keep the code align with mainline

driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

update the code to make it the same with mainline.
Signed-off-by: NYunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: Nlipeng <lipeng321@huawei.com>
Reviewed-by: NXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 bed9285a
......@@ -304,11 +304,11 @@ struct hns3_desc_cb {
/* priv data for the desc, e.g. skb when use with ip stack*/
void *priv;
u32 page_offset;
u32 reuse_flag;
u32 length; /* length of the buffer */
/* desc type, used by the ring user to mark the type of the priv data */
u16 reuse_flag;
/* desc type, used by the ring user to mark the type of the priv data */
u16 type;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册