Re: [PATCH] ibmveth: Add function to enable live MAC address changes

2015-02-27 Thread David Miller
From: Thomas Falcon tlfal...@linux.vnet.ibm.com Date: Wed, 25 Feb 2015 18:34:24 -0600 Add a function that will enable changing the MAC address of an ibmveth interface while it is still running. Signed-off-by: Thomas Falcon tlfal...@linux.vnet.ibm.com --- drivers/net/ethernet/ibm/ibmveth.c

Re: [PATCH] ibmveth: Add function to enable live MAC address changes

2015-02-26 Thread Brian King
On 02/25/2015 06:34 PM, Thomas Falcon wrote: @@ -1327,6 +1327,24 @@ static unsigned long ibmveth_get_desired_dma(struct vio_dev *vdev) return ret; } +static int ibmveth_set_mac_addr(struct net_device *dev, void *p) +{ + struct ibmveth_adapter *adapter = netdev_priv(dev); +

Re: [PATCH] ibmveth: Add function to enable live MAC address changes

2015-02-26 Thread Jiri Pirko
Thu, Feb 26, 2015 at 02:08:06PM CET, brk...@linux.vnet.ibm.com wrote: On 02/25/2015 06:34 PM, Thomas Falcon wrote: @@ -1327,6 +1327,24 @@ static unsigned long ibmveth_get_desired_dma(struct vio_dev *vdev) return ret; } +static int ibmveth_set_mac_addr(struct net_device *dev, void *p)

[PATCH] ibmveth: Add function to enable live MAC address changes

2015-02-25 Thread Thomas Falcon
Add a function that will enable changing the MAC address of an ibmveth interface while it is still running. Signed-off-by: Thomas Falcon tlfal...@linux.vnet.ibm.com --- drivers/net/ethernet/ibm/ibmveth.c | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git