tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Deferred if_start

On Fri, Dec 2, 2016 at 6:32 PM, Joerg Sonnenberger <> wrote:
> On Fri, Dec 02, 2016 at 04:07:24PM +0900, Ryota Ozaki wrote:
>> We need it for MP-ification of bpf because some drivers call
>> if_start (or equivalent, say drvX_start) from hardware
>> interrupt, which means that bpf_mtap is also called from
>> hardware interrupt. That makes MP-ification hard.
> What is the reason for bpf_mtap to fail in hardware interrupt context?

Because we can use only spin mutex.

> I really don't like this requirement change.



Home | Main Index | Thread Index | Old Index