[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48DC11F5.20900@redhat.com>
Date: Thu, 25 Sep 2008 18:34:29 -0400
From: Chris Snook <csnook@...hat.com>
To: Jeff Garzik <jeff@...zik.org>
CC: Kevin Hao <kexin.hao@...driver.com>,
Jeff Garzik <jgarzik@...hat.com>,
Jay Cliburn <jacliburn@...lsouth.net>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: remove LLTX in atl2 driver
Jeff Garzik wrote:
> Chris Snook wrote:
>> Kevin Hao wrote:
>>> When NETIF_F_LLTX is set, the atlx driver will use a private lock.
>>> But in recent kernels this implementation seems redundant and
>>> can cause problems where AF_PACKET sees things twice. Since
>>> NETIF_F_LLTX is marked as deprecated and shouldn't be used in
>>> new driver, this patch removes NETIF_F_LLTX and adds a mmiowb
>>> before sending packet.
>>>
>>> Signed-off-by: Kevin Hao <kexin.hao@...driver.com>
>>
>> Can you explain a bit more concretely the problem this solves, and
>> your testing? Ultimately we'll want to merge this code with the atl1
>> code, so we need to be confident that we can and should make the same
>> change there.
>>
>> -- Chris
>>
>>> ---
>>> drivers/net/atlx/atl2.c | 24 +-----------------------
>>> drivers/net/atlx/atl2.h | 1 -
>>> 2 files changed, 1 insertions(+), 24 deletions(-)
>
> Not directly addressing your question, but LLTX is indeed deprecated and
> in general we want to move away from it.
>
> Jeff
I'm all in favor of removing legacy cruft. I want to know a little more about
it so we can remove it from the atl1 code as well. Ultimately most of this will
be shared code.
-- Chris
--
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