On 23/01/20(Thu) 13:38, Mark Kettenis wrote:
> Martin Pieuchot schreef op 2020-01-23 11:28:
> > [...] 
> > We currently have 6 drivers using pci_intr_map_msix().  Since we want to
> > be able to specify a CPU should we introduce a new function like in the
> > diff below or do we prefer to add a new argument (cpuid_t?) to this one?
> > This change in itself should already allow us to proceed with the first
> > item of the above list.
> 
> I'm not sure you want to have the driver pick the CPU to which to assign the
> interrupt.  In fact I think that doesn't make sense at all.  The CPU
> should be picked by more generic code instead.  But perhaps we do need to
> pass a hint from the driver to that code.

We are heading towards running multiple softnet threads.  What should
be the relation, if any, between a RX interrupt handler, the CPU
executing it and the softnet thread being scheduled to process the
packets?  If such relation makes sense, what kind of hint do we need
to represent it?

Reply via email to