1. 09 2月, 2021 12 次提交
  2. 06 2月, 2021 10 次提交
  3. 03 2月, 2021 5 次提交
  4. 29 1月, 2021 13 次提交
    • G
      RDMA/efa: Remove unused syndrome enum values · 4629c5d4
      Gal Pressman 提交于
      The notification syndrome enum values are unused, remove them.
      
      Link: https://lore.kernel.org/r/20210126120702.9807-6-galpress@amazon.comReviewed-by: NFiras JahJah <firasj@amazon.com>
      Signed-off-by: NGal Pressman <galpress@amazon.com>
      Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
      4629c5d4
    • G
      RDMA/efa: Remove unused 'select' field from get/set feature command descriptor · 9bf61b8c
      Gal Pressman 提交于
      The 'select' field in the get/set feature admin command is unimplemented,
      unused and misleading, remove it.  The command always refers to the
      current values.
      
      Link: https://lore.kernel.org/r/20210126120702.9807-5-galpress@amazon.comReviewed-by: NFiras JahJah <firasj@amazon.com>
      Reviewed-by: NYossi Leybovich <sleybo@amazon.com>
      Signed-off-by: NGal Pressman <galpress@amazon.com>
      Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
      9bf61b8c
    • G
      RDMA/efa: Remove unnecessary indentation in defs comments · 631b6189
      Gal Pressman 提交于
      The indentation in the subsequent comment lines is unnecessary, remove it.
      
      Link: https://lore.kernel.org/r/20210126120702.9807-4-galpress@amazon.comReviewed-by: NFiras JahJah <firasj@amazon.com>
      Reviewed-by: NYossi Leybovich <sleybo@amazon.com>
      Signed-off-by: NGal Pressman <galpress@amazon.com>
      Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
      631b6189
    • G
      RDMA/efa: Remove duplication of upper/lower_32_bits · c2a50568
      Gal Pressman 提交于
      The EFA_DMA_ADDR_TO_UINT32_HIGH/LOW macros are the same as the kernel's
      upper/lower_32_bits, remove them and use kernel macros instead.
      
      Link: https://lore.kernel.org/r/20210126120702.9807-3-galpress@amazon.comReviewed-by: NFiras JahJah <firasj@amazon.com>
      Signed-off-by: NGal Pressman <galpress@amazon.com>
      Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
      c2a50568
    • G
      RDMA/efa: Remove redundant NULL pointer check of CQE · 68fb9f3e
      Gal Pressman 提交于
      A pointer to store the command completion must be provided as it is always
      used in efa_com_put_comp_ctx() to return the completion context back to
      the pool. Remove the NULL pointer check and the redundant 'status' field
      stored on the context as it could be retrieved from the completion itself.
      
      Link: https://lore.kernel.org/r/20210126120702.9807-2-galpress@amazon.comReviewed-by: NFiras JahJah <firasj@amazon.com>
      Reviewed-by: NYossi Leybovich <sleybo@amazon.com>
      Signed-off-by: NGal Pressman <galpress@amazon.com>
      Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
      68fb9f3e
    • L
      RDMA/hw/hfi1/rc: Demote incorrectly populated kernel-doc header · c2a54b68
      Lee Jones 提交于
      Fixes the following W=1 kernel build warning(s):
      
       drivers/infiniband/hw/hfi1/rc.c:1388: warning: Function parameter or member 'packet' not described in 'hfi1_send_rc_ack'
       drivers/infiniband/hw/hfi1/rc.c:1388: warning: Function parameter or member 'is_fecn' not described in 'hfi1_send_rc_ack'
       drivers/infiniband/hw/hfi1/rc.c:1388: warning: Excess function parameter 'qp' description in 'hfi1_send_rc_ack'
      
      Link: https://lore.kernel.org/r/20210126124732.3320971-21-lee.jones@linaro.org
      Cc: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
      Cc: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
      Cc: Doug Ledford <dledford@redhat.com>
      Cc: Jason Gunthorpe <jgg@ziepe.ca>
      Cc: linux-rdma@vger.kernel.org
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
      c2a54b68
    • L
      RDMA/hw/hfi1/verbs: Demote non-conforming doc header and fix a misspelling · cd5962d4
      Lee Jones 提交于
      Fixes the following W=1 kernel build warning(s):
      
       drivers/infiniband/hw/hfi1/verbs.c:741: warning: Function parameter or member 'qp' not described in 'update_tx_opstats'
       drivers/infiniband/hw/hfi1/verbs.c:1160: warning: Function parameter or member 'pkey' not described in 'egress_pkey_check'
       drivers/infiniband/hw/hfi1/verbs.c:1160: warning: Excess function parameter 'bkey' description in 'egress_pkey_check'
       drivers/infiniband/hw/hfi1/verbs.c:1217: warning: Function parameter or member 'qp' not described in 'get_send_routine'
       drivers/infiniband/hw/hfi1/verbs.c:1217: warning: Function parameter or member 'ps' not described in 'get_send_routine'
      
      Link: https://lore.kernel.org/r/20210126124732.3320971-20-lee.jones@linaro.org
      Cc: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
      Cc: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
      Cc: Doug Ledford <dledford@redhat.com>
      Cc: Jason Gunthorpe <jgg@ziepe.ca>
      Cc: linux-rdma@vger.kernel.org
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
      cd5962d4
    • L
      RDMA/hw/hfi1/user_exp_rcv: Demote half-documented and kernel-doc abuses · c6f2b65e
      Lee Jones 提交于
      Fixes the following W=1 kernel build warning(s):
      
       drivers/infiniband/hw/hfi1/user_exp_rcv.c:174: warning: Function parameter or member 'fd' not described in 'unpin_rcv_pages'
       drivers/infiniband/hw/hfi1/user_exp_rcv.c:174: warning: Function parameter or member 'tidbuf' not described in 'unpin_rcv_pages'
       drivers/infiniband/hw/hfi1/user_exp_rcv.c:174: warning: Function parameter or member 'node' not described in 'unpin_rcv_pages'
       drivers/infiniband/hw/hfi1/user_exp_rcv.c:174: warning: Function parameter or member 'idx' not described in 'unpin_rcv_pages'
       drivers/infiniband/hw/hfi1/user_exp_rcv.c:174: warning: Function parameter or member 'npages' not described in 'unpin_rcv_pages'
       drivers/infiniband/hw/hfi1/user_exp_rcv.c:174: warning: Function parameter or member 'mapped' not described in 'unpin_rcv_pages'
       drivers/infiniband/hw/hfi1/user_exp_rcv.c:196: warning: Function parameter or member 'fd' not described in 'pin_rcv_pages'
       drivers/infiniband/hw/hfi1/user_exp_rcv.c:196: warning: Function parameter or member 'tidbuf' not described in 'pin_rcv_pages'
      
      Link: https://lore.kernel.org/r/20210126124732.3320971-19-lee.jones@linaro.org
      Cc: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
      Cc: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
      Cc: Doug Ledford <dledford@redhat.com>
      Cc: Jason Gunthorpe <jgg@ziepe.ca>
      Cc: linux-rdma@vger.kernel.org
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
      c6f2b65e
    • L
      RDMA/hw/hfi1/ud: Fix a little more doc-rot · 16e1b536
      Lee Jones 提交于
      Fixes the following W=1 kernel build warning(s):
      
       drivers/infiniband/hw/hfi1/ud.c:477: warning: Function parameter or member 'ps' not described in 'hfi1_make_ud_req'
       drivers/infiniband/hw/hfi1/ud.c:855: warning: Function parameter or member 'packet' not described in 'hfi1_ud_rcv'
       drivers/infiniband/hw/hfi1/ud.c:855: warning: Excess function parameter 'ibp' description in 'hfi1_ud_rcv'
       drivers/infiniband/hw/hfi1/ud.c:855: warning: Excess function parameter 'hdr' description in 'hfi1_ud_rcv'
       drivers/infiniband/hw/hfi1/ud.c:855: warning: Excess function parameter 'rcv_flags' description in 'hfi1_ud_rcv'
       drivers/infiniband/hw/hfi1/ud.c:855: warning: Excess function parameter 'data' description in 'hfi1_ud_rcv'
       drivers/infiniband/hw/hfi1/ud.c:855: warning: Excess function parameter 'tlen' description in 'hfi1_ud_rcv'
       drivers/infiniband/hw/hfi1/ud.c:855: warning: Excess function parameter 'qp' description in 'hfi1_ud_rcv'
      
      Link: https://lore.kernel.org/r/20210126124732.3320971-18-lee.jones@linaro.org
      Cc: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
      Cc: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
      Cc: Doug Ledford <dledford@redhat.com>
      Cc: Jason Gunthorpe <jgg@ziepe.ca>
      Cc: linux-rdma@vger.kernel.org
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
      16e1b536
    • L
      RDMA/hw/hfi1/uc: Fix a little doc-rot · d6a8bfe0
      Lee Jones 提交于
      Fixes the following W=1 kernel build warning(s):
      
       drivers/infiniband/hw/hfi1/uc.c:64: warning: Function parameter or member 'ps' not described in 'hfi1_make_uc_req'
       drivers/infiniband/hw/hfi1/uc.c:306: warning: Function parameter or member 'packet' not described in 'hfi1_uc_rcv'
       drivers/infiniband/hw/hfi1/uc.c:306: warning: Excess function parameter 'ibp' description in 'hfi1_uc_rcv'
       drivers/infiniband/hw/hfi1/uc.c:306: warning: Excess function parameter 'hdr' description in 'hfi1_uc_rcv'
       drivers/infiniband/hw/hfi1/uc.c:306: warning: Excess function parameter 'rcv_flags' description in 'hfi1_uc_rcv'
       drivers/infiniband/hw/hfi1/uc.c:306: warning: Excess function parameter 'data' description in 'hfi1_uc_rcv'
       drivers/infiniband/hw/hfi1/uc.c:306: warning: Excess function parameter 'tlen' description in 'hfi1_uc_rcv'
       drivers/infiniband/hw/hfi1/uc.c:306: warning: Excess function parameter 'qp' description in 'hfi1_uc_rcv'
      
      Link: https://lore.kernel.org/r/20210126124732.3320971-17-lee.jones@linaro.org
      Cc: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
      Cc: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
      Cc: Doug Ledford <dledford@redhat.com>
      Cc: Jason Gunthorpe <jgg@ziepe.ca>
      Cc: linux-rdma@vger.kernel.org
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
      d6a8bfe0
    • L
      RDMA/hw/hfi1/tid_rdma: Fix a plethora of kernel-doc issues · cd7727fd
      Lee Jones 提交于
      Fixes the following W=1 kernel build warning(s):
      
       drivers/infiniband/hw/hfi1/tid_rdma.c:321: warning: Function parameter or member 'rdi' not described in 'qp_to_rcd'
       drivers/infiniband/hw/hfi1/tid_rdma.c:321: warning: Function parameter or member 'qp' not described in 'qp_to_rcd'
       drivers/infiniband/hw/hfi1/tid_rdma.c:505: warning: Function parameter or member 'queue' not described in 'kernel_tid_waiters'
       drivers/infiniband/hw/hfi1/tid_rdma.c:536: warning: Function parameter or member 'rcd' not described in 'dequeue_tid_waiter'
       drivers/infiniband/hw/hfi1/tid_rdma.c:536: warning: Function parameter or member 'queue' not described in 'dequeue_tid_waiter'
       drivers/infiniband/hw/hfi1/tid_rdma.c:536: warning: Function parameter or member 'qp' not described in 'dequeue_tid_waiter'
       drivers/infiniband/hw/hfi1/tid_rdma.c:562: warning: Function parameter or member 'queue' not described in 'queue_qp_for_tid_wait'
       drivers/infiniband/hw/hfi1/tid_rdma.c:607: warning: Function parameter or member 'qp' not described in 'tid_rdma_schedule_tid_wakeup'
       drivers/infiniband/hw/hfi1/tid_rdma.c:639: warning: Function parameter or member 'work' not described in 'tid_rdma_trigger_resume'
       drivers/infiniband/hw/hfi1/tid_rdma.c:666: warning: Function parameter or member 'qp' not described in '_tid_rdma_flush_wait'
       drivers/infiniband/hw/hfi1/tid_rdma.c:666: warning: Function parameter or member 'queue' not described in '_tid_rdma_flush_wait'
       drivers/infiniband/hw/hfi1/tid_rdma.c:713: warning: Function parameter or member 'rcd' not described in 'kern_reserve_flow'
       drivers/infiniband/hw/hfi1/tid_rdma.c:713: warning: Function parameter or member 'last' not described in 'kern_reserve_flow'
       drivers/infiniband/hw/hfi1/tid_rdma.c:879: warning: Function parameter or member 'flow' not described in 'tid_rdma_find_phys_blocks_4k'
       drivers/infiniband/hw/hfi1/tid_rdma.c:879: warning: Function parameter or member 'pages' not described in 'tid_rdma_find_phys_blocks_4k'
       drivers/infiniband/hw/hfi1/tid_rdma.c:879: warning: Function parameter or member 'npages' not described in 'tid_rdma_find_phys_blocks_4k'
       drivers/infiniband/hw/hfi1/tid_rdma.c:879: warning: Function parameter or member 'list' not described in 'tid_rdma_find_phys_blocks_4k'
       drivers/infiniband/hw/hfi1/tid_rdma.c:972: warning: Function parameter or member 'list' not described in 'tid_flush_pages'
       drivers/infiniband/hw/hfi1/tid_rdma.c:972: warning: Function parameter or member 'idx' not described in 'tid_flush_pages'
       drivers/infiniband/hw/hfi1/tid_rdma.c:972: warning: Function parameter or member 'pages' not described in 'tid_flush_pages'
       drivers/infiniband/hw/hfi1/tid_rdma.c:972: warning: Function parameter or member 'sets' not described in 'tid_flush_pages'
       drivers/infiniband/hw/hfi1/tid_rdma.c:1017: warning: Function parameter or member 'flow' not described in 'tid_rdma_find_phys_blocks_8k'
       drivers/infiniband/hw/hfi1/tid_rdma.c:1017: warning: Function parameter or member 'pages' not described in 'tid_rdma_find_phys_blocks_8k'
       drivers/infiniband/hw/hfi1/tid_rdma.c:1017: warning: Function parameter or member 'npages' not described in 'tid_rdma_find_phys_blocks_8k'
       drivers/infiniband/hw/hfi1/tid_rdma.c:1017: warning: Function parameter or member 'list' not described in 'tid_rdma_find_phys_blocks_8k'
       drivers/infiniband/hw/hfi1/tid_rdma.c:1083: warning: Function parameter or member 'flow' not described in 'kern_find_pages'
       drivers/infiniband/hw/hfi1/tid_rdma.c:1083: warning: Function parameter or member 'pages' not described in 'kern_find_pages'
       drivers/infiniband/hw/hfi1/tid_rdma.c:1083: warning: Function parameter or member 'ss' not described in 'kern_find_pages'
       drivers/infiniband/hw/hfi1/tid_rdma.c:1083: warning: Function parameter or member 'last' not described in 'kern_find_pages'
       drivers/infiniband/hw/hfi1/tid_rdma.c:1604: warning: Function parameter or member 'req' not described in 'hfi1_kern_exp_rcv_free_flows'
       drivers/infiniband/hw/hfi1/tid_rdma.c:3458: warning: Function parameter or member 'qp' not described in 'hfi1_tid_write_alloc_resources'
       drivers/infiniband/hw/hfi1/tid_rdma.c:3458: warning: Function parameter or member 'intr_ctx' not described in 'hfi1_tid_write_alloc_resources'
      
      Link: https://lore.kernel.org/r/20210126124732.3320971-16-lee.jones@linaro.org
      Cc: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
      Cc: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
      Cc: Doug Ledford <dledford@redhat.com>
      Cc: Jason Gunthorpe <jgg@ziepe.ca>
      Cc: linux-rdma@vger.kernel.org
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
      cd7727fd
    • L
      RDMA/hw/hfi1/sdma: Fix misnaming of 'sdma_send_txlist()'s 'count_out' param · d7480310
      Lee Jones 提交于
      Fixes the following W=1 kernel build warning(s):
      
       drivers/infiniband/hw/hfi1/sdma.c:2476: warning: Function parameter or member 'count_out' not described in 'sdma_send_txlist'
       drivers/infiniband/hw/hfi1/sdma.c:2476: warning: Excess function parameter 'count' description in 'sdma_send_txlist'
      
      Link: https://lore.kernel.org/r/20210126124732.3320971-15-lee.jones@linaro.org
      Cc: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
      Cc: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
      Cc: Doug Ledford <dledford@redhat.com>
      Cc: Jason Gunthorpe <jgg@ziepe.ca>
      Cc: linux-rdma@vger.kernel.org
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
      d7480310
    • L
      RDMA/hw/hfi1/ruc: Fix a small formatting and description issues · 0654a746
      Lee Jones 提交于
      Fixes the following W=1 kernel build warning(s):
      
       drivers/infiniband/hw/hfi1/ruc.c:277: warning: Function parameter or member 'bth1' not described in 'hfi1_make_ruc_header_16B'
       drivers/infiniband/hw/hfi1/ruc.c:365: warning: Function parameter or member 'bth1' not described in 'hfi1_make_ruc_header_9B'
       drivers/infiniband/hw/hfi1/ruc.c:472: warning: Function parameter or member 'tid' not described in 'hfi1_schedule_send_yield'
       drivers/infiniband/hw/hfi1/ruc.c:472: warning: Excess function parameter 'timeout' description in 'hfi1_schedule_send_yield'
      
      Link: https://lore.kernel.org/r/20210126124732.3320971-14-lee.jones@linaro.org
      Cc: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
      Cc: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
      Cc: Doug Ledford <dledford@redhat.com>
      Cc: Jason Gunthorpe <jgg@ziepe.ca>
      Cc: linux-rdma@vger.kernel.org
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
      0654a746