1. 19 5月, 2015 9 次提交
  2. 18 5月, 2015 3 次提交
    • F
      net: dsa: bcm_sf2: properly propagate carrier down state for MoCA · 4ab7f913
      Florian Fainelli 提交于
      MoCA interfaces require the use of an user-space daemon (mocad) which
      will typically use cmd->autoneg to force the link. This is causing other
      network manager applications not to get proper carrier down
      notifications because of the following sequence of events:
      
      - link down interrupt is received, link is set to 0 by the interrupt
        handler
      - fixed_link update callback runs and updates the BMSR register
        accordingly
      - PHY library polls the PHY for link status, sees the link is down,
        proceeds with reporting that
      - mocad gets notified of the link state and call phy_ethtool_sset()
        with cmd->autoneg set to the link status (0)
      - phy_start_aneg() is called at the end of phy_ethtool_sset() and sets
        the PHY state to PHY_FORCING
      
      Just make sure we notify the interface carrier appropriately when we
      detect that the link is down in our fixed_link update callback. This is
      made local to the bcm_sf2 driver as the PHY library does the right thing
      in any case. This is similar to the GENET change introduced in
      54d7c01d ("net: bcmgenet: enable MoCA
      link state change detection").
      
      Fixes: 246d7f77 ("net: dsa: add Broadcom SF2 switch driver")
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4ab7f913
    • S
      hv_netvsc: change member name of struct netvsc_stats · 4b02b58b
      sixiao@microsoft.com 提交于
      Currently the struct netvsc_stats has a member s_sync
      of type u64_stats_sync.
      This definition will break kernel build as the macro
      netdev_alloc_pcpu_stats requires this member name to be syncp.
      (see netdev_alloc_pcpu_stats definition in ./include/linux/netdevice.h)
      
      This patch changes netvsc_stats's member name from s_sync to syncp to fix
      the build break.
      Signed-off-by: NSimon Xiao <sixiao@microsoft.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4b02b58b
    • S
      switchdev: add support for fdb add/del/dump via switchdev_port_obj ops. · 45d4122c
      Samudrala, Sridhar 提交于
      - introduce port fdb obj and generic switchdev_port_fdb_add/del/dump()
      - use switchdev_port_fdb_add/del/dump in rocker/team/bonding ndo ops.
      - add support for fdb obj in switchdev_port_obj_add/del/dump()
      - switch rocker to implement fdb ops via switchdev_ops
      
      v3: updated to sync with named union changes.
      Signed-off-by: NSridhar Samudrala <sridhar.samudrala@intel.com>
      Signed-off-by: NScott Feldman <sfeldma@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      45d4122c
  3. 17 5月, 2015 1 次提交
  4. 16 5月, 2015 18 次提交
  5. 15 5月, 2015 8 次提交
  6. 14 5月, 2015 1 次提交