23d4b61fee
This patch adds multiple process support for hns3 PMD driver. Multi-process support selection queue by configuring RSS or flow director. The primary process supports various management ops, and the secondary process only supports queries ops. The primary process notifies the secondary processes to start or stop tranceiver. Signed-off-by: Chunsong Feng <fengchunsong@huawei.com> Signed-off-by: Min Wang (Jushui) <wangmin3@huawei.com> Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Signed-off-by: Hao Chen <chenhao164@huawei.com> Signed-off-by: Huisong Li <lihuisong@huawei.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
15 lines
368 B
C
15 lines
368 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(c) 2018-2019 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_init_primary(void);
|
|
void hns3_mp_uninit_primary(void);
|
|
void hns3_mp_init_secondary(void);
|
|
|
|
#endif /* _HNS3_MP_H_ */
|