Files
i2som-imx-linux/include/linux
Alex Vesker 4ac80b02f1 IB/mlx5: Replace tunnel mpls capability bits for tunnel_offloads
commit 41e684ef3f upstream.

Until now the flex parser capability was used in ib_query_device() to
indicate tunnel_offloads_caps support for mpls_over_gre/mpls_over_udp.

Newer devices and firmware will have configurations with the flexparser
but without mpls support.

Testing for the flex parser capability was a mistake, the tunnel_stateless
capability was intended for detecting mpls and was introduced at the same
time as the flex parser capability.

Otherwise userspace will be incorrectly informed that a future device
supports MPLS when it does not.

Link: https://lore.kernel.org/r/20200305123841.196086-1-leon@kernel.org
Cc: <stable@vger.kernel.org> # 4.17
Fixes: e818e255a5 ("IB/mlx5: Expose MPLS related tunneling offloads")
Signed-off-by: Alex Vesker <valex@mellanox.com>
Reviewed-by: Ariel Levkovich <lariel@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-13 10:48:10 +02:00
..
2019-08-09 09:15:05 +02:00
2019-09-17 10:27:46 -07:00
2020-02-19 19:53:09 +01:00
2020-02-11 04:35:52 -08:00
2018-05-26 09:16:44 +02:00
2019-08-20 22:09:52 +02:00
2019-05-14 19:52:50 -07:00
2019-04-09 17:05:46 -07:00
2019-05-07 08:39:02 -06:00
2018-03-26 15:09:38 +02:00
2018-08-22 10:52:48 -07:00
2019-02-28 03:28:53 -05:00
2018-01-01 12:40:27 -07:00
2019-08-05 21:52:53 +02:00
2019-02-28 08:24:23 -07:00
2018-12-19 10:42:08 +01:00
2020-03-25 08:25:58 +01:00
2020-03-25 08:25:58 +01:00
2019-04-22 09:48:12 -06:00
2019-02-15 16:54:38 +01:00
2019-09-05 11:40:54 +02:00
2010-02-09 11:13:56 +01:00
2019-10-02 06:36:50 -07:00
2018-06-22 13:43:27 +09:00
2019-06-10 13:00:24 +02:00
2019-12-13 08:42:53 +01:00
2019-09-02 11:43:54 +01:00
2018-07-12 21:35:28 +02:00
2018-11-30 13:29:04 +00:00
2018-04-12 09:41:19 -07:00
2019-03-07 18:32:03 -08:00
2019-09-05 12:32:05 +02:00
2018-06-07 17:34:35 -07:00
2019-12-13 08:43:18 +01:00
2019-08-14 15:30:35 +02:00
2018-03-26 13:14:43 -04:00
2019-08-08 09:09:25 +02:00
2018-10-17 13:56:58 -07:00
2019-07-08 19:25:19 -07:00
2019-06-13 09:02:33 -04:00
2018-12-06 15:45:46 +01:00
2019-02-08 15:02:49 -08:00
2019-07-26 17:01:29 -06:00
2018-10-21 10:46:39 -04:00
2017-11-09 10:23:28 +01:00
2020-03-18 07:17:46 +01:00
2019-08-01 21:49:46 +02:00
2018-07-20 01:11:45 +02:00
2019-08-23 16:39:26 +01:00
2019-05-08 22:14:36 +02:00
2018-09-25 20:17:35 -07:00
2020-04-02 15:11:00 +02:00
2019-05-31 12:37:46 -07:00
2018-07-07 17:25:23 +02:00
2019-10-31 14:01:40 -07:00
2019-02-07 16:38:35 +01:00
2018-01-15 12:07:46 -08:00
2018-06-20 11:35:56 +02:00
2019-09-25 17:51:41 -07:00
2019-09-07 21:42:25 +02:00
2019-10-02 10:06:45 +02:00
2018-10-11 09:16:44 -07:00
2019-02-07 00:13:27 +01:00
2019-08-30 07:27:17 -07:00
2019-01-11 18:05:40 -08:00
2020-03-25 08:25:58 +01:00
2020-04-02 15:11:00 +02:00
2018-05-14 09:51:34 -04:00
2017-08-15 09:02:08 -07:00