Re: [PATCH 1/2] net: macb: Include multi queue support for xilinx ZynqMP ethernet version

From: Nicolas Ferre
Date: Fri Mar 06 2015 - 11:48:58 EST


Le 05/03/2015 15:00, Michal Simek a écrit :
> Hi Nicolas,
>
> On 03/05/2015 02:04 PM, Michal Simek wrote:
>> From: Punnaiah Choudary Kalluri <punnaiah.choudary.kalluri@xxxxxxxxxx>
>>
>> Include multi queue support for the ethernet IP version in xilinx ZynqMP
>> SoC.
>>
>> Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xxxxxxxxxx>
>> Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx>
>> ---
>>
>> drivers/net/ethernet/cadence/macb.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c
>> index ad76b8e35a00..24b1eb466e52 100644
>> --- a/drivers/net/ethernet/cadence/macb.c
>> +++ b/drivers/net/ethernet/cadence/macb.c
>> @@ -2192,7 +2192,7 @@ static void macb_probe_queues(void __iomem *mem,
>>
>> /* is it macb or gem ? */
>> mid = __raw_readl(mem + MACB_MID);
>> - if (MACB_BFEXT(IDNUM, mid) != 0x2)
>> + if (MACB_BFEXT(IDNUM, mid) < 0x2)
>> return;
>>
>> /* bit 0 is never set but queue 0 always exists */
>>
>
> Can you please check this?
> (There will be definitely v2 because I forget to base it on net-next).

Michal,

It seems correct to me: you can add my:
Acked-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>

Bye,
--
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/