net/mlx5: optimize header modify action memory
authorMatan Azrad <matan@nvidia.com>
Tue, 13 Jul 2021 08:44:40 +0000 (11:44 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Thu, 15 Jul 2021 13:19:09 +0000 (15:19 +0200)
commite681eb0515ffa3f7ebfdc67d854f9e93c8d91f51
tree292f5889bff2d4b25d1b1a401555ff8497db8486
parentb4edeaf3efd51e677e5c10cc30a07c250a739316
net/mlx5: optimize header modify action memory

Define the types of the modify header action fields to be with the
minimum size needed for the optional values range.

Signed-off-by: Matan Azrad <matan@nvidia.com>
Acked-by: Suanming Mou <suanmingm@nvidia.com>
drivers/common/mlx5/linux/mlx5_glue.h
drivers/net/mlx5/linux/mlx5_flow_os.h
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c