[dpdk-users] LSC interrupt thread and normal thread

Gadre Nayan gadrenayan at gmail.com
Thu Apr 28 13:07:16 CEST 2016


Hi,

I have a doubt regarding the LSC interrupt context and normal thread context.

The guide states that: the callback function of the LSC interrupt:

This function should be implemented with care since it will be called
in the interrupt host thread, which is different from the main thread
of its caller.

So suppose I want to propagate an event to signify a link state
change, can I directly call an ioctl to the driver which will then
propagate using netlink to userspace ?

Are the special considerations for the interrupt host thread same as
the considerations for interrupt context and SOFTIRQ in linux kernel ?

Thanks.


More information about the users mailing list