index f06293d63b27b444648d9957462b651da6700722..c64b58cf3abb4e600727e59a20a7b03780075d87 100755 (executable)
//* Local (per thread/core) nwal initialization0
//**************************************************
int netapi_start_nwal(Pktlib_HeapHandle pkt_heap,
- Pktlib_HeapHandle cmd_heap,
+ Pktlib_HeapHandle cmd_rx_heap,
+ Pktlib_HeapHandle cmd_tx_heap,
NETAPI_NWAL_LOCAL_CONTEXT_T *p,
NETAPI_CFG_T *p_cfg,
NETAPI_NWAL_GLOBAL_CONTEXT_T * p_nwal_glob_context )
nwalLocCfg.rxCtlPool.numBufPools = 1;
nwalLocCfg.rxCtlPool.bufPool[0].descSize = TUNE_NETAPI_DESC_SIZE;
nwalLocCfg.rxCtlPool.bufPool[0].bufSize = TUNE_NETAPI_CONFIG_MAX_CTL_RXTX_BUF_SIZE;
- nwalLocCfg.rxCtlPool.bufPool[0].heapHandle = cmd_heap;
+ nwalLocCfg.rxCtlPool.bufPool[0].heapHandle = cmd_rx_heap;
/* Initialize Buffer Pool for Control packets from Host to NetCP */
nwalLocCfg.txCtlPool.numBufPools = 1;
nwalLocCfg.txCtlPool.bufPool[0].descSize = TUNE_NETAPI_DESC_SIZE;
nwalLocCfg.txCtlPool.bufPool[0].bufSize = TUNE_NETAPI_CONFIG_MAX_CTL_RXTX_BUF_SIZE;
- nwalLocCfg.txCtlPool.bufPool[0].heapHandle = cmd_heap;
+ nwalLocCfg.txCtlPool.bufPool[0].heapHandle = cmd_tx_heap;
/* Initialize Buffer Pool for Packets from NetCP to Host */
nwalLocCfg.rxPktPool.numBufPools = 1;