1/* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright(c) 2010-2018 Intel Corporation 3 */ 4 5#ifndef _MAIN_H_ 6#define _MAIN_H_ 7 8 9#define MAX_LCORE_PARAMS 1024 10struct lcore_params { 11 uint16_t port_id; 12 uint8_t queue_id; 13 uint8_t lcore_id; 14} __rte_cache_aligned; 15 16extern struct lcore_params *lcore_params; 17extern uint16_t nb_lcore_params; 18extern struct lcore_params lcore_params_array[]; 19 20#endif /* _MAIN_H_ */ 21