Lines Matching defs:hns3_enet_ring
378 struct hns3_enet_ring { struct
381 struct hns3_enet_ring *next; argument
382 struct hns3_enet_tqp_vector *tqp_vector;
383 struct hnae3_queue *tqp;
384 int queue_index;
385 struct device *dev; /* will be used for DMA mapping of descriptors */
388 struct ring_stats stats;
389 struct u64_stats_sync syncp;
391 dma_addr_t desc_dma_addr;
392 u32 buf_size; /* size for hnae_desc->addr, preset by AE */
393 u16 desc_num; /* total number of desc */
394 int next_to_use; /* idx of next spare desc */
399 int next_to_clean;
400 union {
404 u32 frag_num;
405 void *va; /* first buffer address for current packet */
407 u32 flag; /* ring attribute */
409 int pending_buf;
410 struct sk_buff *skb;
411 struct sk_buff *tail_skb;