diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2017-05-30 10:29:10 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-24 10:34:28 -0400 |
commit | 7d9336d80b0b35d3537d37ff35e08dcb425073ed (patch) | |
tree | f2b1f134342eb2d2b5965c0dbfd76bd420d8148f /drivers/platform | |
parent | 7ecf6d8ff154e6f7471ee537a400d43a5f3b1c57 (diff) | |
download | op-kernel-dev-7d9336d80b0b35d3537d37ff35e08dcb425073ed.zip op-kernel-dev-7d9336d80b0b35d3537d37ff35e08dcb425073ed.tar.gz |
IB/core: Introduce delay drop for a WQ
Work queue which is created with IB_WQ_FLAGS_DELAY_DROP won't
cause packet drops when there aren't receive WQEs, but will wait until
posting of receive WQEs or for some period of time that the device
was configured with.
It includes:
* Add a new creation flag to enable delay drop functionality in a WQ.
* A new capability was introduced - IB_RAW_PACKET_CAP_DELAY_DROP, which
is the device's ability to delay packet drops when there aren't receive
WQEs.
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/platform')
0 files changed, 0 insertions, 0 deletions