69f9b420d8
Currently, hns3 PMD has supported start/stop RxTx datapath request message between the primary and secondary processes. However, there are some cases only to start/stop Tx datapath. This patch adds start/stop Tx datapath request for MP. Signed-off-by: Huisong Li <lihuisong@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
18 lines
470 B
C
18 lines
470 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(c) 2018-2021 HiSilicon Limited.
|
|
*/
|
|
|
|
#ifndef _HNS3_MP_H_
|
|
#define _HNS3_MP_H_
|
|
|
|
void hns3_mp_req_start_rxtx(struct rte_eth_dev *dev);
|
|
void hns3_mp_req_stop_rxtx(struct rte_eth_dev *dev);
|
|
void hns3_mp_req_start_tx(struct rte_eth_dev *dev);
|
|
void hns3_mp_req_stop_tx(struct rte_eth_dev *dev);
|
|
|
|
int hns3_mp_init_primary(void);
|
|
void hns3_mp_uninit_primary(void);
|
|
int hns3_mp_init_secondary(void);
|
|
|
|
#endif /* _HNS3_MP_H_ */
|