1. 02 Sep, 2009 3 commits
    • Peter P Waskiewicz Jr's avatar
      ixgbe: Properly disable DCB arbiters prior to applying changes · b7fdb714
      Peter P Waskiewicz Jr authored
      When disabling the Rx and Tx data arbiters prior to configuration changes,
      the arbiters were not being shut down properly.  This can create a race
      in the DCB hardware blocks, and potentially hang the arbiters.  Also, the
      Tx descriptor arbiter shouldn't be disabled when applying configuration
      changes; disabling this arbiter can cause a Tx hang.
      Signed-off-by: default avatarPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b7fdb714
    • Mallikarjuna R Chilakala's avatar
      ixgbe: refactor link setup code · 8620a103
      Mallikarjuna R Chilakala authored
      Link code cleanup: a number of redundant functions and MAC variables are cleaned up,
      with some functions being consolidated into a single-purpose code path.
      Removed following deprecated link functions and mac variables
       * ixgbe_setup_copper_link_speed_82598
       * ixgbe_setup_mac_link_speed_multispeed_fiber
       * ixgbe_setup_mac_link_speed_82599
       * mac.autoneg, mac.autoneg_succeeded, phy.autoneg_wait_to_complete
      Signed-off-by: default avatarMallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
      Acked-by: default avatarPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8620a103
    • Graham, David's avatar
      e1000: Fix for e1000 kills IPMI on a tagged vlan. · fd38d7a0
      Graham, David authored
      Enabling VLAN filters (VFE) when the primary interface is brought up
      (per commit 78ed11a5) has caused problems for some users who manage
      their systems using IPMI over a VLAN. This is because when the driver
      enables the VLAN filter, this same filter table is enabled for the
      management channel, and the table is initially empty, which means that
      the IPMI/VLAN packets are filtered out and not received by the BMC.
      This is a problem only on e1000 class adapters, as it is only
      on e1000 that the filter table is common to the management and host
      streams.
      
      With this change, filtering is only enabled when one or more host VLANs
      exist, and is disabled when the last host VLAN is removed. VLAN filtering
      is always disabled when the primary interface is in promiscuous mode,
      and will be (re)enabled if VLANs exist when the interface exits
      promiscuous mode.
      
      Note that this does not completely resolve the issue for those using VLAN
      management, because if the host adds a VLAN, then the above problem
      occurs when that VLAN is enabled. However, it does mean the there is no
      problem for configurations where management is on a VLAN and the host is
      not.
      
      A complete solution to this issue would require further driver changes.
      The driver would need to discover if (and which) management VLANs are
      active before enabling VLAN filtering, so that it could ensure that the
      managed VLANs are included in the VLAN filter table. This discovery
      requires that the BMC identifies its VLAN in registers accessible
      to the driver, and at least on Dell PE2850 systems the BMC does not
      identify its VLAN to allow such discovery. Intel is pursuing this issue
      with the BMC vendor.
      Signed-off-by: default avatarDave Graham <david.graham@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Tested-by: default avatarKrzysztof Piotr Oledzki <ole@ans.pl>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fd38d7a0
  2. 01 Sep, 2009 30 commits
  3. 31 Aug, 2009 7 commits