[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1306261869-7276-1-git-send-email-nhorman@tuxdriver.com>
Date: Tue, 24 May 2011 14:31:07 -0400
From: Neil Horman <nhorman@...driver.com>
To: netdev@...r.kernel.org
Cc: Neil Horman <nhorman@...driver.com>, davem@...emloft.net,
bhutchings@...arflare.com
Subject: net: enable dynamic lro disabling for vlans (v2)
Noted recently that, while physical devices have lro disabled when
attached to a bridge, vlan devices do not. This is because the vlan netdev has
no get/set flags method in its ethtool_ops struct. This series teaches
dev_disable_lro to recognize vlan interfaces and operate on the underlying
physical device instead.
Change notes:
v2) Rewrite of my origional solution As per Ben H.- instead of passing ethtool
command from the vlan device to the physical device, instead teach
dev_disable_lro to recognize vlans and operate on the underlying physical device
directly. This lets us avoid the various oddities of operating with ethtool on
a vlan device, and is more consice to boot.
Signed-off-by: Neil Horman <nhorman@...driver.com>
CC: davem@...emloft.net
CC: bhutchings@...arflare.com
--
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