1. 09 Oct, 2015 4 commits
    • Eli Cohen's avatar
      net/mlx5_core: Use accessor functions to read from device memory · 0144a95e
      Eli Cohen authored
      Use ioread function to read health buffer data. In addition, print the
      firmware version as a string for readability and also use dev_err to have
      the device string to be printed.
      Signed-off-by: default avatarEli Cohen <eli@mellanox.com>
      Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0144a95e
    • Eli Cohen's avatar
      net/mlx5_core: Prepare cmd interface to system errors handling · 020446e0
      Eli Cohen authored
      In preparation to handling system errors at the mlx5_core level, change the
      interface of cmd_work_handler to accept a 64 bit argument for the vector.
      
      This allows to encode a flag that signifies when the handler is called
      as a result of a driver logic that wishes to terminate commands that
      the hardware may not be able to terminate. Such command completions
      are detected at the handler and proper return status is encoded.
      
      To be able to terminate page handler commands, we make sure to set
      the corresponding bit in the bitmask.
      Signed-off-by: default avatarEli Cohen <eli@mellanox.com>
      Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      020446e0
    • Eli Cohen's avatar
      net/mlx5_core: Improve mlx5 messages · 5a788398
      Eli Cohen authored
      Improve the messages printed by the mlx5 macros to include the device
      string. In addition, prefix names used by the macros with two underscores
      to avoid possible name collisions.
      Signed-off-by: default avatarEli Cohen <eli@mellanox.com>
      Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5a788398
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 1c43f75a
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      Intel Wired LAN Driver Updates 2015-10-08
      
      This series contains updates to i40e and i40evf only (again).
      
      Jesse fixes an issue where the driver was issuing a WARN_ON during ring
      size changes because the code was cloning the rx_ring struct but not
      zeroing out the pointers before allocating new memory, so simply zero
      out the pointers.  Also reduced the function call overhead by moving
      the interrupt enable function by moving it to the header file, which it
      in turn allows us to inline it.  Also does a thorough job of code
      cleanup to fix spaces after declarations, remove unnecessary braces
      and breaks, remove another __func__ use and general code tidiness.
      
      Mitch adds mover verbose error messages when the number of supported VFs
      is reported in driver init and it different from the number reported in
      config space.  Updated the VF driver to now detect a reset with the
      VF_ARQLEN register since the enable bit is cleared when the VF is reset
      and it stays cleared until the VF driver processes the reset and
      re-enables the admin queue which is more reliable than using the
      VFGEN_RSTAT as previously.
      
      Neerav adds parsing for CEE DCBx TLVs from the LLDP MIB since there is
      a need to get the CEE DesiredCfg Tx by firmware and DCB configuration
      Rx from peer for debug and other application purposes.
      
      Carolyn fixes a problem where the PF's Flow Director filter table would
      have an entry that the hardware was unable to add, when this occurs an
      invalid entry gets replayed and a valid one is lost.
      
      Matt fixes an issue where multiple link up messages can be logged
      resulting from admin queue link status timing when link properties are
      changed.
      
      Shannon adds the ability to control the period link polling through
      ethtool to be able to switch it off and on for debugging link issues.
      
      Serey explicitly assigns the enum index for each VSI type so that the PF
      and VF always reference to the same VSI type event if the enum lists
      are different.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1c43f75a
  2. 08 Oct, 2015 36 commits