1. 25 4月, 2019 1 次提交
  2. 09 4月, 2019 3 次提交
  3. 02 4月, 2019 2 次提交
  4. 29 3月, 2019 1 次提交
  5. 04 3月, 2019 1 次提交
  6. 23 2月, 2019 2 次提交
  7. 16 2月, 2019 1 次提交
  8. 12 2月, 2019 2 次提交
  9. 09 2月, 2019 1 次提交
  10. 08 2月, 2019 4 次提交
    • D
      RDMA/bnxt_re: Update kernel user abi to pass chip context · 95b86d1c
      Devesh Sharma 提交于
      User space verbs provider library would need chip context.  Changing the
      ABI to add chip version details in structure.  Furthermore, changing the
      kernel driver ucontext allocation code to initialize the abi structure
      with appropriate values.
      
      As suggested by community, appended the new fields at the bottom of the
      ABI structure and retaining to older fields as those were in the older
      versions.
      
      Keeping the ABI version at 1 and adding a new field in the ucontext
      response structure to hold the component mask.  The user space library
      should check pre-defined flags to figure out if a certain feature is
      supported on not.
      Signed-off-by: NDevesh Sharma <devesh.sharma@broadcom.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      95b86d1c
    • D
      RDMA/bnxt_re: Add extended psn structure for 57500 adapters · 37f91cff
      Devesh Sharma 提交于
      The new 57500 series of adapter has bigger psn search structure.  The size
      of new structure is 16B. Changing the control path memory allocation and
      fast path code to accommodate the new psn structure while maintaining the
      backward compatibility.
      
      There are few additional changes listed below:
       - For 57500 chip max-sge are limited to 6 for now.
       - For 57500 chip max-receive-sge should be set to 6 for now.
       - Add driver/hardware interface structure for new chip.
      Signed-off-by: NSelvin Xavier <selvin.xavier@broadcom.com>
      Signed-off-by: NDevesh Sharma <devesh.sharma@broadcom.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      37f91cff
    • D
      RDMA/bnxt_re: Enable GSI QP support for 57500 series · 374c5285
      Devesh Sharma 提交于
      In the new 57500 series of adapters the GSI qp is a UD type QP unlike the
      previous generation where it was a Raw Eth QP. Changing the control and
      data path to support the same. Listing all the significant diffs:
      
       - AH creation resolve network type unconditionally
       - Add check at relevant places to distinguish from Raw Eth
         processing flow.
       - bnxt_re_process_res_ud_wc report completion with GRH flag
         when qp is GSI.
       - Change length, cfa_meta and smac to match new driver/hardware
         interface.
       - Add new driver/hardware interface.
      Signed-off-by: NSelvin Xavier <selvin.xavier@broadcom.com>
      Signed-off-by: NDevesh Sharma <devesh.sharma@broadcom.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      374c5285
    • D
      RDMA/bnxt_re: Add 64bit doorbells for 57500 series · b353ce55
      Devesh Sharma 提交于
      The new chip series has 64 bit doorbell for notification queues. Thus,
      both control and data path event queues need new routines to write 64 bit
      doorbell. Adding the same. There is new doorbell interface between the
      chip and driver. Changing the chip specific data structure definitions.
      
      Additional significant changes are listed below
      - bnxt_re_net_ring_free/alloc takes a new argument
      - bnxt_qplib_enable_nq and enable_rcfw uses new doorbell offset
        for new chip.
      - DB mapping for NQ and CREQ now maps 8 bytes.
      - DBR_DBR_* macros renames to DBC_DBC_*
      - store nq_db_offset in a 32bit data type.
      - got rid of __iowrite64_copy, used writeq instead.
      - changed the DB header initialization to simpler scheme.
      Signed-off-by: NSelvin Xavier <selvin.xavier@broadcom.com>
      Signed-off-by: NDevesh Sharma <devesh.sharma@broadcom.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      b353ce55
  11. 11 1月, 2019 1 次提交
  12. 20 12月, 2018 4 次提交
  13. 19 12月, 2018 1 次提交
  14. 16 10月, 2018 1 次提交
  15. 04 10月, 2018 1 次提交
  16. 06 9月, 2018 1 次提交
  17. 31 7月, 2018 3 次提交
  18. 24 7月, 2018 1 次提交
  19. 11 7月, 2018 1 次提交
    • J
      RDMA: Fix storage of PortInfo CapabilityMask in the kernel · 2f944c0f
      Jason Gunthorpe 提交于
      The internal flag IP_BASED_GIDS was added to a field that was being used
      to hold the port Info CapabilityMask without considering the effects this
      will have. Since most drivers just use the value from the HW MAD it means
      IP_BASED_GIDS will also become set on any HW that sets the IBA flag
      IsOtherLocalChangesNoticeSupported - which is not intended.
      
      Fix this by keeping port_cap_flags only for the IBA CapabilityMask value
      and store unrelated flags externally. Move the bit definitions for this to
      ib_mad.h to make it clear what is happening.
      
      To keep the uAPI unchanged define a new set of flags in the uapi header
      that are only used by ib_uverbs_query_port_resp.port_cap_flags which match
      the current flags supported in rdma-core, and the values exposed by the
      current kernel.
      
      Fixes: b4a26a27 ("IB: Report using RoCE IP based gids in port caps")
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      Signed-off-by: NArtemy Kovalyov <artemyko@mellanox.com>
      Signed-off-by: NLeon Romanovsky <leonro@mellanox.com>
      2f944c0f
  20. 19 6月, 2018 4 次提交
  21. 04 4月, 2018 2 次提交
  22. 15 3月, 2018 1 次提交
    • A
      infiniband: bnxt_re: use BIT_ULL() for 64-bit bit masks · bd8602ca
      Arnd Bergmann 提交于
      On 32-bit targets, we otherwise get a warning about an impossible constant
      integer expression:
      
      In file included from include/linux/kernel.h:11,
                       from include/linux/interrupt.h:6,
                       from drivers/infiniband/hw/bnxt_re/ib_verbs.c:39:
      drivers/infiniband/hw/bnxt_re/ib_verbs.c: In function 'bnxt_re_query_device':
      include/linux/bitops.h:7:24: error: left shift count >= width of type [-Werror=shift-count-overflow]
       #define BIT(nr)   (1UL << (nr))
                              ^~
      drivers/infiniband/hw/bnxt_re/bnxt_re.h:61:34: note: in expansion of macro 'BIT'
       #define BNXT_RE_MAX_MR_SIZE_HIGH BIT(39)
                                        ^~~
      drivers/infiniband/hw/bnxt_re/bnxt_re.h:62:30: note: in expansion of macro 'BNXT_RE_MAX_MR_SIZE_HIGH'
       #define BNXT_RE_MAX_MR_SIZE  BNXT_RE_MAX_MR_SIZE_HIGH
                                    ^~~~~~~~~~~~~~~~~~~~~~~~
      drivers/infiniband/hw/bnxt_re/ib_verbs.c:149:25: note: in expansion of macro 'BNXT_RE_MAX_MR_SIZE'
        ib_attr->max_mr_size = BNXT_RE_MAX_MR_SIZE;
                               ^~~~~~~~~~~~~~~~~~~
      
      Fixes: 872f3578 ("RDMA/bnxt_re: Add support for MRs with Huge pages")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      bd8602ca
  23. 14 3月, 2018 1 次提交