File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
source/portable/NetworkInterface Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8989#endif
9090#define TX_OFFSET ipconfigPACKET_FILLER_SIZE
9191
92- #define dmaRX_TX_BUFFER_SIZE 1536
92+ #define dmaRX_TX_BUFFER_SIZE ( 1536 - ipBUFFER_PADDING )
9393
9494/* Defined in NetworkInterface.c */
9595extern TaskHandle_t xEMACTaskHandles [ XPAR_XEMACPS_NUM_INSTANCES ];
Original file line number Diff line number Diff line change 6868#endif /* ( ipconfigNETWORK_MTU > 1526 ) */
6969
7070#if ( USE_JUMBO_FRAMES == 1 )
71- #define dmaRX_TX_BUFFER_SIZE 10240
71+ #define dmaRX_TX_BUFFER_SIZE ( 10240 - ipBUFFER_PADDING )
7272#else
73- #define dmaRX_TX_BUFFER_SIZE 1536
73+ #define dmaRX_TX_BUFFER_SIZE ( 1536 - ipBUFFER_PADDING )
7474#endif /* ( USE_JUMBO_FRAMES == 1 ) */
7575
7676extern XScuGic xInterruptController ;
You can’t perform that action at this time.
0 commit comments