1. 29 1月, 2019 1 次提交
  2. 26 1月, 2019 1 次提交
  3. 24 1月, 2019 1 次提交
  4. 23 1月, 2019 3 次提交
  5. 18 1月, 2019 1 次提交
    • P
      net: Add extack argument to ndo_fdb_add() · 87b0984e
      Petr Machata 提交于
      Drivers may not be able to support certain FDB entries, and an error
      code is insufficient to give clear hints as to the reasons of rejection.
      
      In order to make it possible to communicate the rejection reason, extend
      ndo_fdb_add() with an extack argument. Adapt the existing
      implementations of ndo_fdb_add() to take the parameter (and ignore it).
      Pass the extack parameter when invoking ndo_fdb_add() from rtnl_fdb_add().
      Signed-off-by: NPetr Machata <petrm@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      87b0984e
  6. 08 1月, 2019 1 次提交
  7. 05 1月, 2019 1 次提交
  8. 22 12月, 2018 1 次提交
  9. 19 12月, 2018 2 次提交
  10. 14 12月, 2018 1 次提交
  11. 05 12月, 2018 1 次提交
  12. 01 12月, 2018 6 次提交
  13. 30 11月, 2018 1 次提交
  14. 29 11月, 2018 1 次提交
    • Y
      qlcnic: remove set but not used variables 'cur_rings, max_hw_rings, tx_desc_info' · 8eb08cf8
      YueHaibing 提交于
      Fixes gcc '-Wunused-but-set-variable' warning:
      
      drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:4011:5:
       warning: variable 'max_hw_rings' set but not used [-Wunused-but-set-variable]
      drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:4013:6:
       warning: variable 'cur_rings' set but not used [-Wunused-but-set-variable]
      drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:2996:25:
       warning: variable 'tx_desc_info' set but not used [-Wunused-but-set-variable]
      
      'cur_rings, max_hw_rings' never used since introduction in commit
      34e8c406 ("qlcnic: refactor Tx/SDS ring calculation and validation in driver.")
      'tx_desc_info' never used since commit
      95b3890a ("qlcnic: Enhance Tx timeout debugging.")
      Also 'queue_type' only can be QLCNIC_RX_QUEUE/QLCNIC_TX_QUEUE,
      so make a trival cleanup on if statement.
      Signed-off-by: NYueHaibing <yuehaibing@huawei.com>
      Acked-by: NShahed Shaikh <shahed.shaikh@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8eb08cf8
  15. 28 11月, 2018 5 次提交
  16. 20 11月, 2018 2 次提交
  17. 16 11月, 2018 1 次提交
  18. 14 11月, 2018 4 次提交
  19. 09 11月, 2018 4 次提交
  20. 08 11月, 2018 1 次提交
  21. 04 11月, 2018 1 次提交
    • A
      qed: fix link config error handling · 92619210
      Arnd Bergmann 提交于
      gcc-8 notices that qed_mcp_get_transceiver_data() may fail to
      return a result to the caller:
      
      drivers/net/ethernet/qlogic/qed/qed_mcp.c: In function 'qed_mcp_trans_speed_mask':
      drivers/net/ethernet/qlogic/qed/qed_mcp.c:1955:2: error: 'transceiver_type' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      
      When an error is returned by qed_mcp_get_transceiver_data(), we
      should propagate that to the caller of qed_mcp_trans_speed_mask()
      rather than continuing with uninitialized data.
      
      Fixes: c56a8be7 ("qed: Add supported link and advertise link to display in ethtool.")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      92619210