diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h index e3fd46a2cbdbacd09c267a9ae45fe8d077017e39..e45abf02aa65a4e7167772e4d193c8f73c350348 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h @@ -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; };