13998e2a0SBruce Richardson /* SPDX-License-Identifier: BSD-3-Clause 23998e2a0SBruce Richardson * Copyright(c) 2010-2014 Intel Corporation 3f5e5c334SAlan Carew */ 4f5e5c334SAlan Carew 5f5e5c334SAlan Carew #ifndef VM_POWER_CLI_H_ 6f5e5c334SAlan Carew #define VM_POWER_CLI_H_ 7f5e5c334SAlan Carew 8f5e5c334SAlan Carew #ifdef __cplusplus 9f5e5c334SAlan Carew extern "C" { 10f5e5c334SAlan Carew #endif 11f5e5c334SAlan Carew 12*bd5b6720SBruce Richardson struct rte_power_channel_packet *get_policy(void); 1359287933SDavid Hunt 1459287933SDavid Hunt int set_policy_mac(int port, int idx); 1559287933SDavid Hunt 16*bd5b6720SBruce Richardson int set_policy_defaults(struct rte_power_channel_packet *pkt); 1759287933SDavid Hunt 18f2fc83b4SThomas Monjalon void run_cli(__rte_unused void *arg); 19f5e5c334SAlan Carew 20f5e5c334SAlan Carew #ifdef __cplusplus 21f5e5c334SAlan Carew } 22f5e5c334SAlan Carew #endif 23f5e5c334SAlan Carew 24f5e5c334SAlan Carew #endif /* VM_POWER_CLI_H_ */ 25