[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110702095138.GA4736@electric-eye.fr.zoreil.com>
Date: Sat, 2 Jul 2011 11:51:38 +0200
From: Francois Romieu <romieu@...zoreil.com>
To: Shan Wei <shanwei@...fujitsu.com>
Cc: David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Alexey Dobriyan <adobriyan@...il.com>, tj@...nel.org
Subject: Re: [PATCH] net: 8139too: Initial necessary vlan_features to support vlan
Shan Wei <shanwei@...fujitsu.com> :
> Offload setting of vlan device requires
> vlan_features to be initialed.
[...]
> @@ -993,6 +993,7 @@ static int __devinit rtl8139_init_one (struct pci_dev *pdev,
> * features
> */
> dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_HIGHDMA;
> + dev->vlan_features = dev->features;
/* note: the hardware is not capable of sg/csum/highdma, however
* through the use of skb_copy_and_csum_dev we enable these
* features
*/
The commit message is a bit misleading wrt hardware capabilities but the
patch makes sense.
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