1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018-2021 HiSilicon Limited.
8 /* Local data for primary or secondary process. */
9 struct hns3_process_local_data {
10 bool init_done; /* Process action register completed flag. */
11 int eth_dev_cnt; /* Ethdev count under the current process. */
14 void hns3_mp_req_start_rxtx(struct rte_eth_dev *dev);
15 void hns3_mp_req_stop_rxtx(struct rte_eth_dev *dev);
16 void hns3_mp_req_start_tx(struct rte_eth_dev *dev);
17 void hns3_mp_req_stop_tx(struct rte_eth_dev *dev);
19 int hns3_mp_init(struct rte_eth_dev *dev);
20 void hns3_mp_uninit(struct rte_eth_dev *dev);
22 #endif /* _HNS3_MP_H_ */