diff options
author | Steve Wise <swise@opengridcomputing.com> | 2019-02-06 13:11:49 -0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-19 20:52:19 -0700 |
commit | 4133b013faf31fbab61d4deb626fcb4390042eba (patch) | |
tree | b447d1d1f060082dd66aecea061c60e4193b2d42 /drivers/infiniband/hw/hns/hns_roce_hw_v2.h | |
parent | 66920e1b25861d5bd99192489f6da7183529285e (diff) |
lib/irq_poll: Support schedules in non-interrupt contexts
Do not assume irq_poll_sched() is called from an interrupt context only.
So use raise_softirq_irqoff() instead of __raise_softirq_irqoff() so it
will kick the ksoftirqd if the schedule is from a non-interrupt context.
This is required for RDMA drivers, like soft iwarp, that generate cq
completion notifications in a workqueue or kthread context. Without this
change, siw completion notifications to the ULP can take several hundred
usecs, depending on the system load.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_hw_v2.h')
0 files changed, 0 insertions, 0 deletions