xen-netback: allow changing the MAC address of the interface
Subsystems (3)
PATCH v2 1/1 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.
---
Changes since v1:
* No code changes, only updated commit message
--- drivers/net/xen-netback/interface.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/xen-netback/interface.c +2 -0
@@ -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,
Signature · 1 line
1.7.4.5
Quoted 10 lines · Matt Wilson
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 Nikita Borzykh <[email protected]>Reported-by Paul Harvey <[email protected]>Cc Konrad Rzeszutek Wilk <[email protected]>
Quoted 26 lines
Acked-by Ian Campbell <[email protected]>Signed-off-by Matt Wilson <[email protected]>---
Changes since v1:
* No code changes, only updated commit message--- drivers/net/xen-netback/interface.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)drivers/net/xen-netback/interface.c +2
-0@@ -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,Signature · 1 line
1.7.4.5
Quoted 10 lines · Matt Wilson
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 Nikita Borzykh <[email protected]>Reported-by Paul Harvey <[email protected]>Cc Konrad Rzeszutek Wilk <[email protected]>
Quoted 26 lines
Acked-by Ian Campbell <[email protected]>Signed-off-by Matt Wilson <[email protected]>---
Changes since v1:
* No code changes, only updated commit message--- drivers/net/xen-netback/interface.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)drivers/net/xen-netback/interface.c +2
-0@@ -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,Signature · 1 line
1.7.4.5
From: Matt Wilson <[email protected]>
Date: Tue, 22 Jan 2013 18:08:25 +0000
Quoted 5 lines
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.
Quoted 7 lines
Reported-by Nikita Borzykh <[email protected]>Reported-by Paul Harvey <[email protected]>Cc Konrad Rzeszutek Wilk <[email protected]>Acked-by Ian Campbell <[email protected]>Signed-off-by Matt Wilson <[email protected]>
Applied to net-next, thanks.
From: Matt Wilson <[email protected]>
Date: Tue, 22 Jan 2013 18:08:25 +0000
Quoted 5 lines
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.
Quoted 7 lines
Reported-by Nikita Borzykh <[email protected]>Reported-by Paul Harvey <[email protected]>Cc Konrad Rzeszutek Wilk <[email protected]>Acked-by Ian Campbell <[email protected]>Signed-off-by Matt Wilson <[email protected]>
Applied to net-next, thanks.