Home
last modified time | relevance | path

Searched refs:hnae_queue (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_rcb.h87 struct hnae_queue q;
119 void hns_rcb_start(struct hnae_queue *q, u32 val);
126 void hns_rcb_ring_enable_hw(struct hnae_queue *q, u32 val);
127 void hns_rcb_int_clr_hw(struct hnae_queue *q, u32 flag);
130 void hns_rcbv2_int_clr_hw(struct hnae_queue *q, u32 flag);
133 void hns_rcb_reset_ring_hw(struct hnae_queue *q);
135 int hns_rcb_wait_tx_ring_clean(struct hnae_queue *qs);
148 void hns_rcb_update_stats(struct hnae_queue *queue);
150 void hns_rcb_get_stats(struct hnae_queue *queue, u64 *data);
161 void hns_rcb_set_rx_ring_bs(struct hnae_queue *q, u32 buf_size);
[all …]
H A Dhns_dsaf_rcb.c61 int hns_rcb_wait_tx_ring_clean(struct hnae_queue *qs) in hns_rcb_wait_tx_ring_clean()
88 void hns_rcb_reset_ring_hw(struct hnae_queue *q) in hns_rcb_reset_ring_hw()
155 void hns_rcb_int_clr_hw(struct hnae_queue *q, u32 flag) in hns_rcb_int_clr_hw()
179 void hns_rcbv2_int_clr_hw(struct hnae_queue *q, u32 flag) in hns_rcbv2_int_clr_hw()
193 void hns_rcb_ring_enable_hw(struct hnae_queue *q, u32 val) in hns_rcb_ring_enable_hw()
198 void hns_rcb_start(struct hnae_queue *q, u32 val) in hns_rcb_start()
218 void hns_rcb_set_tx_ring_bs(struct hnae_queue *q, u32 buf_size) in hns_rcb_set_tx_ring_bs()
230 void hns_rcb_set_rx_ring_bs(struct hnae_queue *q, u32 buf_size) in hns_rcb_set_rx_ring_bs()
245 struct hnae_queue *q = &ring_pair->q; in hns_rcb_ring_init()
814 void hns_rcb_update_stats(struct hnae_queue *queue) in hns_rcb_update_stats()
[all …]
H A Dhnae.h264 struct hnae_queue;
270 struct hnae_queue *q;
352 struct hnae_queue { struct
466 void (*init_queue)(struct hnae_queue *q);
467 void (*fini_queue)(struct hnae_queue *q);
482 void (*get_ring_bdnum_limit)(struct hnae_queue *queue,
561 struct hnae_queue *qs[]; /* flexible array of all queues */
H A Dhnae.c193 hnae_init_ring(struct hnae_queue *q, struct hnae_ring *ring, int flags) in hnae_init_ring()
237 static int hnae_init_queue(struct hnae_handle *h, struct hnae_queue *q, in hnae_init_queue()
264 static void hnae_fini_queue(struct hnae_queue *q) in hnae_fini_queue()
H A Dhns_ae_adapt.c62 static struct ring_pair_cb *hns_ae_get_ring_pair(struct hnae_queue *q) in hns_ae_get_ring_pair()
193 static void hns_ae_init_queue(struct hnae_queue *q) in hns_ae_init_queue()
201 static void hns_ae_fini_queue(struct hnae_queue *q) in hns_ae_fini_queue()
297 struct hnae_queue *q; in hns_ae_set_mtu()
466 static void hns_ae_get_ring_bdnum_limit(struct hnae_queue *queue, in hns_ae_get_ring_bdnum_limit()
626 struct hnae_queue *queue; in hns_ae_update_stats()
H A Dhns_ethtool.c673 struct hnae_queue *queue; in hns_get_ringparam()