summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/sf/mlx5_ifc_vhca_event.h
diff options
context:
space:
mode:
authorParav Pandit <parav@nvidia.com>2021-02-26 11:15:16 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-03-10 22:01:57 +0300
commit6a3717544ce9ee8a2058fbc75c67060515435937 (patch)
treea1c4c6daf1e0358a0bc231c2526d49a601149cd8 /drivers/net/ethernet/mellanox/mlx5/core/sf/mlx5_ifc_vhca_event.h
parent8b90d897823b28a51811931f3bdc79f8df79407e (diff)
downloadlinux-6a3717544ce9ee8a2058fbc75c67060515435937.tar.xz
net/mlx5: SF, Correct vhca context size
Fix vhca context size as defined by device interface specification. Fixes: f3196bb0f14c ("net/mlx5: Introduce vhca state event notifier") Signed-off-by: Parav Pandit <parav@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/sf/mlx5_ifc_vhca_event.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/sf/mlx5_ifc_vhca_event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/sf/mlx5_ifc_vhca_event.h b/drivers/net/ethernet/mellanox/mlx5/core/sf/mlx5_ifc_vhca_event.h
index 1daf5a122ba3..4fc870140d71 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/sf/mlx5_ifc_vhca_event.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/sf/mlx5_ifc_vhca_event.h
@@ -20,7 +20,7 @@ struct mlx5_ifc_vhca_state_context_bits {
u8 sw_function_id[0x20];
- u8 reserved_at_40[0x80];
+ u8 reserved_at_40[0x40];
};
struct mlx5_ifc_query_vhca_state_out_bits {