Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Sending down packets from separate thread: Page 1 of 9 (9 Items)
   
Sending down packets from separate thread  
Hi,

in io-net it was possible to register a filter/module which would
create a thread that could receive packets via ipc and then
send these down to the driver. The thread would receive the packet,
allocate an npkt, copy the data into it, register to have the npkt
freed using reg_tx_done and then call tx_down which would send the
packet down to the driver.

In io-pkt I wonder if this is feasible? We want to use ipc and not
socket. Sending packets down in io-pkt seems to be limited to work
threads only and it looks like there is no way of allocating mbufs for
non-work threads.

Registering a callout which would run in work-thread context and
thus would be able to allocate mbufs, unfortunately can only be
triggered every 8.39 ms and so it is too slow for our needs.

Thankful for any help or ideas,
Peter Engstrom
Prisma Engineering