]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Don't store reserved part in FTEs and FGs
authorMatan Barak <matanb@mellanox.com>
Mon, 7 Aug 2017 08:14:11 +0000 (11:14 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 24 Aug 2017 13:02:58 +0000 (16:02 +0300)
commit1aab739eed68778075a4ac2802ba302b6b2d33e2
tree3372de0fb49b1b82f4dfcb2cd26631cb7944741b
parente7d42f25e206e3e1d0834235b97091c9e9746d33
net/mlx5: Don't store reserved part in FTEs and FGs

The current code stores fte_match_param in the software representation
of FTEs and FGs. fte_match_param contains a large reserved area at the
bottom of the struct. Since downstream patches are going to hash this
part, we would like to avoid doing so on a reserved part.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h
include/linux/mlx5/device.h