Home
last modified time | relevance | path

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

/drivers/net/ethernet/hisilicon/hns/
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);
128 void hns_rcb_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 enable);
129 void hns_rcbv2_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 mask);
130 void hns_rcbv2_int_clr_hw(struct hnae_queue *q, u32 flag);
133 void hns_rcb_reset_ring_hw(struct hnae_queue *q);
134 void hns_rcb_wait_fbd_clean(struct hnae_queue **qs, int q_num, u32 flag);
135 int hns_rcb_wait_tx_ring_clean(struct hnae_queue *qs);
[all …]
Dhns_dsaf_rcb.c40 void hns_rcb_wait_fbd_clean(struct hnae_queue **qs, int q_num, u32 flag) in hns_rcb_wait_fbd_clean()
65 int hns_rcb_wait_tx_ring_clean(struct hnae_queue *qs) in hns_rcb_wait_tx_ring_clean()
92 void hns_rcb_reset_ring_hw(struct hnae_queue *q) in hns_rcb_reset_ring_hw()
142 void hns_rcb_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 mask) in hns_rcb_int_ctrl_hw()
159 void hns_rcb_int_clr_hw(struct hnae_queue *q, u32 flag) in hns_rcb_int_clr_hw()
172 void hns_rcbv2_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 mask) in hns_rcbv2_int_ctrl_hw()
183 void hns_rcbv2_int_clr_hw(struct hnae_queue *q, u32 flag) in hns_rcbv2_int_clr_hw()
197 void hns_rcb_ring_enable_hw(struct hnae_queue *q, u32 val) in hns_rcb_ring_enable_hw()
202 void hns_rcb_start(struct hnae_queue *q, u32 val) in hns_rcb_start()
222 void hns_rcb_set_tx_ring_bs(struct hnae_queue *q, u32 buf_size) in hns_rcb_set_tx_ring_bs()
[all …]
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; /* array base of all queues */
Dhns_ae_adapt.c62 static struct ring_pair_cb *hns_ae_get_ring_pair(struct hnae_queue *q) in hns_ae_get_ring_pair()
85 qnum_per_vf * sizeof(struct hnae_queue *), GFP_KERNEL); in hns_ae_get_handle()
111 ae_handle->qs = (struct hnae_queue **)(&ae_handle->qs + 1); in hns_ae_get_handle()
194 static void hns_ae_init_queue(struct hnae_queue *q) in hns_ae_init_queue()
202 static void hns_ae_fini_queue(struct hnae_queue *q) in hns_ae_fini_queue()
298 struct hnae_queue *q; in hns_ae_set_mtu()
467 static void hns_ae_get_ring_bdnum_limit(struct hnae_queue *queue, in hns_ae_get_ring_bdnum_limit()
627 struct hnae_queue *queue; in hns_ae_update_stats()
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()
Dhns_ethtool.c672 struct hnae_queue *queue; in hns_get_ringparam()