OSDN Git Service

net/mlx5: Fix broken hca cap offset
authorSaeed Mahameed <saeedm@mellanox.com>
Wed, 1 May 2019 03:21:05 +0000 (03:21 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 1 May 2019 20:38:47 +0000 (13:38 -0700)
commit91a40a48d52d13fbde3239d5839335cabd9a4eae
tree1a373666febaa4164e3a0596a14b8dc470d37a24
parentb169e64a24442e02cafee1586f17fcb713fe65a6
net/mlx5: Fix broken hca cap offset

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