]> git.baikalelectronics.ru Git - kernel.git/commit
IB/cq: Don't force IB_POLL_DIRECT poll context for ib_process_cq_direct
authorSagi Grimberg <sagi@grimberg.me>
Sun, 14 Jan 2018 15:07:50 +0000 (17:07 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 18 Jan 2018 19:49:20 +0000 (14:49 -0500)
commit3562013325a277cd7a6b8ec40ff84d621a64cb99
tree1d1ff97ce54a7a454375270619e8959488c1744c
parent1c932addddc1cd7fe8080b2f1c6e1cb776adc33b
IB/cq: Don't force IB_POLL_DIRECT poll context for ib_process_cq_direct

polling the completion queue directly does not interfere
with the existing polling logic, hence drop the requirement.
Be aware that running ib_process_cq_direct with non IB_POLL_DIRECT
CQ may trigger concurrent CQ processing.

This can be used for polling mode ULPs.

Cc: Bart Van Assche <bart.vanassche@wdc.com>
Reported-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
[maxg: added wcs array argument to __ib_process_cq]
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cq.c