Commit 4a633a60 authored by Matt Wilson's avatar Matt Wilson Committed by David S. Miller
Browse files

xen-netback: allow changing the MAC address of the interface

Sometimes it is useful to be able to change the MAC address of the
interface for netback devices. For example, when using ebtables it may
be useful to be able to distinguish traffic from different interfaces
without depending on the interface name.

Reported-by: default avatarNikita Borzykh <>
Reported-by: default avatarPaul Harvey <>
Cc: Konrad Rzeszutek Wilk <>
Acked-by: default avatarIan Campbell <>
Signed-off-by: default avatarMatt Wilson <>
Reviewed-by: default avatarKonrad Rzeszutek Wilk <>
Signed-off-by: default avatarDavid S. Miller <>
parent e39363a9
......@@ -238,6 +238,8 @@ static const struct net_device_ops xenvif_netdev_ops = {
.ndo_stop = xenvif_close,
.ndo_change_mtu = xenvif_change_mtu,
.ndo_fix_features = xenvif_fix_features,
.ndo_set_mac_address = eth_mac_addr,
.ndo_validate_addr = eth_validate_addr,
struct xenvif *xenvif_alloc(struct device *parent, domid_t domid,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment