From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 26555A052A; Sat, 18 Jul 2020 09:26:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 070FB1BFE6; Sat, 18 Jul 2020 09:25:43 +0200 (CEST) Received: from mail-wm1-f97.google.com (mail-wm1-f97.google.com [209.85.128.97]) by dpdk.org (Postfix) with ESMTP id AC5C91BFD1 for ; Sat, 18 Jul 2020 09:25:38 +0200 (CEST) Received: by mail-wm1-f97.google.com with SMTP id f18so20502602wml.3 for ; Sat, 18 Jul 2020 00:25:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pMkTPuLm4PmL9hG63bSeYvmMvrGaQJQnV7n2Ju72LBU=; b=W/omGQmgCetR4yAYCzasffi6klGzltAORSLXM0Wu6aE74Q5KINZQmcNInwotBLCkO+ WMkqRi7stzJBQeQeUDChV4giYDF6k1M04+VSd9OvaBvIPatssvc9gX8mvCp3LAGGZWq5 K2xU2uJsg028WPZRo3c2TYXnAiye1UaI7W/hQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pMkTPuLm4PmL9hG63bSeYvmMvrGaQJQnV7n2Ju72LBU=; b=IPqURTmklBhMJy9cYKeSGxzf1s1vn1Q5iMfO+yWshQlpNAp9l0SfRX9iHBknH6TlzC PKFutDx+A7ixirCSRxWAd98gjbX+0vzPChv+Cqdh8MhfwlMh8JITcZDOIUOsDW+h/5Mg doO4h3c/ug/lKhPdZ3+yHTx3cJDSKgIS/F1fp95UkKIJsWZwR4VC9STKDCE8EzAzlpZV hjIT8dON3+7O2QfQhALKZDAEHUp6yACfMT77Y6VGdfV2NGH193nkK4xh/rExS8ju7VAB C+kdkYOn1CRnyZ62YIkRow8Q6Wgvbw7sNUKfbsHNzKC74zRKA6GHMr82nmA5lE7Rj0pe EEGA== X-Gm-Message-State: AOAM530e2B5IL0iGPEliGcTQNr0C23azwHSTidnUlwjslmkfxgAz+Pdd wLuCHxGCpgqDJlyR1+ZwBDyJhtgqZcZTNaAkBLCLbgTZIn2dQffzB40coUC3uY0y1PsAV6G1T0Z tssmc6acd1dv9+mTJHg1FrzrjJN0kiBw4lyc4qHmsSbyRfvEfcMmI5aR1SuXZ6XJAlY9IFsLKpB g4nQ== X-Google-Smtp-Source: ABdhPJx7BSwENcYK5e+hZgbZNlKdQNIGo3K8IV8G91O4ktkK0WyzsKw0T6ibKHhk5iNfZbFZsXIK1K3UxGXE X-Received: by 2002:a1c:2402:: with SMTP id k2mr12652202wmk.138.1595057138020; Sat, 18 Jul 2020 00:25:38 -0700 (PDT) Received: from localhost.localdomain ([192.19.223.252]) by smtp-relay.gmail.com with ESMTPS id g14sm34554wrb.16.2020.07.18.00.25.36 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Jul 2020 00:25:38 -0700 (PDT) X-Relaying-Domain: broadcom.com From: Ajit Khaparde To: dev@dpdk.org Cc: Farah Smith , Somnath Kotur , Randy Schacher Date: Sat, 18 Jul 2020 00:25:07 -0700 Message-Id: <20200718072515.62969-7-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) In-Reply-To: <20200718072515.62969-1-ajit.khaparde@broadcom.com> References: <20200717141451.11705-1-somnath.kotur@broadcom.com> <20200718072515.62969-1-ajit.khaparde@broadcom.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 06/14] net/bnxt: fix exact match message size X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Farah Smith Fix incorrect EM message size when calling insert_em_internal. Fixes: 98487d729b4a ("net/bnxt: cleanup and refactor session management") Signed-off-by: Farah Smith Signed-off-by: Somnath Kotur Reviewed-by: Randy Schacher Reviewed-by: Ajit Khaparde --- 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)