net/bnxt: fix L2 filter allocation
[dpdk.git] / drivers / net / bnxt / tf_core / tf_msg.c
index 1e14d92..db471f6 100644 (file)
@@ -27,8 +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_TCAM_SET_DEV_DATA_SIZE    88
+#define TF_MSG_EM_INSERT_KEY_SIZE        64
 #define TF_MSG_TBL_TYPE_SET_DATA_SIZE    88
 
 /* Compile check - Catch any msg changes that we depend on, like the
@@ -143,7 +142,8 @@ tf_msg_session_open(struct tf *tfp,
                return rc;
 
        *fw_session_id = (uint8_t)tfp_le_to_cpu_32(resp.fw_session_id);
-       *fw_session_client_id = (uint8_t)tfp_le_to_cpu_32(resp.fw_session_id);
+       *fw_session_client_id =
+               (uint8_t)tfp_le_to_cpu_32(resp.fw_session_client_id);
 
        return rc;
 }