Subject: Re: [PATCH net-next v2 2/2] gianfar: Use Single-Queue polling for "fsl,etsec2"

From: Claudiu Manoil <[email-masked]>
Date: Fri, 7 Mar 2014 16:50:29 +0200

On 3/7/2014 2:42 PM, Claudiu Manoil wrote:
[...]
> @@ -723,9 +737,22 @@ static int gfar_of_init(struct platform_device *ofdev, struct net_device **pdev)
>   	if (!np || !of_device_is_available(np))
>   		return -ENODEV;
>
> -	/* parse the num of tx and rx queues */
> +	/* parse the num of HW tx and rx queues */
>   	tx_queues = (u32 *)of_get_property(np, "fsl,num_tx_queues", NULL);
> -	num_tx_qs = tx_queues ? *tx_queues : 1;
> +	rx_queues = (u32 *)of_get_property(np, "fsl,num_rx_queues", NULL);
> +
> +	if (priv->mode == SQ_SG_MODE) {

priv->mode not known at this point.
The checks to limit the number of supported queues
are not trivial (awkward DT structure).

I'm recalling this patch for now. Sorry.