Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_rcb.h91 struct hnae_queue q;
123 void hns_rcb_start(struct hnae_queue *q, u32 val);
130 void hns_rcb_ring_enable_hw(struct hnae_queue *q, u32 val);
131 void hns_rcb_int_clr_hw(struct hnae_queue *q, u32 flag);
132 void hns_rcb_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 enable);
133 void hns_rcbv2_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 mask);
134 void hns_rcbv2_int_clr_hw(struct hnae_queue *q, u32 flag);
137 void hns_rcb_reset_ring_hw(struct hnae_queue *q);
138 void hns_rcb_wait_fbd_clean(struct hnae_queue **qs, int q_num, u32 flag);
139 int hns_rcb_wait_tx_ring_clean(struct hnae_queue *qs);
[all …]
Dhns_dsaf_rcb.c44 void hns_rcb_wait_fbd_clean(struct hnae_queue **qs, int q_num, u32 flag) in hns_rcb_wait_fbd_clean()
69 int hns_rcb_wait_tx_ring_clean(struct hnae_queue *qs) in hns_rcb_wait_tx_ring_clean()
96 void hns_rcb_reset_ring_hw(struct hnae_queue *q) in hns_rcb_reset_ring_hw()
146 void hns_rcb_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 mask) in hns_rcb_int_ctrl_hw()
163 void hns_rcb_int_clr_hw(struct hnae_queue *q, u32 flag) in hns_rcb_int_clr_hw()
176 void hns_rcbv2_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 mask) in hns_rcbv2_int_ctrl_hw()
187 void hns_rcbv2_int_clr_hw(struct hnae_queue *q, u32 flag) in hns_rcbv2_int_clr_hw()
200 void hns_rcb_ring_enable_hw(struct hnae_queue *q, u32 val) in hns_rcb_ring_enable_hw()
205 void hns_rcb_start(struct hnae_queue *q, u32 val) in hns_rcb_start()
225 void hns_rcb_set_tx_ring_bs(struct hnae_queue *q, u32 buf_size) in hns_rcb_set_tx_ring_bs()
[all …]
Dhnae.h268 struct hnae_queue;
274 struct hnae_queue *q;
359 struct hnae_queue { struct
477 void (*init_queue)(struct hnae_queue *q);
478 void (*fini_queue)(struct hnae_queue *q);
493 void (*get_ring_bdnum_limit)(struct hnae_queue *queue,
574 struct hnae_queue **qs; /* array base of all queues */
Dhns_ae_adapt.c68 static struct ring_pair_cb *hns_ae_get_ring_pair(struct hnae_queue *q) in hns_ae_get_ring_pair()
91 qnum_per_vf * sizeof(struct hnae_queue *), GFP_KERNEL); in hns_ae_get_handle()
117 ae_handle->qs = (struct hnae_queue **)(&ae_handle->qs + 1); in hns_ae_get_handle()
202 static void hns_ae_init_queue(struct hnae_queue *q) in hns_ae_init_queue()
210 static void hns_ae_fini_queue(struct hnae_queue *q) in hns_ae_fini_queue()
306 struct hnae_queue *q; in hns_ae_set_mtu()
474 static void hns_ae_get_ring_bdnum_limit(struct hnae_queue *queue, in hns_ae_get_ring_bdnum_limit()
652 struct hnae_queue *queue; in hns_ae_update_stats()
Dhnae.c195 hnae_init_ring(struct hnae_queue *q, struct hnae_ring *ring, int flags) in hnae_init_ring()
240 static int hnae_init_queue(struct hnae_handle *h, struct hnae_queue *q, in hnae_init_queue()
267 static void hnae_fini_queue(struct hnae_queue *q) in hnae_fini_queue()
Dhns_ethtool.c669 struct hnae_queue *queue; in hns_get_ringparam()