]> asedeno.scripts.mit.edu Git - linux.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)
commit667cb65ae5ad01523505d48d6cfd92bd1d3c9785
tree3372de0fb49b1b82f4dfcb2cd26631cb7944741b
parent8ebabaa02fe13e534ae5b0a8aa495762c25ef279
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