Thread (8 messages) 8 messages, 4 authors, 2011-05-12

Re: [RFC PATCH v2] net: fold dev_disable_lro() into netdev_fix_features()

From: Stephen Hemminger <hidden>
Date: 2011-05-12 16:59:15
Also in: bridge

On Thu, 12 May 2011 17:29:07 +0100
Ben Hutchings [off-list ref] wrote:
quoted
 	dev->priv_flags |= IFF_BRIDGE_PORT;
 
-	dev_disable_lro(dev);
-
 	list_add_rcu(&p->list, &br->port_list);
 
-	netdev_update_features(br->dev);
+	netdev_change_features(dev);
 
 	spin_lock_bh(&br->lock);
 	changed_addr = br_stp_recalculate_bridge_id(br);  
Why netdev_change_features() here?  I thought that was primarily for use
when vlan_features may have been changed.
Setting IFF_BRIDGE_PORT in priv_flags causes change_features
to disable LRO.

-- 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help