All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/9] support unique MAC addresses for slave devices
@ 2017-04-27 14:51 Marco Chiappero
  2017-04-27 14:51 ` [PATCH net-next 1/9] ipvlan: fix coding style for the ipvlan tree Marco Chiappero
                   ` (9 more replies)
  0 siblings, 10 replies; 27+ messages in thread
From: Marco Chiappero @ 2017-04-27 14:51 UTC (permalink / raw)
  To: netdev
  Cc: David S . Miller, Jeff Kirsher, Alexander Duyck, Sainath Grandhi,
	Mahesh Bandewar, Marco Chiappero

Currently every slave device gets assigned the same MAC address, by
having it copied from the master interface. Since some code paths
depend on this identity, changing the MAC address on slave interfaces
is not supported. However identical MAC addresses can pose problems to
management and orchestration software that correctly expect network
interfaces on the same segment to have unique addresses.

Patches 1-8 include style fixes and refactoring (patch 9 depends upon)
that improve the overal quality and make the intruduction of the
feature straightforward.

Patch 9 enables slave devices to own unique MAC addresses and change
such addresses live, fixing lack of support and a related bug, as
MAC address changes on master were not propagated to slave devices.
In order to preserve the main peculiarity of this driver, that is
exposing only a single MAC address for outbound traffic, frames
egressing from master are now effectively masquerated when working in
L2 mode.

Marco Chiappero (9):
  ipvlan: fix coding style for the ipvlan tree
  ipvlan: refactor ipvlan_process_multicast for readability
  ipvlan: replace ipvlan_rcv_frame
  ipvlan: rework the IP lookup function
  ipvlan: improve and uniform naming
  ipvlan: reposition three functions
  ipvlan: relocate ipvlan_skb_crossing_ns calls
  ipvlan: improve compiler hints
  ipvlan: introduce individual MAC addresses

 drivers/net/ipvlan/ipvlan.h      |   2 +-
 drivers/net/ipvlan/ipvlan_core.c | 592 ++++++++++++++++++++-------------------
 drivers/net/ipvlan/ipvlan_main.c |  49 ++--
 drivers/net/ipvlan/ipvtap.c      |   1 +
 4 files changed, 333 insertions(+), 311 deletions(-)

-- 
2.9.3

--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2017-05-09 18:41 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-27 14:51 [PATCH net-next 0/9] support unique MAC addresses for slave devices Marco Chiappero
2017-04-27 14:51 ` [PATCH net-next 1/9] ipvlan: fix coding style for the ipvlan tree Marco Chiappero
2017-04-27 14:51 ` [PATCH net-next 2/9] ipvlan: refactor ipvlan_process_multicast for readability Marco Chiappero
2017-04-27 14:51 ` [PATCH net-next 3/9] ipvlan: replace ipvlan_rcv_frame Marco Chiappero
2017-04-27 14:51 ` [PATCH net-next 4/9] ipvlan: rework the IP lookup function Marco Chiappero
2017-04-27 14:51 ` [PATCH net-next 5/9] ipvlan: improve and uniform naming Marco Chiappero
2017-04-27 14:51 ` [PATCH net-next 6/9] ipvlan: reposition three functions Marco Chiappero
2017-04-27 14:51 ` [PATCH net-next 7/9] ipvlan: relocate ipvlan_skb_crossing_ns calls Marco Chiappero
2017-04-27 14:51 ` [PATCH net-next 8/9] ipvlan: improve compiler hints Marco Chiappero
2017-04-27 15:21   ` Duyck, Alexander H
2017-04-27 15:27     ` David Laight
2017-04-27 16:05     ` David Miller
2017-04-27 14:51 ` [PATCH net-next 9/9] ipvlan: introduce individual MAC addresses Marco Chiappero
2017-04-27 16:20   ` Dan Williams
2017-04-27 16:23     ` Dan Williams
2017-05-02 15:08       ` Chiappero, Marco
2017-05-02 16:09         ` Dan Williams
2017-05-04  9:37           ` Chiappero, Marco
2017-05-04 16:43             ` Jiri Benc
2017-05-04 22:15               ` Mahesh Bandewar (महेश बंडेवार)
2017-05-08 15:29               ` Chiappero, Marco
2017-05-08 18:13                 ` Dan Williams
2017-05-09 18:41                   ` Chiappero, Marco
2017-05-04 22:09             ` Mahesh Bandewar (महेश बंडेवार)
2017-04-27 20:30   ` kbuild test robot
2017-04-27 19:21 ` [PATCH net-next 0/9] support unique MAC addresses for slave devices Mahesh Bandewar (महेश बंडेवार)
2017-05-02 15:12   ` Chiappero, Marco

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.