From: Ian Campbell <ian.campbell@citrix.com>
To: xen-devel@lists.xensource.com
Cc: jeremy@goop.org, Ian Campbell <ian.campbell@citrix.com>
Subject: [PATCH] xen/netback: add {set, validate}_mac_address ops
Date: Wed, 15 Dec 2010 10:36:00 +0000 [thread overview]
Message-ID: <1292409360-7196-1-git-send-email-ian.campbell@citrix.com> (raw)
In-Reply-To: <#>
use the default implementation.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
drivers/xen/netback/interface.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/xen/netback/interface.c b/drivers/xen/netback/interface.c
index 2e8508a..6532fe0 100644
--- a/drivers/xen/netback/interface.c
+++ b/drivers/xen/netback/interface.c
@@ -252,11 +252,13 @@ static struct ethtool_ops network_ethtool_ops =
static struct net_device_ops netback_ops =
{
- .ndo_start_xmit = netif_be_start_xmit,
- .ndo_get_stats = netif_be_get_stats,
- .ndo_open = net_open,
- .ndo_stop = net_close,
- .ndo_change_mtu = netbk_change_mtu,
+ .ndo_start_xmit = netif_be_start_xmit,
+ .ndo_get_stats = netif_be_get_stats,
+ .ndo_open = net_open,
+ .ndo_stop = net_close,
+ .ndo_change_mtu = netbk_change_mtu,
+ .ndo_set_mac_address = eth_mac_addr,
+ .ndo_validate_addr = eth_validate_addr,
};
struct xen_netif *netif_alloc(struct device *parent, domid_t domid, unsigned int handle)
--
1.5.6.5
parent reply other threads:[~2010-12-15 10:36 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <#>]
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=1292409360-7196-1-git-send-email-ian.campbell@citrix.com \
--to=ian.campbell@citrix.com \
--cc=jeremy@goop.org \
--cc=xen-devel@lists.xensource.com \
/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).