daniel-p-carvalho commented on code in PR #20237: URL: https://github.com/apache/nuttx/pull/20237#discussion_r4077831604
########## arch/arm/src/stm32h7/stm32_ethernet.c: ########## @@ -360,6 +360,10 @@ #define DMA_ALIGN_UP(n) (((n) + DMA_BUFFER_MASK) & ~DMA_BUFFER_MASK) #define DMA_ALIGN_DOWN(n) ((n) & ~DMA_BUFFER_MASK) +/* Ethertype of PTP over Ethernet, that the packet sockets consume */ + +#define STM32_ETHTYPE_PTP 0x88f7 Review Comment: Done, added `ETH_P_1588` (0x88F7) to `include/netinet/if_ether.h`, next to `ETH_P_TSN`, and used it here instead of the local define. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
