I am writing a driver to handle a network device on uClinux.
For reception of Ethernet frames, the interrupt handler receives the frame from the hardware, then it gets passed up and dealt with by the higher layers of the TCP/IP stack, so we do not have to do anything in user space.
The network device also sends and receives "control frames" which contain statistical information. When these interrupts are received, the same hardware reception procedure occurs (from a different buffer), but this time, we need to write a user space application that interprets the statistical information, and updates SNMP information.
How do we call a user space application from a kernel interrupt handler? Is that what I want to do or is there a better way? I think I am lacking an understanding of what the next step is after an interrupt handler executes?