Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1539816 > unrolled thread

[PATCH 2/5] net: ethernet: ti: cpsw: don't start queue twice

Started byIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
First post2016-12-10 13:30 +0100
Last post2016-12-10 23:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/5] net: ethernet: ti: cpsw: don't start queue twice Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> - 2016-12-10 13:30 +0100
    Re: [PATCH 2/5] net: ethernet: ti: cpsw: don't start queue twice David Miller <davem@davemloft.net> - 2016-12-10 23:40 +0100

#1539816 — [PATCH 2/5] net: ethernet: ti: cpsw: don't start queue twice

FromIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Date2016-12-10 13:30 +0100
Subject[PATCH 2/5] net: ethernet: ti: cpsw: don't start queue twice
Message-ID<sMOWR-2d6-5@gated-at.bofh.it>
No need to start queues after cpsw is started as it will be done
while cpsw_adjust_link(), after phy connection.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
---
 drivers/net/ethernet/ti/cpsw.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index c45f7d2..23213a3 100644
--- a/drivers/net/ethernet/ti/cpsw.c
+++ b/drivers/net/ethernet/ti/cpsw.c
@@ -1506,8 +1506,6 @@ static int cpsw_ndo_open(struct net_device *ndev)
 	if (cpsw->data.dual_emac)
 		cpsw->slaves[priv->emac_port].open_stat = true;
 
-	netif_tx_start_all_queues(ndev);
-
 	return 0;
 
 err_cleanup:
-- 
2.7.4

[toc] | [next] | [standalone]


#1539925

FromDavid Miller <davem@davemloft.net>
Date2016-12-10 23:40 +0100
Message-ID<sMYtc-7Xq-11@gated-at.bofh.it>
In reply to#1539816
From: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Date: Sat, 10 Dec 2016 14:23:47 +0200

> No need to start queues after cpsw is started as it will be done
> while cpsw_adjust_link(), after phy connection.
> 
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>

Applied.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web