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 8585#endif /* ( ipconfigNETWORK_MTU > 1526 ) */
8686
8787#if ( USE_JUMBO_FRAMES == 1 )
88- #define dmaRX_TX_BUFFER_SIZE 10240
88+ #define dmaRX_TX_BUFFER_SIZE ( 10240 - ipBUFFER_PADDING )
8989#else
90- #define dmaRX_TX_BUFFER_SIZE 1536
90+ #define dmaRX_TX_BUFFER_SIZE ( 1536 - ipBUFFER_PADDING )
9191#endif /* ( USE_JUMBO_FRAMES == 1 ) */
9292
9393#if ( ipconfigULTRASCALE == 1 )
You can’t perform that action at this time.
0 commit comments