[ofa-general][PATCH] Re: mlx4: Completion EQ per cpu (MP support, Patch 10)

Hoang-Nam Nguyen HNGUYEN at de.ibm.com
Tue Apr 29 08:40:52 PDT 2008


Hi Roland!
>> Each CQ is attached to an EQ and receives its completion interrupts from
that EQ.
>>
>> CQ and EQ are not per port.
>>
>> Implementing this in in device layer allows all ULP's to use the
feature.
>> We do not expose EQ allocation API, because there is no point creating
more EQs
>> then CPUs.
>CQ are not per port but netdevices are bounded to port (its correct that
>few of them can be bounded to the same port, eg with different PKEYs or
>VLAN tags), maybe it worth thinking on API that either let the ULP
>dictate to what CPU/core they want the EQ serving this CQ direct its
>interrupts or if the ULP doesn't care, let the driver allocate that in
>round robin fashion.
We've had some ehca code doing round robin scheme, which is an ehca
specific
policy.
Do you have any thoughts on the approach you want to pursue?
Will it be 2.6.26 or 2.6.27 instead?
Thanks
Nam




More information about the general mailing list