|
@@ -284,11 +284,11 @@ struct hns3_desc_cb {
|
|
|
|
|
|
/* priv data for the desc, e.g. skb when use with ip stack*/
|
|
/* priv data for the desc, e.g. skb when use with ip stack*/
|
|
void *priv;
|
|
void *priv;
|
|
- u16 page_offset;
|
|
|
|
- u16 reuse_flag;
|
|
|
|
-
|
|
|
|
|
|
+ u32 page_offset;
|
|
u32 length; /* length of the buffer */
|
|
u32 length; /* length of the buffer */
|
|
|
|
|
|
|
|
+ u16 reuse_flag;
|
|
|
|
+
|
|
/* desc type, used by the ring user to mark the type of the priv data */
|
|
/* desc type, used by the ring user to mark the type of the priv data */
|
|
u16 type;
|
|
u16 type;
|
|
};
|
|
};
|