Patchwork bridge: Allow enable/disable UFO on bridge device via ethtool

login
register
mail settings
Submitter Sridhar Samudrala
Date Oct. 7, 2009, 10:41 p.m.
Message ID <1254955277.31575.208.camel@w-sridhar.beaverton.ibm.com>
Download mbox | patch
Permalink /patch/35393/
State Accepted
Delegated to: David Miller
Headers show

Comments

Sridhar Samudrala - Oct. 7, 2009, 10:41 p.m.
Allow enable/disable UFO on bridge device via ethtool

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Oct. 8, 2009, 5:01 a.m.
From: Sridhar Samudrala <sri@us.ibm.com>
Date: Wed, 07 Oct 2009 15:41:17 -0700

> Allow enable/disable UFO on bridge device via ethtool
> 
> Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c
index 07a0777..1a99c4e 100644
--- a/net/bridge/br_device.c
+++ b/net/bridge/br_device.c
@@ -157,6 +157,7 @@  static const struct ethtool_ops br_ethtool_ops = {
 	.get_tso	= ethtool_op_get_tso,
 	.set_tso	= br_set_tso,
 	.get_ufo	= ethtool_op_get_ufo,
+	.set_ufo	= ethtool_op_set_ufo,
 	.get_flags	= ethtool_op_get_flags,
 };