[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130123081408.2646fc4e@vostro>
Date: Wed, 23 Jan 2013 08:14:08 +0200
From: Timo Teras <timo.teras@....fi>
To: Francois Romieu <romieu@...zoreil.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] r8169: remove the obsolete and incorrect AMD
workaround
On Wed, 23 Jan 2013 01:05:41 +0100 Francois Romieu
<romieu@...zoreil.com> wrote:
> Timo Teräs <timo.teras@....fi> :
> [...]
>
> Acked-by: Francois Romieu <romieu@...zoreil.com>
>
> desc->opts2 is now a bit different in the RxRes path - the only path
> where the patch can be noticed. I hope it won't uncloak something
> else.
I was wondering what you mean by this. But as it seems
rtl8169_rx_vlan_tag() is doing opts2 = 0 in receive path. So the
only effect the workaround would have had was for the error path
packets.
So if this worries you, would it make sense to just unconditionally set
opts2 to zero also in the error path?
Actually, this sounds wrong. Why is rtl8169_rx_vlan_tag() which is
fiddling opts2 invoked *after* rtl8169_mark_to_asic() ? This means it
can overwrite the tag info if the queue is full.
- Timo
--
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