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 4ABF8A0521; Thu, 23 Jul 2020 14:06:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 465601C133; Thu, 23 Jul 2020 14:02:46 +0200 (CEST) Received: from relay.smtp.broadcom.com (relay.smtp.broadcom.com [192.19.211.62]) by dpdk.org (Postfix) with ESMTP id AFEC71BFF9 for ; Thu, 23 Jul 2020 14:02:07 +0200 (CEST) Received: from dhcp-10-123-153-55.dhcp.broadcom.net (bgccx-dev-host-lnx35.bec.broadcom.net [10.123.153.55]) by relay.smtp.broadcom.com (Postfix) with ESMTP id 3EEF629ACEC; Thu, 23 Jul 2020 05:02:07 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 relay.smtp.broadcom.com 3EEF629ACEC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1595505727; bh=1wrYzR9KhYiiTpblcD1c9uhBA0oVelAEjRqaiRK+UxU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q6MLnbd+T99uV6JXQ/CUaVPYBNACMB9euMHOIsi6N27wMmqgyW9H6nWqVZFKot0Kv Pi13VQi8+0EhzhrT0mA5bdfLZOScqdERsbx+d7JVPVosA8aMR6fZG/UX6A5NRZIyrr aqdd6oUQuTeuSmD9vbH176axjotmmVZESXsPgLhk= From: Somnath Kotur To: dev@dpdk.org Cc: ferruh.yigit@intel.com Date: Thu, 23 Jul 2020 17:26:38 +0530 Message-Id: <20200723115639.22357-20-somnath.kotur@broadcom.com> X-Mailer: git-send-email 2.10.1.613.g2cc2e70 In-Reply-To: <20200723115639.22357-1-somnath.kotur@broadcom.com> References: <20200723111329.21855-1-somnath.kotur@broadcom.com> <20200723115639.22357-1-somnath.kotur@broadcom.com> Subject: [dpdk-dev] [PATCH v2 19/20] net/bnxt: enabled shadow tables during session open 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: Mike Baucom Turn on shadow memory in the core to allow search before allocate. This allows reuse of constrained resources. Signed-off-by: Mike Baucom Reviewed-by: Venkat Duvvuru --- drivers/net/bnxt/tf_ulp/bnxt_ulp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/tf_ulp/bnxt_ulp.c b/drivers/net/bnxt/tf_ulp/bnxt_ulp.c index 2febd58..077527f 100644 --- a/drivers/net/bnxt/tf_ulp/bnxt_ulp.c +++ b/drivers/net/bnxt/tf_ulp/bnxt_ulp.c @@ -81,7 +81,7 @@ ulp_ctx_session_open(struct bnxt *bp, return rc; } - params.shadow_copy = false; + params.shadow_copy = true; params.device_type = TF_DEVICE_TYPE_WH; resources = ¶ms.resources; /** RX **/ -- 2.7.4