xiaoxiang781216 commented on code in PR #20237:
URL: https://github.com/apache/nuttx/pull/20237#discussion_r4067690053


##########
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:
   why not move to public  head file and rename to ETH_P_1588 



-- 
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]

Reply via email to