summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/mlx5_ifc.h
diff options
context:
space:
mode:
authorMaor Gottlieb2017-05-30 09:29:13 +0200
committerDoug Ledford2017-07-24 16:39:53 +0200
commit03404e8ae652e02a5e3388224836cef53d7a0988 (patch)
tree9c4a307d6151bd1c4515c3e43564f7591db8916b /include/linux/mlx5/mlx5_ifc.h
parentnet/mlx5: Introduce general notification event (diff)
downloadkernel-qcow2-linux-03404e8ae652e02a5e3388224836cef53d7a0988.tar.gz
kernel-qcow2-linux-03404e8ae652e02a5e3388224836cef53d7a0988.tar.xz
kernel-qcow2-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 'include/linux/mlx5/mlx5_ifc.h')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 4bc57647fad8..f350688a12fa 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -2519,7 +2519,7 @@ enum {
struct mlx5_ifc_rqc_bits {
u8 rlky[0x1];
- u8 reserved_at_1[0x1];
+ u8 delay_drop_en[0x1];
u8 scatter_fcs[0x1];
u8 vsd[0x1];
u8 mem_rq_type[0x4];