Hi,
I'm looking on the ethernet code in MQX. I found the following structure definition:
typedef struct enet_param_struct {
const ENET_IF_STRUCT *ENET_IF;
ENET_mode MODE;
uint32_t OPTIONS;
uint16_t NUM_TX_ENTRIES;
uint16_t NUM_TX_BUFFERS;
uint16_t TX_BUFFER_SIZE;
uint16_t NUM_RX_ENTRIES;
uint16_t NUM_RX_BUFFERS;
uint16_t RX_BUFFER_SIZE;
uint16_t NUM_RX_PCBS;
uint16_t NUM_SMALL_BUFFERS;
uint16_t NUM_LARGE_BUFFERS;
void *MAC_PARAM;
} ENET_PARAM_STRUCT, * ENET_PARAM_STRUCT_PTR;
Can anybody tell me what is a PCB?
Beacuse I don´t know what is NUM_RX_PCBS for.
Thank you very much.
Oscar.
Solved! Go to Solution.
Hi Oscar,
In KSDK_1.1.0 please read:
C:\Freescale\KSDK_1.1.0\rtos\mqx\doc\rtcs\Freescale MQX RTOS RTCS User's Guide.pdf
In MQX4.1.1 please read:
C:\Freescale\Freescale_MQX_4_1_1_GA\doc\rtcs\MQX_RTCS_User_Guide.pdf
The PCB stands for Packet Control Block that RTCS uses internally. The default value is 4 and RTCSPCBmax can be changed to increase or decrease the number created.
Regards,
David
Hi Oscar,
In KSDK_1.1.0 please read:
C:\Freescale\KSDK_1.1.0\rtos\mqx\doc\rtcs\Freescale MQX RTOS RTCS User's Guide.pdf
In MQX4.1.1 please read:
C:\Freescale\Freescale_MQX_4_1_1_GA\doc\rtcs\MQX_RTCS_User_Guide.pdf
The PCB stands for Packet Control Block that RTCS uses internally. The default value is 4 and RTCSPCBmax can be changed to increase or decrease the number created.
Regards,
David
Hi David,
Thanks a lot!
Regards,
Oscar.