[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100907202445.GA11841@electric-eye.fr.zoreil.com>
Date: Tue, 7 Sep 2010 22:24:45 +0200
From: Francois Romieu <romieu@...zoreil.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: David Miller <davem@...emloft.net>, netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next-2.6] r8169: add gro support
Eric Dumazet <eric.dumazet@...il.com> :
> - Use napi_gro_receive() and vlan_gro_receive()
> - Enable GRO by default
>
> Tested on a RTL8111/8168 adapter
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
> CC: Francois Romieu <romieu@...zoreil.com>
[...]
> @@ -1076,7 +1076,12 @@ static int rtl8169_rx_vlan_skb(struct rtl8169_private *tp, struct RxDesc *desc,
> int ret;
>
> if (vlgrp && (opts2 & RxVlanTag)) {
> - __vlan_hwaccel_rx(skb, vlgrp, swab16(opts2 & 0xffff), polling);
> + u16 vtag = swab16(opts2 & 0xffff);
> +
> + if (polling)
if (likely(polling))
Otherwise Acked-by: Francois Romieu <romieu@...zoreil.com>
--
Ueimor
--
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