#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/platform_device.h>
#include "hns_dsaf_ppe.h"
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])
{ … }
static u8 __iomem *
hns_ppe_common_get_ioaddr(struct ppe_common_cb *ppe_common)
{ … }
static int hns_ppe_common_get_cfg(struct dsaf_device *dsaf_dev, int comm_index)
{ … }
static void
hns_ppe_common_free_cfg(struct dsaf_device *dsaf_dev, u32 comm_index)
{ … }
static u8 __iomem *hns_ppe_get_iobase(struct ppe_common_cb *ppe_common,
int ppe_idx)
{ … }
static void hns_ppe_get_cfg(struct ppe_common_cb *ppe_common)
{ … }
static void hns_ppe_cnt_clr_ce(struct hns_ppe_cb *ppe_cb)
{ … }
static void hns_ppe_set_vlan_strip(struct hns_ppe_cb *ppe_cb, int en)
{ … }
static void hns_ppe_checksum_hw(struct hns_ppe_cb *ppe_cb, u32 value)
{ … }
static void hns_ppe_set_qid_mode(struct ppe_common_cb *ppe_common,
enum ppe_qid_mode qid_mdoe)
{ … }
static void hns_ppe_set_qid(struct ppe_common_cb *ppe_common, u32 qid)
{ … }
static void hns_ppe_set_port_mode(struct hns_ppe_cb *ppe_cb,
enum ppe_port_mode mode)
{ … }
static int hns_ppe_common_init_hw(struct ppe_common_cb *ppe_common)
{ … }
static void hns_ppe_exc_irq_en(struct hns_ppe_cb *ppe_cb, int en)
{ … }
int hns_ppe_wait_tx_fifo_clean(struct hns_ppe_cb *ppe_cb)
{ … }
static void hns_ppe_init_hw(struct hns_ppe_cb *ppe_cb)
{ … }
static void hns_ppe_uninit_hw(struct hns_ppe_cb *ppe_cb)
{ … }
static void hns_ppe_uninit_ex(struct ppe_common_cb *ppe_common)
{ … }
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_strings(struct hns_ppe_cb *ppe_cb, int stringset, u8 *data)
{ … }
void hns_ppe_get_stats(struct hns_ppe_cb *ppe_cb, u64 *data)
{ … }
int hns_ppe_init(struct dsaf_device *dsaf_dev)
{ … }
void hns_ppe_get_regs(struct hns_ppe_cb *ppe_cb, void *data)
{ … }