[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5319DCB5.1080104@freescale.com>
Date: Fri, 7 Mar 2014 16:50:29 +0200
From: Claudiu Manoil <claudiu.manoil@...escale.com>
To: <netdev@...r.kernel.org>
CC: "David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH net-next v2 2/2] gianfar: Use Single-Queue polling for
"fsl,etsec2"
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists