Searched refs:ppe_cb (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/drivers/net/ethernet/hisilicon/hns/ |
| H A D | hns_dsaf_ppe.c | 116 struct hns_ppe_cb *ppe_cb; in hns_ppe_get_cfg() local 120 ppe_cb = &ppe_common->ppe_cb[i]; in hns_ppe_get_cfg() 122 ppe_cb->next = NULL; in hns_ppe_get_cfg() 124 ppe_cb->index = i; in hns_ppe_get_cfg() 126 ppe_cb->virq = 0; in hns_ppe_get_cfg() 302 u32 port = ppe_cb->index; in hns_ppe_init_hw() 324 hns_ppe_cnt_clr_ce(ppe_cb); in hns_ppe_init_hw() 333 hns_ppe_set_rss_key(ppe_cb, ppe_cb->rss_key); in hns_ppe_init_hw() 338 hns_ppe_set_indir_table(ppe_cb, ppe_cb->rss_indir_table); in hns_ppe_init_hw() 353 port = ppe_cb->index; in hns_ppe_uninit_hw() [all …]
|
| H A D | hns_dsaf_ppe.h | 95 struct hns_ppe_cb ppe_cb[] __counted_by(ppe_num); 99 int hns_ppe_wait_tx_fifo_clean(struct hns_ppe_cb *ppe_cb); 106 void hns_ppe_update_stats(struct hns_ppe_cb *ppe_cb); 110 void hns_ppe_get_regs(struct hns_ppe_cb *ppe_cb, void *data); 112 void hns_ppe_get_strings(struct hns_ppe_cb *ppe_cb, int stringset, u8 **data); 113 void hns_ppe_get_stats(struct hns_ppe_cb *ppe_cb, u64 *data); 114 void hns_ppe_set_tso_enable(struct hns_ppe_cb *ppe_cb, u32 value); 115 void hns_ppe_set_rss_key(struct hns_ppe_cb *ppe_cb, 117 void hns_ppe_set_indir_table(struct hns_ppe_cb *ppe_cb,
|
| H A D | hns_ae_adapt.c | 37 return &ppe_comm->ppe_cb[ppe_index]; in hns_get_ppe_cb() 152 struct hns_ppe_cb *ppe_cb; in hns_ae_wait_flow_down() local 163 ppe_cb = hns_get_ppe_cb(handle); in hns_ae_wait_flow_down() 625 struct hns_ppe_cb *ppe_cb; in hns_ae_update_stats() local 653 hns_ppe_update_stats(ppe_cb); in hns_ae_update_stats() 705 struct hns_ppe_cb *ppe_cb; in hns_ae_get_stats() local 723 hns_ppe_get_stats(ppe_cb, p); in hns_ae_get_stats() 739 struct hns_ppe_cb *ppe_cb; in hns_ae_get_strings() local 837 hns_ppe_get_regs(ppe_cb, p); in hns_ae_get_regs() 910 hns_ppe_set_rss_key(ppe_cb, ppe_cb->rss_key); in hns_ae_set_rss() [all …]
|