Home
last modified time | relevance | path

Searched refs:ppe_cb (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_ppe.c18 void hns_ppe_set_tso_enable(struct hns_ppe_cb *ppe_cb, u32 value) in hns_ppe_set_tso_enable() argument
20 dsaf_set_dev_bit(ppe_cb, PPEV2_CFG_TSO_EN_REG, 0, !!value); in hns_ppe_set_tso_enable()
23 void hns_ppe_set_rss_key(struct hns_ppe_cb *ppe_cb, in hns_ppe_set_rss_key() argument
29 dsaf_write_dev(ppe_cb, PPEV2_RSS_KEY_REG + key_item * 0x4, in hns_ppe_set_rss_key()
33 void hns_ppe_set_indir_table(struct hns_ppe_cb *ppe_cb, in hns_ppe_set_indir_table() argument
40 reg_value = dsaf_read_dev(ppe_cb, in hns_ppe_set_indir_table()
56 ppe_cb, PPEV2_INDRECTION_TBL_REG + i * 0x4, reg_value); in hns_ppe_set_indir_table()
83 struct_size(ppe_common, ppe_cb, ppe_num), in hns_ppe_common_get_cfg()
119 struct hns_ppe_cb *ppe_cb; in hns_ppe_get_cfg() local
123 ppe_cb = &ppe_common->ppe_cb[i]; in hns_ppe_get_cfg()
[all …]
Dhns_dsaf_ppe.h95 struct hns_ppe_cb ppe_cb[]; member
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,
Dhns_ae_adapt.c37 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()
164 ret = hns_ppe_wait_tx_fifo_clean(ppe_cb); in hns_ae_wait_flow_down()
327 struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle); in hns_ae_set_tso_stats() local
329 hns_ppe_set_tso_enable(ppe_cb, enable); in hns_ae_set_tso_stats()
625 struct hns_ppe_cb *ppe_cb; in hns_ae_update_stats() local
636 ppe_cb = hns_get_ppe_cb(handle); in hns_ae_update_stats()
653 hns_ppe_update_stats(ppe_cb); in hns_ae_update_stats()
654 rx_missed_errors = ppe_cb->hw_stats.rx_drop_no_buf; in hns_ae_update_stats()
[all …]