1. 03 6月, 2017 1 次提交
  2. 02 6月, 2017 3 次提交
  3. 01 6月, 2017 2 次提交
  4. 31 5月, 2017 3 次提交
    • A
      net/mlx5: avoid build warning for uniprocessor · f0d7ae95
      Arnd Bergmann 提交于
      Building the driver with CONFIG_SMP disabled results in a harmless
      warning:
      
      ethernet/mellanox/mlx5/core/main.c: In function 'mlx5_irq_set_affinity_hint':
      ethernet/mellanox/mlx5/core/main.c:615:6: error: unused variable 'irq' [-Werror=unused-variable]
      
      It's better to express the conditional compilation using IS_ENABLED()
      here, as that lets the compiler see what the intented use for the variable
      is, and that it can be silently discarded.
      
      Fixes: b665d98e ("net/mlx5: Tolerate irq_set_affinity_hint() failures")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NSaeed Mahameed <saeedm@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f0d7ae95
    • M
      qed: Don't log missing periodic stats by default · 512c7840
      Mintz, Yuval 提交于
      Current implementation lacks the logic for providing management
      firmware with RDMA-related statistics; [much] worse than that -
      it logs such events by default to system logs.
      
      Since the statistics' gathering is done periodically, using sufficiently
      new management firmware the system logs would get filled with these
      unnecessary prints.
      
      For now, reduce the verbosity of the log so that it would not be
      logged by default.
      
      Fixes: 6c754246 ("qed: Add support for NCSI statistics")
      Signed-off-by: NYuval Mintz <Yuval.Mintz@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      512c7840
    • G
      cxgb4: avoid crash on PCI error recovery path · 025d0973
      Guilherme G. Piccoli 提交于
      During PCI error recovery process, specifically on eeh_err_detected()
      we might have a NULL netdev struct, hence a direct dereference will
      lead to a kernel oops. This was observed with latest upstream kernel
      (v4.12-rc2) on Chelsio adapter T422-CR in PowerPC machines.
      
      This patch checks for NULL pointer and avoids the crash, both in
      eeh_err_detected() and eeh_resume(). Also, we avoid to trigger
      a fatal error or to try disabling interrupts on FW during PCI
      error recovery, because: (a) driver might not be able to accurately
      access PCI regions in this case, and (b) trigger a fatal error
      _during_ the recovery steps is a mistake that could prevent the
      recovery path to complete successfully.
      Reported-by: NHarsha Thyagaraja <hathyaga@in.ibm.com>
      Signed-off-by: NGuilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      025d0973
  5. 27 5月, 2017 1 次提交
  6. 25 5月, 2017 2 次提交
  7. 23 5月, 2017 8 次提交
  8. 18 5月, 2017 9 次提交
  9. 17 5月, 2017 1 次提交
    • A
      mlx5e: add CONFIG_INET dependency · 2432a3fb
      Arnd Bergmann 提交于
      We now reference the arp_tbl, which requires IPv4 support to be
      enabled in the kernel, otherwise we get a link error:
      
      drivers/net/built-in.o: In function `mlx5e_tc_update_neigh_used_value':
      (.text+0x16afec): undefined reference to `arp_tbl'
      drivers/net/built-in.o: In function `mlx5e_rep_neigh_init':
      en_rep.c:(.text+0x16c16d): undefined reference to `arp_tbl'
      drivers/net/built-in.o: In function `mlx5e_rep_netevent_event':
      en_rep.c:(.text+0x16cbb5): undefined reference to `arp_tbl'
      
      This adds a Kconfig dependency for it.
      
      Fixes: 232c0013 ("net/mlx5e: Add support to neighbour update flow")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2432a3fb
  10. 16 5月, 2017 5 次提交
  11. 15 5月, 2017 1 次提交
  12. 14 5月, 2017 4 次提交