wengzhe opened a new pull request, #8753:
URL: https://github.com/apache/nuttx/pull/8753

   ## Summary
   Enhance NET_PKT functionality, in order to support 
https://github.com/apache/nuttx-apps/pull/1635
   
   Patches included:
   - mm/iob: Support neg offset in iob_clone 
   - net/pkt: Add readahead queue for pkt, call input for tx on sim
     - Without readahead queue, we may miss lots of packets, so add one with 
throttled IOB cloning.
     - On linux, tx packets will also be put into `packet_rcv` from 
`dev_queue_xmit_nit`, so we need to call pkt_input for tx packet too, otherwise 
we cannot capture them.
       - However, our current code structure may generate tx packets in both 
poll and reply, so the common place to put pkt_input might be the transmit 
function in netdriver.
       - Other net devices may need to do the same modify in order to capture 
tx packets like sim.
   
   ## Impact
   Enhance NET_PKT functionality, in order to support 
https://github.com/apache/nuttx-apps/pull/1635
   
   ## Testing
   Manually, CI
   
   


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