Searched refs:hnae_ring (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/ |
D | hnae.h | 270 struct hnae_ring { struct 323 static inline int ring_dist(struct hnae_ring *ring, int begin, int end) in ring_dist() argument 331 static inline int ring_space(struct hnae_ring *ring) in ring_space() 337 static inline int is_ring_empty(struct hnae_ring *ring) in is_ring_empty() 353 int (*alloc_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb); 354 void (*free_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb); 355 int (*map_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb); 356 void (*unmap_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb); 363 struct hnae_ring rx_ring ____cacheline_internodealigned_in_smp; 364 struct hnae_ring tx_ring ____cacheline_internodealigned_in_smp; [all …]
|
D | hnae.c | 40 static int hnae_alloc_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_alloc_buffer() 58 static void hnae_free_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_free_buffer() 71 static int hnae_map_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_map_buffer() 82 static void hnae_unmap_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_unmap_buffer() 123 static void hnae_free_buffers(struct hnae_ring *ring) in hnae_free_buffers() 132 static int hnae_alloc_buffers(struct hnae_ring *ring) in hnae_alloc_buffers() 151 static void hnae_free_desc(struct hnae_ring *ring) in hnae_free_desc() 163 static int hnae_alloc_desc(struct hnae_ring *ring) in hnae_alloc_desc() 184 static void hnae_fini_ring(struct hnae_ring *ring) in hnae_fini_ring() 195 hnae_init_ring(struct hnae_queue *q, struct hnae_ring *ring, int flags) in hnae_init_ring()
|
D | hns_enet.h | 38 struct hnae_ring *ring; 49 void (*fill_desc)(struct hnae_ring *ring, void *priv, 53 int *bnum, struct hnae_ring *ring);
|
D | hns_enet.c | 43 static void fill_v2_desc_hw(struct hnae_ring *ring, void *priv, int size, in fill_v2_desc_hw() 136 static void fill_v2_desc(struct hnae_ring *ring, void *priv, in fill_v2_desc() 151 static void fill_desc(struct hnae_ring *ring, void *priv, in fill_desc() 212 static void unfill_desc(struct hnae_ring *ring) in unfill_desc() 218 struct sk_buff **out_skb, int *bnum, struct hnae_ring *ring) in hns_nic_maybe_stop_tx() 247 struct sk_buff **out_skb, int *bnum, struct hnae_ring *ring) in hns_nic_maybe_stop_tso() 286 static void fill_tso_desc(struct hnae_ring *ring, void *priv, in fill_tso_desc() 316 struct hnae_ring *ring = ring_data->ring; in hns_nic_net_xmit_hw() 418 struct hnae_ring *ring, int pull_len, in hns_nic_reuse_page() 550 struct hnae_ring *ring = ring_data->ring; in hns_nic_poll_rx_skb() [all …]
|
D | hns_dsaf_rcb.c | 253 struct hnae_ring *ring = in hns_rcb_ring_init() 446 struct hnae_ring *ring; in hns_rcb_ring_get_cfg()
|
D | hns_ae_adapt.c | 395 static void hns_ae_toggle_ring_irq(struct hnae_ring *ring, u32 mask) in hns_ae_toggle_ring_irq() 407 static void hns_aev2_toggle_ring_irq(struct hnae_ring *ring, u32 mask) in hns_aev2_toggle_ring_irq()
|
D | hns_ethtool.c | 376 struct hnae_ring *ring; in __lb_other_process()
|