From: Farah Smith <[email protected]>
Fix incorrect EM message size when calling insert_em_internal.
Fixes: 98487d729b4a ("net/bnxt: cleanup and refactor session management")
Signed-off-by: Farah Smith <[email protected]>
Signed-off-by: Somnath Kotur <[email protected]>
Reviewed-by: Randy Schacher <[email protected]>
Reviewed-by: Ajit Khaparde <[email protected]>
---
drivers/net/bnxt/tf_core/tf_msg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/bnxt/tf_core/tf_msg.c
b/drivers/net/bnxt/tf_core/tf_msg.c
index 53515ada3..2e2d4264c 100644
--- a/drivers/net/bnxt/tf_core/tf_msg.c
+++ b/drivers/net/bnxt/tf_core/tf_msg.c
@@ -27,7 +27,7 @@
* tf.yaml changes.
*/
#define TF_MSG_SET_GLOBAL_CFG_DATA_SIZE 16
-#define TF_MSG_EM_INSERT_KEY_SIZE 8
+#define TF_MSG_EM_INSERT_KEY_SIZE 64
#define TF_MSG_TCAM_SET_DEV_DATA_SIZE 88
#define TF_MSG_TBL_TYPE_SET_DATA_SIZE 88
--
2.21.1 (Apple Git-122.3)