#ifndef _HNS_DSAF_PPE_H
#define _HNS_DSAF_PPE_H
#include <linux/platform_device.h>
#include "hns_dsaf_main.h"
#include "hns_dsaf_mac.h"
#include "hns_dsaf_rcb.h"
#define HNS_PPE_SERVICE_NW_ENGINE_NUM …
#define HNS_PPE_DEBUG_NW_ENGINE_NUM …
#define HNS_PPE_COM_NUM …
#define PPE_COMMON_REG_OFFSET …
#define PPE_REG_OFFSET …
#define ETH_PPE_DUMP_NUM …
#define ETH_PPE_STATIC_NUM …
#define HNS_PPEV2_RSS_IND_TBL_SIZE …
#define HNS_PPEV2_RSS_KEY_SIZE …
#define HNS_PPEV2_RSS_KEY_NUM …
#define HNS_PPEV2_MAX_FRAME_LEN …
enum ppe_qid_mode { … };
enum ppe_port_mode { … };
enum ppe_common_mode { … };
struct hns_ppe_hw_stats { … };
struct hns_ppe_cb { … };
struct ppe_common_cb { … };
int hns_ppe_wait_tx_fifo_clean(struct hns_ppe_cb *ppe_cb);
int hns_ppe_init(struct dsaf_device *dsaf_dev);
void hns_ppe_uninit(struct dsaf_device *dsaf_dev);
void hns_ppe_reset_common(struct dsaf_device *dsaf_dev, u8 ppe_common_index);
void hns_ppe_update_stats(struct hns_ppe_cb *ppe_cb);
int hns_ppe_get_sset_count(int stringset);
int hns_ppe_get_regs_count(void);
void hns_ppe_get_regs(struct hns_ppe_cb *ppe_cb, void *data);
void hns_ppe_get_strings(struct hns_ppe_cb *ppe_cb, int stringset, u8 *data);
void hns_ppe_get_stats(struct hns_ppe_cb *ppe_cb, u64 *data);
void hns_ppe_set_tso_enable(struct hns_ppe_cb *ppe_cb, u32 value);
void hns_ppe_set_rss_key(struct hns_ppe_cb *ppe_cb,
const u32 rss_key[HNS_PPEV2_RSS_KEY_NUM]);
void hns_ppe_set_indir_table(struct hns_ppe_cb *ppe_cb,
const u32 rss_tab[HNS_PPEV2_RSS_IND_TBL_SIZE]);
#endif