[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140905.142917.1749731214890237469.davem@davemloft.net>
Date: Fri, 05 Sep 2014 14:29:17 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mugunthanvnm@...com
Cc: netdev@...r.kernel.org
Subject: Re: [net PATCH 1/1] drivers: net: cpsw: dual_emac: fix reducing of
rx descriptor during ifdown
From: Mugunthan V N <mugunthanvnm@...com>
Date: Wed, 3 Sep 2014 12:46:55 +0530
> On Wednesday 03 September 2014 12:24 AM, David Miller wrote:
>> Also this doesn't explain why the "status < 0" case applies to this
>> new logic, you have not explained that at all.
>>
>
> This scenario is not generated when "status < 0", "status < 0" happens
> when DMA is in tear-down mode, the above scenario happens when
> netif_running(ndev) is false which denotes that netdev is down already.
Your condition was:
if (status < 0 || !netif_running(ndev))
so this "scenerio" is being handled when status < 0, which is what
I am objecting to.
--
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