index 67d752e70c4b481f8fcf77a60d5686e6c400c576..1cd895d6b91d01aca873f0a9c5662d92f25a86f4 100755 (executable)
extern int QUIT;
/* Global definitions */
-#ifdef netTest_MULTI_THREAD
- cpu_set_t cpu_set;
-#endif
netTestConfig_t netTestCfg;
static netTestConfigFile_t config_file;
NETAPI_T worker_nh[TUNE_NETAPI_NUM_CORES];
void slow_path_thread(uint32_t index)
{
-
int err,i;
uint32_t thread_num;
PKTIO_HANDLE_T *rx_chan;
PKTIO_HANDLE_T *sb_tx_chan;
PKTIO_HANDLE_T *sb_rx_chan;
+ cpu_set_t cpu_set;
thread_num = netTestCfg.sp_thread_num[index];
printf("slow_path_thread for index %d called for thread %d\n", index, thread_num);
uint32_t thread_num;
PKTIO_HANDLE_T *rx_chan;
PKTIO_HANDLE_T *sb_tx_chan;
- //PKTIO_HANDLE_T *sb_rx_chan;
+
+ cpu_set_t cpu_set;
thread_num = netTestCfg.fp_thread_num[index];
printf("fast_path_thread for index %d called for thread %d\n", index, thread_num);
Pktlib_HeapIfTable* pPktifTable;
FILE * fpr = NULL;
+ cpu_set_t cpu_set;
/* install signal handler for ^c */
signal(SIGINT,netTest_utilMySig);