All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH mlx5-next] net/mlx5: Fix broken hca cap offset
@ 2019-05-01  3:21 Saeed Mahameed
  2019-05-01 20:55 ` Saeed Mahameed
  0 siblings, 1 reply; 2+ messages in thread
From: Saeed Mahameed @ 2019-05-01  3:21 UTC (permalink / raw)
  To: Saeed Mahameed, Leon Romanovsky
  Cc: netdev, linux-rdma, Qian Cai, Yevgeny Kliteynik

The cited commit broke the offsets of hca cap struct, fix it.
While at it, cleanup a white space introduced by the same commit.

Fixes: b169e64a2444 ("net/mlx5: Geneve, Add flow table capabilities for Geneve decap with TLV options")
Reported-by: Qian Cai <cai@lca.pw>
Cc: Yevgeny Kliteynik <kliteyn@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
---
 include/linux/mlx5/mlx5_ifc.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 6a7fc18a9fe3..6b2e6b710ac0 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -1265,7 +1265,7 @@ struct mlx5_ifc_cmd_hca_cap_bits {
 	u8         max_geneve_tlv_option_data_len[0x5];
 	u8         reserved_at_570[0x10];
 
-	u8         reserved_at_580[0x1c];
+	u8         reserved_at_580[0x3c];
 	u8         mini_cqe_resp_stride_index[0x1];
 	u8         cqe_128_always[0x1];
 	u8         cqe_compression_128[0x1];
@@ -9566,7 +9566,7 @@ struct mlx5_ifc_sw_icm_bits {
 	u8         sw_icm_start_addr[0x40];
 
 	u8         reserved_at_c0[0x140];
-}; 
+};
 
 struct mlx5_ifc_geneve_tlv_option_bits {
 	u8         modify_field_select[0x40];
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH mlx5-next] net/mlx5: Fix broken hca cap offset
  2019-05-01  3:21 [PATCH mlx5-next] net/mlx5: Fix broken hca cap offset Saeed Mahameed
@ 2019-05-01 20:55 ` Saeed Mahameed
  0 siblings, 0 replies; 2+ messages in thread
From: Saeed Mahameed @ 2019-05-01 20:55 UTC (permalink / raw)
  To: Leon Romanovsky; +Cc: cai, netdev, linux-rdma, Yevgeny Kliteynik

On Wed, 2019-05-01 at 03:21 +0000, Saeed Mahameed wrote:
> The cited commit broke the offsets of hca cap struct, fix it.
> While at it, cleanup a white space introduced by the same commit.
> 
> Fixes: b169e64a2444 ("net/mlx5: Geneve, Add flow table capabilities
> for Geneve decap with TLV options")
> Reported-by: Qian Cai <cai@lca.pw>
> Cc: Yevgeny Kliteynik <kliteyn@mellanox.com>
> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
> ---


Applied to mlx5-next

Thanks!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-01 20:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-01  3:21 [PATCH mlx5-next] net/mlx5: Fix broken hca cap offset Saeed Mahameed
2019-05-01 20:55 ` Saeed Mahameed

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.