Eli Cohen
f868cae619
IB/mlx5: Fix post send fence logic
...
commit c9b254955b upstream.
If the caller specified IB_SEND_FENCE in the send flags of the work
request and no previous work request stated that the successive one
should be fenced, the work request would be executed without a fence.
This could result in RDMA read or atomic operations failure due to a MR
being invalidated. Fix this by adding the mlx5 enumeration for fencing
RDMA/atomic operations and fix the logic to apply this.
Fixes: e126ba97db ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: Eli Cohen <eli@mellanox.com >
Signed-off-by: Leon Romanovsky <leon@kernel.org >
Signed-off-by: Doug Ledford <dledford@redhat.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-08-20 18:09:25 +02:00
..
2016-08-10 11:49:24 +02:00
2016-06-01 12:15:50 -07:00
2016-03-03 15:07:26 -08:00
2016-06-24 10:18:19 -07:00
2016-05-18 17:06:51 -07:00
2015-12-08 12:42:44 -05:00
2016-08-20 18:09:25 +02:00
2016-01-05 16:00:03 -08:00
2016-06-24 10:18:24 -07:00
2016-04-12 09:08:32 -07:00
2015-12-07 14:14:03 -05:00
2015-11-10 15:00:03 -08:00
2015-11-10 14:48:36 -08:00
2016-07-27 09:47:30 -07:00
2016-07-27 09:47:28 -07:00
2015-12-04 14:01:17 +01:00
2016-03-09 15:34:52 -08:00
2016-08-20 18:09:24 +02:00
2016-08-20 18:09:24 +02:00
2016-08-20 18:09:24 +02:00
2015-12-09 10:35:16 -08:00
2015-11-11 09:37:34 -07:00
2016-03-09 15:34:56 -08:00
2016-07-11 09:31:11 -07:00
2015-11-11 02:19:33 -05:00
2016-05-04 14:48:49 -07:00
2015-12-03 10:18:21 -05:00
2016-05-11 11:21:11 +02:00
2016-04-20 15:41:54 +09:00
2016-02-25 12:01:16 -08:00
2015-11-20 16:17:32 -08:00
2016-02-17 12:30:57 -08:00
2015-12-02 23:50:33 +01:00
2016-05-04 14:48:49 -07:00
2016-07-27 09:47:33 -07:00
2016-04-12 09:08:39 -07:00
2016-08-16 09:30:49 +02:00
2015-11-18 16:27:46 -05:00
2016-03-03 15:07:09 -08:00
2015-12-11 11:05:57 -08:00
2016-04-20 15:42:06 +09:00
2016-04-20 15:42:12 +09:00
2016-01-07 12:17:39 -05:00
2015-11-20 16:17:32 -08:00
2016-05-11 11:21:13 +02:00
2016-02-17 12:30:57 -08:00
2016-03-03 15:07:16 -08:00
2016-04-20 15:42:02 +09:00
2016-02-25 12:01:22 -08:00
2015-12-02 23:37:16 -05:00
2016-07-27 09:47:29 -07:00
2016-04-12 09:09:00 -07:00
2015-12-12 10:15:34 -08:00
2015-11-28 19:33:29 -08:00
2015-11-19 14:25:32 +01:00
2016-03-09 15:34:52 -08:00
2015-12-07 09:14:19 -07:00
2015-11-23 09:44:58 +01:00
2015-11-17 15:25:43 -05:00
2016-08-16 09:30:51 +02:00
2016-06-07 18:14:35 -07:00
2015-12-18 14:25:40 -08:00
2016-03-09 15:34:56 -08:00
2016-07-11 09:31:11 -07:00
2016-04-20 15:42:00 +09:00
2016-03-03 15:07:28 -08:00
2015-11-23 21:57:44 -05:00
2015-11-10 17:27:12 -06:00
2015-11-16 09:03:21 +05:30
2015-12-09 09:23:28 -06:00
2015-11-12 11:50:33 -08:00
2015-11-10 17:27:12 -06:00
2016-04-20 15:42:16 +09:00
2015-11-23 09:21:03 +01:00
2016-06-07 18:14:35 -07:00
2015-11-23 09:44:58 +01:00
2016-02-25 12:01:16 -08:00
2016-02-25 12:01:23 -08:00
2015-12-04 14:38:26 -05:00
2016-02-25 12:01:21 -08:00
2016-06-07 18:14:35 -07:00
2015-11-19 16:22:43 +01:00
2016-03-03 15:07:23 -08:00
2016-06-01 12:15:54 -07:00
2016-07-27 09:47:31 -07:00
2015-11-22 11:58:44 -08:00
2016-07-11 09:31:11 -07:00
2015-12-12 10:15:34 -08:00
2015-11-25 15:49:13 +00:00
2015-11-13 21:53:18 -08:00
2016-04-12 09:08:35 -07:00
2016-03-09 15:34:52 -08:00
2016-03-16 08:42:58 -07:00
2016-06-01 12:15:52 -07:00
2015-11-25 15:49:13 +00:00
2016-03-03 15:07:08 -08:00
2015-11-23 09:44:58 +01:00
2016-04-20 15:42:07 +09:00
2016-06-01 12:15:51 -07:00
2015-12-04 08:38:42 -07:00
2015-12-29 17:45:49 -08:00
2015-12-13 14:30:59 -08:00
2016-03-09 15:34:52 -08:00
2015-11-13 20:34:33 -05:00