diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2017-05-30 09:29:13 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-24 16:39:53 +0200 |
commit | 03404e8ae652e02a5e3388224836cef53d7a0988 (patch) | |
tree | 9c4a307d6151bd1c4515c3e43564f7591db8916b /kernel/pid_namespace.c | |
parent | net/mlx5: Introduce general notification event (diff) | |
download | linux-03404e8ae652e02a5e3388224836cef53d7a0988.tar.xz 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 'kernel/pid_namespace.c')
0 files changed, 0 insertions, 0 deletions