1. 07 Mar, 2018 2 commits
  2. 25 Jan, 2018 1 commit
  3. 24 Jan, 2018 1 commit
  4. 15 Jan, 2018 1 commit
  5. 02 Jan, 2018 4 commits
  6. 19 Oct, 2017 1 commit
  7. 15 Oct, 2017 4 commits
  8. 04 Oct, 2017 2 commits
  9. 29 Sep, 2017 1 commit
  10. 27 Sep, 2017 1 commit
  11. 22 Sep, 2017 1 commit
    • Arnd Bergmann's avatar
      RDMA/qedr: fix build error without ipv6 · bd491d2a
      Arnd Bergmann authored
      When CONFIG_IPV6 disabled, we run into a link error:
      
      drivers/infiniband/hw/qedr/qedr_iw_cm.o: In function `qedr_addr6_resolve.isra.3':
      qedr_iw_cm.c:(.text+0x4e0): undefined reference to `ip6_route_output_flags'
      
      The ipv6 handling code is obviously not needed here, so this
      adds a compile-time check for the Kconfig symbol in all three
      places in the code that decide between ipv4 and ipv6.
      
      We don't have to worry about a link error wtih QEDR=y/IPV6=m, as
      that configuration is already prohibited by CONFIG_INFINIBAND
      depending on "m || IPV6 != m".
      
      Fixes: e411e058
      
       ("RDMA/qedr: Add iWARP connection management functions")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarMichal Kalderon <michal.kalderon@cavium.com>
      Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
      bd491d2a
  12. 29 Aug, 2017 1 commit
  13. 24 Aug, 2017 1 commit
  14. 18 Aug, 2017 7 commits
  15. 10 Aug, 2017 1 commit
    • Leon Romanovsky's avatar
      RDMA: Simplify get firmware interface · 9abb0d1b
      Leon Romanovsky authored
      
      
      There is a need to forward FW version to user space
      application through RDMA netlink. In order to make it safe, there
      is need to declare nla_policy and limit the size of FW string.
      
      The new define IB_FW_VERSION_NAME_MAX will limit the size of
      FW version string. That define was chosen to be equal to
      ETHTOOL_FWVERS_LEN, because many drivers anyway are limited
      by that value indirectly.
      
      The introduction of this define allows us to remove the string size
      from get_fw_str function signature.
      Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
      9abb0d1b
  16. 27 Jul, 2017 2 commits
  17. 24 Jul, 2017 1 commit
  18. 20 Jul, 2017 1 commit
  19. 21 Jun, 2017 1 commit
  20. 20 Jun, 2017 3 commits
  21. 14 Jun, 2017 2 commits
  22. 09 Jun, 2017 1 commit
    • Michal Kalderon's avatar
      qed*: LL2 callback operations · 0518c12f
      Michal Kalderon authored
      
      
      LL2 today is interrupt driven - when tx/rx completion arrives [or any
      other indication], qed needs to operate on the connection and pass
      the information to the protocol-driver [or internal qed consumer].
      Since we have several flavors of ll2 employeed by the driver,
      each handler needs to do an if-else to determine the right functionality
      to use based on the connection type.
      
      In order to make things more scalable [given that we're going to add
      additional types of ll2 flavors] move the infrastrucutre into using
      a callback-based approach - the callbacks would be provided as part
      of the connection's initialization parameters.
      Signed-off-by: default avatarMichal Kalderon <Michal.Kalderon@cavium.com>
      Signed-off-by: default avatarYuval Mintz <Yuval.Mintz@cavium.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0518c12f