Part Number: SK-AM64
Other Parts Discussed in Thread: SYSCONFIG
Using version 8.6.0.45 of the SDK for the AM64x, I defined two instances of the ICSS Ethernet device on the two PRUs. I defined both as Dual MAC. The SYSCONFIG version is 1.14.0.
SYSCONFIG showed no errors or problems. When I try to build the project, I get compiler errors for the generated source files.
subdir_rules.mk:35: recipe for target 'syscfg/ti_enet_soc.o' failed
syscfg/ti_enet_soc.c:117:45: error: use of undeclared identifier 'ICSSG_HOST_POOL_0_TOTAL_SIZE'
static uint8_t gEnetSoc_icssg0HostPoolMem_0[ICSSG_HOST_POOL_0_TOTAL_SIZE]
^
syscfg/ti_enet_soc.c:161:36: error: use of undeclared identifier 'ICSSG_DUALMAC_PORT_1_HOST_POOL_SIZE'
.hostBufferPoolSize = ICSSG_DUALMAC_PORT_1_HOST_POOL_SIZE,
^
syscfg/ti_enet_soc.c:162:36: error: use of undeclared identifier 'ICSSG_DUALMAC_PORT_1_HOST_BUFFER_POOL_NUM_CFG'
.hostBufferPoolNum = ICSSG_DUALMAC_PORT_1_HOST_BUFFER_POOL_NUM_CFG,
^
3 errors generated.
This is the ".syscfg" file.
/**
* These arguments were used when this file was generated. They will be automatically applied on subsequent loads
* via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments.
* @cliArgs --device "AM64x_beta" --package "ALV" --part "Default" --context "r5fss0-0" --product "MCU_PLUS_SDK_AM64x@08.06.00"
* @versions {"tool":"1.14.0+2667"}
*/
/**
* Import the modules used in this configuration.
*/
const eeprom = scripting.addModule("/board/eeprom/eeprom", {}, false);
const eeprom1 = eeprom.addInstance();
const i2c = scripting.addModule("/drivers/i2c/i2c", {}, false);
const i2c1 = i2c.addInstance();
const ipc = scripting.addModule("/drivers/ipc/ipc");
const mmcsd = scripting.addModule("/drivers/mmcsd/mmcsd", {}, false);
const mmcsd1 = mmcsd.addInstance();
const pruicss = scripting.addModule("/drivers/pruicss/pruicss", {}, false);
const pruicss1 = pruicss.addInstance();
const pruicss2 = pruicss.addInstance();
const debug_log = scripting.addModule("/kernel/dpl/debug_log");
const mpu_armv7 = scripting.addModule("/kernel/dpl/mpu_armv7", {}, false);
const mpu_armv71 = mpu_armv7.addInstance();
const mpu_armv72 = mpu_armv7.addInstance();
const mpu_armv73 = mpu_armv7.addInstance();
const mpu_armv74 = mpu_armv7.addInstance();
const mpu_armv75 = mpu_armv7.addInstance();
const mpu_armv76 = mpu_armv7.addInstance();
const mpu_armv77 = mpu_armv7.addInstance();
const mpu_armv78 = mpu_armv7.addInstance();
const mpu_armv79 = mpu_armv7.addInstance();
const enet_icss = scripting.addModule("/networking/enet_icss/enet_icss", {}, false);
const enet_icss1 = enet_icss.addInstance();
const enet_icss2 = enet_icss.addInstance();
/**
* Write custom configuration values to the imported modules.
*/
eeprom1.$name = "CONFIG_EEPROM0";
i2c1.$name = "CONFIG_I2C1";
eeprom1.peripheralDriver = i2c1;
i2c1.I2C.$assign = "I2C0";
i2c1.I2C.SCL.$assign = "ball.A18";
i2c1.I2C.SDA.$assign = "ball.B18";
ipc.r5fss0_1 = "notify";
ipc.r5fss1_0 = "NONE";
ipc.r5fss1_1 = "NONE";
ipc.m4fss0_0 = "NONE";
ipc.a53ss0_0 = "notify";
mmcsd1.$name = "CONFIG_MMCSD0";
mmcsd1.cardType = "SD";
mmcsd1.phyType = "NO_PHY";
mmcsd1.MMC1.$assign = "MMC1";
debug_log.enableCssLog = false;
debug_log.enableSharedMemLog = true;
mpu_armv71.$name = "CONFIG_MPU_REGION0";
mpu_armv71.size = 31;
mpu_armv71.attributes = "Device";
mpu_armv71.accessPermissions = "Supervisor RD+WR, User RD";
mpu_armv71.allowExecute = false;
mpu_armv72.$name = "CONFIG_MPU_REGION1";
mpu_armv72.size = 15;
mpu_armv72.accessPermissions = "Supervisor RD+WR, User RD";
mpu_armv73.$name = "CONFIG_MPU_REGION2";
mpu_armv73.baseAddr = 0x41010000;
mpu_armv73.size = 15;
mpu_armv73.accessPermissions = "Supervisor RD+WR, User RD";
mpu_armv74.$name = "CONFIG_MPU_REGION3";
mpu_armv74.accessPermissions = "Supervisor RD+WR, User RD";
mpu_armv74.baseAddr = 0x70000000;
mpu_armv74.size = 21;
mpu_armv75.$name = "CONFIG_MPU_REGION4";
mpu_armv75.accessPermissions = "Supervisor RD+WR, User RD";
mpu_armv75.baseAddr = 0x80000000;
mpu_armv75.size = 31;
mpu_armv76.$name = "CONFIG_MPU_REGION5";
mpu_armv76.accessPermissions = "Supervisor RD+WR, User RD";
mpu_armv76.baseAddr = 0xA5000000;
mpu_armv76.size = 23;
mpu_armv76.attributes = "NonCached";
mpu_armv77.$name = "CONFIG_MPU_REGION6";
mpu_armv77.size = 27;
mpu_armv77.baseAddr = 0x60000000;
mpu_armv78.$name = "CONFIG_MPU_REGION7";
mpu_armv78.baseAddr = 0x701C0000;
mpu_armv78.attributes = "NonCached";
mpu_armv78.size = 17;
mpu_armv79.$name = "CONFIG_MPU_REGION8";
mpu_armv79.baseAddr = 0xF0000000;
mpu_armv79.size = 28;
mpu_armv79.attributes = "NonCached";
enet_icss1.$name = "CONFIG_ENET_ICSS0";
enet_icss1.instance = "ICSSG0";
enet_icss1.mode = "DUAL MAC";
enet_icss1.txDmaChannel[0].$name = "ENET_DMA_TX_CH0";
enet_icss1.rxDmaChannel[0].$name = "ENET_DMA_RX_CH0";
enet_icss1.rxDmaChannel[0].useDefaultFlow = true;
enet_icss1.icss = pruicss1;
pruicss1.$name = "CONFIG_PRU_ICSS0";
pruicss1.AdditionalICSSSettings[0].$name = "CONFIG_PRU_ICSS_IO0";
enet_icss2.$name = "CONFIG_ENET_ICSS1";
enet_icss2.mode = "DUAL MAC";
enet_icss2.dualMacPortSelected = "ENET_MAC_PORT_2";
enet_icss2.txDmaChannel[0].$name = "ENET_DMA_TX_CH1";
enet_icss2.rxDmaChannel[0].$name = "ENET_DMA_RX_CH1";
enet_icss2.rxDmaChannel[0].useDefaultFlow = true;
enet_icss2.icss = pruicss2;
pruicss2.$name = "CONFIG_PRU_ICSS1";
pruicss2.AdditionalICSSSettings[0].$name = "CONFIG_PRU_ICSS_IO1";
const udma = scripting.addModule("/drivers/udma/udma", {}, false);
const udma1 = udma.addInstance({}, false);
enet_icss2.udmaDrv = udma1;
enet_icss1.udmaDrv = udma1;
/**
* Pinmux solution for unlocked pins/peripherals. This ensures that minor changes to the automatic solver in a future
* version of the tool will not impact the pinmux you originally saw. These lines can be completely deleted in order to
* re-solve from scratch.
*/
mmcsd1.MMC1.CLK.$suggestSolution = "ball.L20";
mmcsd1.MMC1.CLKLB.$suggestSolution = "MMC1_CLKLB";
mmcsd1.MMC1.CMD.$suggestSolution = "ball.J19";
mmcsd1.MMC1.DAT0.$suggestSolution = "ball.K21";
mmcsd1.MMC1.DAT1.$suggestSolution = "ball.L21";
mmcsd1.MMC1.DAT2.$suggestSolution = "ball.K19";
mmcsd1.MMC1.DAT3.$suggestSolution = "ball.K18";
mmcsd1.MMC1.SDCD.$suggestSolution = "ball.D19";
enet_icss1.PRU_ICSSG0_MDIO.$suggestSolution = "PRU_ICSSG0_MDIO0";
enet_icss1.PRU_ICSSG0_MDIO.MDC.$suggestSolution = "ball.P3";
enet_icss1.PRU_ICSSG0_MDIO.MDIO.$suggestSolution = "ball.P2";
enet_icss1.PRU_ICSSG0_IEP.$suggestSolution = "PRU_ICSSG0_IEP0";
enet_icss1.PRU_ICSSG0_IEP.EDC_LATCH_IN0.$suggestSolution = "ball.V1";
enet_icss1.PRU_ICSSG0_IEP.EDC_SYNC_OUT0.$suggestSolution = "ball.W1";
enet_icss1.PRU_ICSSG0_MII_G_RT.$suggestSolution = "PRU_ICSSG0_MII_G_RT";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII0_COL.$suggestSolution = "ball.W6";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII0_CRS.$suggestSolution = "ball.AA5";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII0_RXD0.$suggestSolution = "ball.Y1";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII0_RXD1.$suggestSolution = "ball.R4";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII0_RXD2.$suggestSolution = "ball.U2";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII0_RXD3.$suggestSolution = "ball.V2";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII0_RXDV.$suggestSolution = "ball.AA2";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII0_RXER.$suggestSolution = "ball.R3";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII0_RXLINK.$suggestSolution = "ball.T2";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII0_TXD0.$suggestSolution = "ball.Y3";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII0_TXD1.$suggestSolution = "ball.AA3";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII0_TXD2.$suggestSolution = "ball.R6";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII0_TXD3.$suggestSolution = "ball.V4";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII0_TXEN.$suggestSolution = "ball.T5";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII1_COL.$suggestSolution = "ball.Y5";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII1_CRS.$suggestSolution = "ball.V6";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII1_RXD0.$suggestSolution = "ball.Y2";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII1_RXD1.$suggestSolution = "ball.W2";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII1_RXD2.$suggestSolution = "ball.V3";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII1_RXD3.$suggestSolution = "ball.T4";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII1_RXDV.$suggestSolution = "ball.W3";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII1_RXER.$suggestSolution = "ball.P4";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII1_RXLINK.$suggestSolution = "ball.R1";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII1_TXD0.$suggestSolution = "ball.W4";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII1_TXD1.$suggestSolution = "ball.Y4";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII1_TXD2.$suggestSolution = "ball.T6";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII1_TXD3.$suggestSolution = "ball.U6";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII1_TXEN.$suggestSolution = "ball.U5";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII_MR0_CLK.$suggestSolution = "ball.T3";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII_MR1_CLK.$suggestSolution = "ball.R5";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII_MT0_CLK.$suggestSolution = "ball.U4";
enet_icss1.PRU_ICSSG0_MII_G_RT.MII_MT1_CLK.$suggestSolution = "ball.AA4";
enet_icss2.PRU_ICSSG1_MDIO.$suggestSolution = "PRU_ICSSG1_MDIO0";
enet_icss2.PRU_ICSSG1_MDIO.MDC.$suggestSolution = "ball.Y6";
enet_icss2.PRU_ICSSG1_MDIO.MDIO.$suggestSolution = "ball.AA6";
enet_icss2.PRU_ICSSG1_IEP.$suggestSolution = "PRU_ICSSG1_IEP0";
enet_icss2.PRU_ICSSG1_IEP.EDC_LATCH_IN0.$suggestSolution = "ball.V7";
enet_icss2.PRU_ICSSG1_IEP.EDC_SYNC_OUT0.$suggestSolution = "ball.W7";
enet_icss2.PRU_ICSSG1_MII_G_RT.$suggestSolution = "PRU_ICSSG1_MII_G_RT";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII0_COL.$suggestSolution = "ball.U15";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII0_CRS.$suggestSolution = "ball.U14";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII0_RXD0.$suggestSolution = "ball.Y7";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII0_RXD1.$suggestSolution = "ball.U8";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII0_RXD2.$suggestSolution = "ball.W8";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII0_RXD3.$suggestSolution = "ball.V8";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII0_RXDV.$suggestSolution = "ball.Y8";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII0_RXER.$suggestSolution = "ball.V13";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII0_RXLINK.$suggestSolution = "ball.W13";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII0_TXD0.$suggestSolution = "ball.AA8";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII0_TXD1.$suggestSolution = "ball.U9";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII0_TXD2.$suggestSolution = "ball.W9";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII0_TXD3.$suggestSolution = "ball.AA9";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII0_TXEN.$suggestSolution = "ball.Y9";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII1_COL.$suggestSolution = "ball.V14";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII1_CRS.$suggestSolution = "ball.W14";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII1_RXD0.$suggestSolution = "ball.W11";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII1_RXD1.$suggestSolution = "ball.V11";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII1_RXD2.$suggestSolution = "ball.AA12";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII1_RXD3.$suggestSolution = "ball.Y12";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII1_RXDV.$suggestSolution = "ball.W12";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII1_RXER.$suggestSolution = "ball.AA13";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII1_RXLINK.$suggestSolution = "ball.U12";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII1_TXD0.$suggestSolution = "ball.AA10";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII1_TXD1.$suggestSolution = "ball.V10";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII1_TXD2.$suggestSolution = "ball.U10";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII1_TXD3.$suggestSolution = "ball.AA11";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII1_TXEN.$suggestSolution = "ball.Y11";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII_MR0_CLK.$suggestSolution = "ball.AA7";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII_MR1_CLK.$suggestSolution = "ball.U11";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII_MT0_CLK.$suggestSolution = "ball.V9";
enet_icss2.PRU_ICSSG1_MII_G_RT.MII_MT1_CLK.$suggestSolution = "ball.Y10";
These are the sections of "ti_enet_soc.c" with errors.
Lines 116-122
/* --------------------------------- ICSS-G --------------------------------- */
static uint8_t gEnetSoc_icssg0HostPoolMem_0[ICSSG_HOST_POOL_0_TOTAL_SIZE]
__attribute__ ((aligned (ICSSG_CACHELINE_ALIGNMENT)));
static uint8_t gEnetSoc_icssg0HostQueueMem_0[ICSSG_HOST_QUEUE_TOTAL_SIZE]
__attribute__ ((aligned (ICSSG_CACHELINE_ALIGNMENT)));
static uint8_t gEnetSoc_icssg0ScratchMem_0[ICSSG_SCRATCH_BUFFER_SIZE]
__attribute__ ((aligned (ICSSG_CACHELINE_ALIGNMENT)));
Lines 152-173
static Icssg_FwPoolMem gEnetSoc_Icssg0_0_FwPoolMem[] =
{
[0] =
{
.portBufferPoolMem = NULL,
.portBufferPoolSize = 0U,
.portBufferPoolNum = 0U,
.hostBufferPoolMem = gEnetSoc_icssg0HostPoolMem_0,
.hostBufferPoolSize = ICSSG_DUALMAC_PORT_1_HOST_POOL_SIZE,
.hostBufferPoolNum = ICSSG_DUALMAC_PORT_1_HOST_BUFFER_POOL_NUM_CFG,
.hostEgressQueueMem = gEnetSoc_icssg0HostQueueMem_0,
.hostEgressQueueSize = ICSSG_DUALMAC_HOST_QUEUE_SIZE,
.hostEgressPreQueueMem = NULL,
.hostEgressPreQueueSize = ICSSG_PRE_QUEUE_TOTAL_SIZE,
.hostEgressQueueNum = ICSSG_DUALMAC_HOST_EGRESS_QUEUE_NUM,
.scratchBufferMem = gEnetSoc_icssg0ScratchMem_0,
.scratchBufferSize = ICSSG_SCRATCH_BUFFER_SIZE,
},
};
This is the information in "ti_enet_config.h".
Lines 42-117
/* ENET Pheriphel instance indexes. Name of ENET PHERIPHERAL can be changed in example syscfg */
/* Application should use the defines below when opening a ENET Driver */
#define CONFIG_ENET_ICSS0 (0U)
#define CONFIG_ENET_ICSS1 (1U)
#define ENET_SYSCFG_MAX_ENET_INSTANCES (2U)
#define ENET_SYSCFG_ICSSG0_ENABLED (1U)
#define ENET_SYSCFG_ICSSG1_ENABLED (0U)
#define ENET_SYSCFG_NUM_PERIPHERAL (2U)
#define ENET_SYSCFG_TOTAL_NUM_TX_PKT (32U)
#define ENET_SYSCFG_TOTAL_NUM_RX_PKT (64U)
#define ENET_SYSCFG_PKT_POOL_ENABLE (1U)
#define ENET_SYSCFG_PKT_INFO_ONLY_ENABLE (0U)
#define ENET_SYSCFG_MAC_PORT_2_QOS_LEVEL (8U)
#define ENET_SYSCFG_SWITCH_QOS_LEVEL (8U)
#define ENET_SYSCFG_PREMPTION_ENABLE (0U)
#define ENET_SYSCFG_ENABLE_GIGABIT (1U)
#define ENET_SYSCFG_DUAL_MAC (1U)
#define ENET_SYSCFG_DUALMAC_PORT1_ENABLED (1U)
#define ENET_SYSCFG_DUALMAC_PORT2_ENABLED (1U)
#define ENET_SYSCFG_MAX_MAC_PORTS (2U)
#define ENET_SYSCFG_ENABLE_EXTPHY (0U)
#define ENET_SYSCFG_RX_FLOWS_NUM (2U)
#define ENET_SYSCFG_RX_CHANNELS_NUM (1U + 0U)
#define ENET_SYSCFG_TX_CHANNELS_NUM (2U)
#define ENET_SYSCFG_RING_MON_NUM (3U) /*Not appicable for LCDMA devices*/
#define ENET_SYSCFG_ENABLE_MDIO_MANUALMODE (0U)
/*! \brief Number of external mac ports. */
#define ENET_SYSCFG_NUM_EXT_MAC_PORTS (2U)
/*! \brief Number of host buffer pools required for Dual-MAC. */
#define ICSSG_DUALMAC_PORT_2_HOST_BUFFER_POOL_NUM_CFG (ENET_SYSCFG_MAC_PORT_2_QOS_LEVEL)
#define ICSSG_SWITCH_HOST_BUFFER_POOL_NUM_CFG ((ENET_SYSCFG_NUM_EXT_MAC_PORTS + 1) * ENET_SYSCFG_SWITCH_QOS_LEVEL)
/* TX DMA Channel indexes. Name of TX DMA channel can be changed in example syscfg */
/* Application should use the define below when opening a Tx DMA channel */
#define CONFIG_ENET_ICSS0_TX_CH_START (0U)
#define ENET_DMA_TX_CH0 (0U)
#define CONFIG_ENET_ICSS0_TX_CH_COUNT (1U)
#define CONFIG_ENET_ICSS1_TX_CH_START (1U)
#define ENET_DMA_TX_CH1 (1U)
#define CONFIG_ENET_ICSS1_TX_CH_COUNT (1U)
/* RX DMA Channel indexes. Name of RX DMA channel can be changed in example syscfg */
/* Application should use the define below when opening a Rx DMA channel */
#define CONFIG_ENET_ICSS0_RX_CH_START (0U)
#define ENET_DMA_RX_CH0 (0U)
#define CONFIG_ENET_ICSS0_RX_CH_COUNT (1U)
#define CONFIG_ENET_ICSS1_RX_CH_START (1U)
#define ENET_DMA_RX_CH1 (1U)
#define CONFIG_ENET_ICSS1_RX_CH_COUNT (1U)
/* TX DMA max num packets allocated to the DMA channel */
/* Application should use the define below when opening a Tx DMA channel */
#define ENET_DMA_TX_CH0_NUM_PKTS (16U)
#define ENET_DMA_TX_CH1_NUM_PKTS (16U)
/* RX DMA DMA max num packets allocated to the DMA channel */
/* Application should use the define below when opening a Rx DMA channel */
#define ENET_DMA_RX_CH0_NUM_PKTS (32U)
#define ENET_DMA_RX_CH1_NUM_PKTS (32U)
/* NETIF indexes. Name of NETIF can be changed in example syscfg */
/* Application should use the define below when opening a NETIF */
#define ENET_SYSCFG_NETIF_COUNT (0U)
#define ENET_SYSCFG_DEFAULT_NETIF_IDX ()
/*
* Packet sizes for different pools. LARGE_POOL is largest packet size pool with MEDIUM_POOL
* second largest and SMALL_POOL smallest
*/
#define ENET_MEM_LARGE_POOL_PKT_SIZE ENET_UTILS_ALIGN(1536U, ENET_UTILS_CACHELINE_SIZE)
#define ENET_MEM_MEDIUM_POOL_PKT_SIZE ENET_UTILS_ALIGN(512U, ENET_UTILS_CACHELINE_SIZE)
#define ENET_MEM_SMALL_POOL_PKT_SIZE ENET_UTILS_ALIGN(128U, ENET_UTILS_CACHELINE_SIZE)