android_kernel_xiaomi_sm8350/drivers/net/ixgbe
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
..
ixgbe_82598.c ixgbe: fix 82598 SFP initialization after driver load. 2009-05-26 20:40:47 -07:00
ixgbe_82599.c ixgbe: Remove device ID 0x10d8 2009-05-26 20:40:09 -07:00
ixgbe_common.c net: convert unicast addr list 2009-05-29 22:12:32 -07:00
ixgbe_common.h net: convert unicast addr list 2009-05-29 22:12:32 -07:00
ixgbe_dcb_82598.c ixgbe: Allow link flow control in DCB mode for 82599 adapters 2009-05-17 21:04:13 -07:00
ixgbe_dcb_82598.h
ixgbe_dcb_82599.c ixgbe: Fix the DCB PFC thresholds for 82599 2009-04-17 01:16:28 -07:00
ixgbe_dcb_82599.h
ixgbe_dcb_nl.c ixgbe: Don't reset the hardware when switching between LFC and PFC 2009-05-17 21:04:14 -07:00
ixgbe_dcb.c
ixgbe_dcb.h
ixgbe_ethtool.c ixgbe: When in DCB mode with PFC enabled, show LFC is disabled 2009-05-17 21:04:14 -07:00
ixgbe_fcoe.c ixgbe: Enable FCoE redirection table feature in 82599 2009-05-17 21:04:10 -07:00
ixgbe_fcoe.h ixgbe: Add infrastructure code for FCoE large receive offload to 82599 2009-05-17 12:00:07 -07:00
ixgbe_main.c net: convert unicast addr list 2009-05-29 22:12:32 -07:00
ixgbe_phy.c ixgbe: fix 82598 SFP initialization after driver load. 2009-05-26 20:40:47 -07:00
ixgbe_phy.h ixgbe: Change Direct Attach Twinax cable detection for SFP+ NICs 2009-05-19 15:36:14 -07:00
ixgbe_type.h net: convert unicast addr list 2009-05-29 22:12:32 -07:00
ixgbe.h ixgbe: set max desc to prevent total RSC packet size of 64K 2009-05-18 15:09:43 -07:00
Makefile ixgbe: Implement FCoE Tx side offload features in base driver of 82599 2009-05-17 12:00:04 -07:00