[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201005281619.33845.matthias.fuchs@esd.eu>
Date: Fri, 28 May 2010 16:19:33 +0200
From: Matthias Fuchs <matthias.fuchs@....eu>
To: Oliver Neukum <oneukum@...e.de>
Cc: netdev@...r.kernel.org, Socketcan-core@...ts.berlios.de,
linux-usb@...r.kernel.org
Subject: Re: [PATCH v3] can: Add driver for esd CAN-USB/2 device
On Wednesday 26 May 2010 15:47, Oliver Neukum wrote:
> Am Mittwoch, 26. Mai 2010 11:14:03 schrieb Matthias Fuchs:
> > + netdev->trans_start = jiffies;
> > +
> > + /* Slow down tx path */
> > + if (atomic_read(&priv->active_tx_jobs) >= MAX_TX_URBS)
> > + netif_stop_queue(netdev);
>
> Where is the queue started again?
>
> Regards
> Oliver
This is done in the ack-patch for sent messages:
static void esd_usb2_tx_done_msg(struct esd_usb2_net_priv *priv,
struct esd_usb2_msg *msg)
{
...
atomic_dec(&priv->active_tx_jobs);
netif_wake_queue(netdev);
}
Matthias
--
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