// SPDX-License-Identifier: GPL-2.0 /* Copyright (C) Intel Corporation * Author: Shao Guohua */ #ifndef DATAPATH_TX_H #define DATAPATH_TX_H #include int dp_tx_init(int inst); void dp_tx_register_process(enum DP_TX_PRIORITY priority, tx_fn fn, void *priv); void dp_tx_register_preprocess(enum DP_TX_PRIORITY priority, tx_fn fn, void *priv, bool always_enabled); int dp_tx_update_list(void); int dp_tx_start(struct sk_buff *skb, struct dp_tx_common *cmn); int dp_tx_err(struct sk_buff *skb, struct dp_tx_common *cmn, int ret); void dp_tx_dbg(char *title, struct sk_buff *skb, s32 ep, s32 len, u32 flags, struct pmac_tx_hdr *pmac, struct dp_subif *rx_subif, int need_pmac, int gso, int checksum); #endif /* end of include guard: DATAPATH_TX_H */