[PATCH 10/19] common/cnxk: feature fn to check 16B alignment
Nithin Dabilpuram
ndabilpuram at marvell.com
Mon Sep 1 09:30:26 CEST 2025
From: Rakesh Kudurumalla <rkudurumalla at marvell.com>
Added function to check whether board supports
16B alignment
Signed-off-by: Rakesh Kudurumalla <rkudurumalla at marvell.com>
---
drivers/common/cnxk/roc_features.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/common/cnxk/roc_features.h b/drivers/common/cnxk/roc_features.h
index 62a1b9e0b2..0663aef4b0 100644
--- a/drivers/common/cnxk/roc_features.h
+++ b/drivers/common/cnxk/roc_features.h
@@ -126,4 +126,9 @@ roc_feature_nix_has_sq_cnt_update(void)
return roc_model_is_cn20k();
}
+static inline bool
+roc_feature_nix_has_16b_align(void)
+{
+ return roc_model_is_cn20k();
+}
#endif
--
2.34.1
More information about the dev
mailing list