diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2017-05-30 10:29:13 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-24 10:39:53 -0400 |
commit | 03404e8ae652e02a5e3388224836cef53d7a0988 (patch) | |
tree | 9c4a307d6151bd1c4515c3e43564f7591db8916b /drivers/pwm | |
parent | 246ac9814c5b2c0e9916dca5fbf8d6a40245fad1 (diff) | |
download | linux-03404e8ae652e02a5e3388224836cef53d7a0988.tar.gz linux-03404e8ae652e02a5e3388224836cef53d7a0988.tar.bz2 linux-03404e8ae652e02a5e3388224836cef53d7a0988.zip |
IB/mlx5: Add support to dropless RQ
RQs that were configured for "delay drop" will prevent packet drops
when their WQEs are depleted.
Marking an RQ to be drop-less is done by setting delay_drop_en in RQ
context using CREATE_RQ command.
Since this feature is globally activated/deactivated by using the
SET_DELAY_DROP command on all the marked RQs, we activated/deactivated
it according to the number of RQs with 'delay_drop' enabled.
When timeout is expired, then the feature is deactivated. Therefore
the driver handles the delay drop timeout event and reactivate it.
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions