Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_rcb.h87 struct hnae_queue q;
125 void hns_rcb_ring_enable_hw(struct hnae_queue *q, u32 val);
126 void hns_rcb_int_clr_hw(struct hnae_queue *q, u32 flag);
127 void hns_rcb_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 enable);
128 void hns_rcbv2_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 mask);
129 void hns_rcbv2_int_clr_hw(struct hnae_queue *q, u32 flag);
132 void hns_rcb_reset_ring_hw(struct hnae_queue *q);
133 void hns_rcb_wait_fbd_clean(struct hnae_queue **qs, int q_num, u32 flag);
134 int hns_rcb_wait_tx_ring_clean(struct hnae_queue *qs);
147 void hns_rcb_update_stats(struct hnae_queue *queue);
[all …]
H A Dhns_dsaf_rcb.c36 void hns_rcb_wait_fbd_clean(struct hnae_queue **qs, int q_num, u32 flag) in hns_rcb_wait_fbd_clean()
61 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()
138 void hns_rcb_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 mask) in hns_rcb_int_ctrl_hw()
155 void hns_rcb_int_clr_hw(struct hnae_queue *q, u32 flag) in hns_rcb_int_clr_hw()
168 void hns_rcbv2_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 mask) in hns_rcbv2_int_ctrl_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()
213 void hns_rcb_set_tx_ring_bs(struct hnae_queue *q, u32 buf_size) in hns_rcb_set_tx_ring_bs()
225 void hns_rcb_set_rx_ring_bs(struct hnae_queue *q, u32 buf_size) in hns_rcb_set_rx_ring_bs()
[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 Dhns_ae_adapt.c62 static struct ring_pair_cb *hns_ae_get_ring_pair(struct hnae_queue *q) in hns_ae_get_ring_pair()
192 static void hns_ae_init_queue(struct hnae_queue *q) in hns_ae_init_queue()
200 static void hns_ae_fini_queue(struct hnae_queue *q) in hns_ae_fini_queue()
296 struct hnae_queue *q; in hns_ae_set_mtu()
465 static void hns_ae_get_ring_bdnum_limit(struct hnae_queue *queue, in hns_ae_get_ring_bdnum_limit()
625 struct hnae_queue *queue; in hns_ae_update_stats()
H A Dhnae.c195 hnae_init_ring(struct hnae_queue *q, struct hnae_ring *ring, int flags) in hnae_init_ring()
238 static int hnae_init_queue(struct hnae_handle *h, struct hnae_queue *q, in hnae_init_queue()
265 static void hnae_fini_queue(struct hnae_queue *q) in hnae_fini_queue()
H A Dhns_ethtool.c673 struct hnae_queue *queue; in hns_get_ringparam()