[PATCH v1 16/23] net/mlx5/hws: increase hl size for future compatibility
Michael Baum
michaelba at nvidia.com
Sun Dec 3 12:25:36 CET 2023
From: Alex Vesker <valex at nvidia.com>
In some cases we rely on header layout DW offset from FW caps,
this is done in case of future HW which may support current
flex fields natively, for this we must increase header layout to
255 DWs, which is the limit in current definer creation.
Signed-off-by: Alex Vesker <valex at nvidia.com>
---
drivers/net/mlx5/hws/mlx5dr_definer.h | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/mlx5/hws/mlx5dr_definer.h b/drivers/net/mlx5/hws/mlx5dr_definer.h
index 6f1c99e37a..e2be579303 100644
--- a/drivers/net/mlx5/hws/mlx5dr_definer.h
+++ b/drivers/net/mlx5/hws/mlx5dr_definer.h
@@ -523,10 +523,8 @@ struct mlx5_ifc_definer_hl_bits {
u8 unsupported_free_running_timestamp[0x40];
struct mlx5_ifc_definer_hl_flex_parser_bits flex_parser;
struct mlx5_ifc_definer_hl_registers_bits registers;
- /* struct x ib_l3_extended; */
- /* struct x rwh */
- /* struct x dcceth */
- /* struct x dceth */
+ /* Reserved in case header layout on future HW */
+ u8 unsupported_reserved[0xd40];
};
enum mlx5dr_definer_gtp {
--
2.25.1
More information about the dev
mailing list