Adds cnf20ka platform check for plain packet reassembly
features.

Signed-off-by: Rahul Bhansali <[email protected]>
---
 drivers/common/cnxk/roc_features.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/common/cnxk/roc_features.h 
b/drivers/common/cnxk/roc_features.h
index 3c34041d76..57a51c4db3 100644
--- a/drivers/common/cnxk/roc_features.h
+++ b/drivers/common/cnxk/roc_features.h
@@ -117,7 +117,7 @@ roc_feature_nix_has_inl_profile(void)
 static inline bool
 roc_feature_nix_has_plain_pkt_reassembly(void)
 {
-       return roc_model_is_cn20k();
+       return roc_model_is_cn20k() && !roc_model_is_cnf20ka();
 }
 
 static inline bool
-- 
2.34.1

Reply via email to