netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: mugunthanvnm@ti.com, netdev@vger.kernel.org
Subject: Re: [PATCH v5 0/2] Adding new TI Common Platform ethernet SWitch driver
Date: Tue, 20 Mar 2012 00:34:32 -0400 (EDT)	[thread overview]
Message-ID: <20120320.003432.1209101307544723187.davem@davemloft.net> (raw)
In-Reply-To: <1332216396.22737.29.camel@edumazet-glaptop>

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Mon, 19 Mar 2012 21:06:36 -0700

> For an ethernet driver, using eth_change_mtu seems the right thing.

I just tossed that into the tree, as follows:

--------------------
[PATCH] cpsw: Hook up default ndo_change_mtu.

Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
---
 drivers/net/ethernet/ti/cpsw.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index c68c9d9..6685bbb 100644
--- a/drivers/net/ethernet/ti/cpsw.c
+++ b/drivers/net/ethernet/ti/cpsw.c
@@ -665,6 +665,7 @@ static const struct net_device_ops cpsw_netdev_ops = {
 	.ndo_start_xmit		= cpsw_ndo_start_xmit,
 	.ndo_change_rx_flags	= cpsw_ndo_change_rx_flags,
 	.ndo_validate_addr	= eth_validate_addr,
+	.ndo_change_mtu		= eth_change_mtu,
 	.ndo_tx_timeout		= cpsw_ndo_tx_timeout,
 	.ndo_get_stats		= cpsw_ndo_get_stats,
 #ifdef CONFIG_NET_POLL_CONTROLLER
-- 
1.7.7.6

      reply	other threads:[~2012-03-20  4:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-19  6:17 [PATCH v5 0/2] Adding new TI Common Platform ethernet SWitch driver Mugunthan V N
2012-03-19  6:17 ` [PATCH v5 1/2] netdev: driver: ethernet: add cpsw address lookup engine support Mugunthan V N
2012-03-19  6:17 ` [PATCH v5 2/2] netdev: driver: ethernet: Add TI CPSW driver Mugunthan V N
2012-03-19 22:06 ` [PATCH v5 0/2] Adding new TI Common Platform ethernet SWitch driver David Miller
2012-03-20  4:06   ` Eric Dumazet
2012-03-20  4:34     ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120320.003432.1209101307544723187.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=mugunthanvnm@ti.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).