xref: /dpdk/drivers/net/nfp/nfp_service.h (revision 0e7ee91b16e0122f784e01f6087ecb9246153f38)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2023 Corigine, Inc.
3  * All rights reserved.
4  */
5 
6 #ifndef __NFP_SERVICE_H__
7 #define __NFP_SERVICE_H__
8 
9 #include <rte_service_component.h>
10 
11 struct nfp_service_info {
12 	uint32_t id;
13 };
14 
15 int nfp_service_disable(struct nfp_service_info *info);
16 int nfp_service_enable(const struct rte_service_spec *service_spec,
17 		struct nfp_service_info *info);
18 
19 #endif /* __NFP_SERVICE_H__ */
20