xen/netback: add {set, validate}_mac_address ops
PATCH 1/1 xen/netback: add {set, validate}_mac_address ops
use the default implementation.
Signed-off-by Ian Campbell <[email protected]>
--- drivers/xen/netback/interface.c | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-)
drivers/xen/netback/interface.c +7 -5
@@ -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)
Signature · 1 line
1.5.6.5