Kais Belgaied wrote:
> deepti dhokte - Sun Microsystems - Menlo Park United States wrote:
>>>
>>> It is both driver and system dependent.
>>> The preference is to the finest level of granularity of course,
>>> which is an interrupt per ring.
>>>
>>>
>> I think, that would be complex and I don't see how useful.?
>
> when rings are assigned to sub-flows, we want to toggle the interrupts
> on/off rings
> independently, and poll packets off them individually.
>
> Even with interrupt-only mode, the interrupts from different rings can
> be spread to multiple CPUs.
understood. it's good that many corner cases as well are very well taken
care of.
-Deepti
>> cause, purpose of grouping would be to load-balance same traffic.
>>
>> although, I see your point that as we don't have correct way of knowing
>> which ring of the group got packet to be drained up, individual
>> interrupt
>> per ring is the finer knowledge.
>> But again as per my above comment in earlier paragraph , it's likely
>> that
>> each ring of the group would always have some packet
>> also, grouping will be used in heavy network situations.
>
> Kais