Searched refs:hnae_ring (Results 1 – 7 of 7) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns/ |
A D | hnae.h | 266 struct hnae_ring { struct 324 static inline int ring_space(struct hnae_ring *ring) in ring_space() 330 static inline int is_ring_empty(struct hnae_ring *ring) in is_ring_empty() 348 int (*map_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb); 356 struct hnae_ring rx_ring ____cacheline_internodealigned_in_smp; 357 struct hnae_ring tx_ring ____cacheline_internodealigned_in_smp; 476 void (*toggle_ring_irq)(struct hnae_ring *ring, u32 val); 586 static inline int hnae_reserve_buffer_map(struct hnae_ring *ring, in hnae_reserve_buffer_map() 650 static inline void hnae_reuse_buffer(struct hnae_ring *ring, int i) in hnae_reuse_buffer() 662 struct hnae_ring *ring; in hnae_reinit_all_ring_desc() [all …]
|
A D | hnae.c | 36 static int hnae_alloc_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_alloc_buffer() 54 static void hnae_free_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_free_buffer() 67 static int hnae_map_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_map_buffer() 78 static void hnae_unmap_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_unmap_buffer() 119 static void hnae_free_buffers(struct hnae_ring *ring) in hnae_free_buffers() 128 static int hnae_alloc_buffers(struct hnae_ring *ring) in hnae_alloc_buffers() 147 static void hnae_free_desc(struct hnae_ring *ring) in hnae_free_desc() 158 static int hnae_alloc_desc(struct hnae_ring *ring) in hnae_alloc_desc() 179 static void hnae_fini_ring(struct hnae_ring *ring) in hnae_fini_ring() 193 hnae_init_ring(struct hnae_queue *q, struct hnae_ring *ring, int flags) in hnae_init_ring()
|
A D | hns_enet.h | 34 struct hnae_ring *ring; 45 void (*fill_desc)(struct hnae_ring *ring, void *priv, 49 int *bnum, struct hnae_ring *ring);
|
A D | hns_enet.c | 308 struct hnae_ring *ring = ring_data->ring; in hns_nic_net_xmit_hw() 540 struct hnae_ring *ring = ring_data->ring; in hns_nic_poll_rx_skb() 665 struct hnae_ring *ring = ring_data->ring; in hns_nic_alloc_rx_buffers() 776 struct hnae_ring *ring = ring_data->ring; in hns_nic_adpt_coalesce() 821 struct hnae_ring *ring = ring_data->ring; in hns_nic_rx_poll_one() 872 struct hnae_ring *ring = ring_data->ring; in hns_nic_rx_fini_pro() 899 struct hnae_ring *ring = ring_data->ring; in hns_nic_rx_fini_pro_v2() 949 struct hnae_ring *ring = ring_data->ring; in hns_nic_tx_poll_one() 1003 struct hnae_ring *ring = ring_data->ring; in hns_nic_tx_fini_pro() 1022 struct hnae_ring *ring = ring_data->ring; in hns_nic_tx_fini_pro_v2() [all …]
|
A D | hns_ae_adapt.c | 389 static void hns_ae_toggle_ring_irq(struct hnae_ring *ring, u32 mask) in hns_ae_toggle_ring_irq() 401 static void hns_aev2_toggle_ring_irq(struct hnae_ring *ring, u32 mask) in hns_aev2_toggle_ring_irq()
|
A D | hns_dsaf_rcb.c | 250 struct hnae_ring *ring = in hns_rcb_ring_init() 443 struct hnae_ring *ring; in hns_rcb_ring_get_cfg()
|
A D | hns_ethtool.c | 375 struct hnae_ring *ring; in __lb_other_process()
|
Completed in 18 milliseconds