[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130107.194011.1849511206295563088.davem@davemloft.net>
Date: Mon, 07 Jan 2013 19:40:11 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: zajec5@...il.com
Cc: netdev@...r.kernel.org, romieu@...zoreil.com, joe@...ches.com
Subject: Re: [PATCH V4] bgmac: driver for GBit MAC core on BCMA bus
From: Rafaİİ Miİİecki <zajec5@...il.com>
Date: Sun, 6 Jan 2013 01:20:09 +0100
> V4: stop queue when ring is full
You're still not doing it right.
> + if (free_slots == 1) { /* Should never happen (netif_stop_queue) */
> + bgmac_err(bgmac, "TX after stopping queue!\n");
> + return NETDEV_TX_BUSY;
> + }
You need to call netif_stop_queue() in this code path too.
Look more carefully at the drivers we asked you to use as
a model, they all do this properly.
--
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