linux/net/dsa
Jiri Pirko ccffad25b5 net: convert unicast addr list
This patch converts unicast address list to standard list_head using
previously introduced struct netdev_hw_addr. It also relaxes the
locking. Original spinlock (still used for multicast addresses) is not
needed and is no longer used for a protection of this list. All
reading and writing takes place under rtnl (with no changes).

I also removed a possibility to specify the length of the address
while adding or deleting unicast address. It's always dev->addr_len.

The convertion touched especially e1000 and ixgbe codes when the
change is not so trivial.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>

 drivers/net/bnx2.c               |   13 +--
 drivers/net/e1000/e1000_main.c   |   24 +++--
 drivers/net/ixgbe/ixgbe_common.c |   14 ++--
 drivers/net/ixgbe/ixgbe_common.h |    4 +-
 drivers/net/ixgbe/ixgbe_main.c   |    6 +-
 drivers/net/ixgbe/ixgbe_type.h   |    4 +-
 drivers/net/macvlan.c            |   11 +-
 drivers/net/mv643xx_eth.c        |   11 +-
 drivers/net/niu.c                |    7 +-
 drivers/net/virtio_net.c         |    7 +-
 drivers/s390/net/qeth_l2_main.c  |    6 +-
 drivers/scsi/fcoe/fcoe.c         |   16 ++--
 include/linux/netdevice.h        |   18 ++--
 net/8021q/vlan.c                 |    4 +-
 net/8021q/vlan_dev.c             |   10 +-
 net/core/dev.c                   |  195 +++++++++++++++++++++++++++-----------
 net/dsa/slave.c                  |   10 +-
 net/packet/af_packet.c           |    4 +-
 18 files changed, 227 insertions(+), 137 deletions(-)
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-05-29 22:12:32 -07:00
..
Kconfig dsa: add support for the Marvell 88E6095/6095F switch chips 2009-03-21 19:06:54 -07:00
Makefile dsa: add support for the Marvell 88E6060 switch chip 2008-10-08 17:24:22 -07:00
dsa.c dsa: add switch chip cascading support 2009-03-21 19:06:54 -07:00
dsa_priv.h dsa: add switch chip cascading support 2009-03-21 19:06:54 -07:00
mv88e6xxx.c dsa: fix warning in net/dsa/mv88e6xxx.c 2008-11-25 16:50:49 -08:00
mv88e6xxx.h dsa: add support for the Marvell 88E6131 switch chip 2008-10-08 17:24:09 -07:00
mv88e6060.c dsa: add switch chip cascading support 2009-03-21 19:06:54 -07:00
mv88e6123_61_65.c dsa: add switch chip cascading support 2009-03-21 19:06:54 -07:00
mv88e6131.c dsa: add switch chip cascading support 2009-03-21 19:06:54 -07:00
slave.c net: convert unicast addr list 2009-05-29 22:12:32 -07:00
tag_dsa.c dsa: add switch chip cascading support 2009-03-21 19:06:54 -07:00
tag_edsa.c dsa: add switch chip cascading support 2009-03-21 19:06:54 -07:00
tag_trailer.c dsa: add switch chip cascading support 2009-03-21 19:06:54 -07:00