diff options
| author | Maor Gottlieb <maorg@mellanox.com> | 2017-05-30 10:29:13 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-07-24 17:39:53 +0300 |
| commit | 03404e8ae652e02a5e3388224836cef53d7a0988 (patch) | |
| tree | 9c4a307d6151bd1c4515c3e43564f7591db8916b /include/linux/root_dev.h | |
| parent | 246ac9814c5b2c0e9916dca5fbf8d6a40245fad1 (diff) | |
| download | linux-03404e8ae652e02a5e3388224836cef53d7a0988.tar.xz | |
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 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions
