tech-net archive

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

Re: status of bpf_mtap()/bpf_mtap_softint() ?



On Tue, May 23, 2017 at 08:56:10AM -0400, Thor Lancelot Simon wrote:
> > thanks.
> > For CAN this is quite a bit of overhead. CAN controllers usually don't do
> > DMA and can handle only one packet at a time. This means one extra softint
> > per received packet, and eventually one extra softint per transmitted packet.
> 
> Is it possible to coalesce -- accumulate packets until a given count, or
> enough time passes, and then schedule the softint?

I guess this then requires a callout. It may be more overhead than
always scheduling the softint.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index