anchao commented on code in PR #7616: URL: https://github.com/apache/incubator-nuttx/pull/7616#discussion_r1027227906
########## net/devif/devif_poll.c: ########## @@ -616,12 +616,71 @@ static inline int devif_poll_tcp_connections(FAR struct net_driver_s *dev, # define devif_poll_tcp_connections(dev, callback) (0) #endif +/**************************************************************************** + * Name: devif_poll_callback + * + * Description: + * This function will help us to gather multiple iob memory slices into a + * linear device buffer. if devices with small memory, this function will + * trigger a memory copy if net device start transmit the iob slices to + * flat buffer + * + ****************************************************************************/ + +static int devif_poll_callback(FAR struct net_driver_s *dev) +{ + FAR struct iob_s *iob; + uint16_t llhdrlen; + int bstop = false; Review Comment: Just follow the current style, I think it can be changed uniformly in the next PR -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org