From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id 045CA1DBA for ; Mon, 30 Apr 2018 16:44:14 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id l1so14686684wmb.2 for ; Mon, 30 Apr 2018 07:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EvSbVn9Ku0dNQtoA51ViTJqyfOsyOJqP3W9c0U6Zpac=; b=tjQbhanJTqYKUMfYW8TsQK8sSERexY1/7a5MyWsPhtM/SGRUi78CIZpyv8qkEyZsjC i6SVs/UzF9RuF/ClGhlQQjYHjjmtbBq3/sG6UbMxIhIfNnr8EMFxoGZHv8YFSseWLfY1 ozCbOrtqg5Kgxgon3On6DU2dWP8NbL7YQizcR8DCIQ4QgGQNXtJIJL/Hj7Yxo8XSn/6a MeIqYfRmkuhEchytDNBUA8slVQrKbrnUIFM/bmihtcEPCYTJ+EC1X/VucL1TYfi2LaqD ydtVDK/Bz6Bpb6nd1iM18InTuV5XDzJ1+FdqbtfPsQN3TUpKrd1peV7KHHu2nqFrPo80 nQ5A== 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; bh=EvSbVn9Ku0dNQtoA51ViTJqyfOsyOJqP3W9c0U6Zpac=; b=DTcEYWD56vqBJ1yfvsosLY5hryEP8Y0eEmkVl+DB7iBPdxXWsN9weJ8FYMC+PjPWnJ zT5FOGDulm3FBhfBck9+KTZ+2wEknGPeF8yN+Q1ozdBFZTzLs34et6BlCuLqu3BaOym/ 9v+japcL9Ju1n7RBHYSD/ZAY6jYOZnY30kFCFsW7mDfXpJJFn+bacnmRD2xqkzfzA4y5 wycdcq1QmcVoZtx31y432imI78E+eMmYXIBCTsaYlAXI7jR3cgFkulh/maOLOux+ysO3 RNpIkpxeRhl+2BfcJi4NFjHz9afhjRbICh0JVYFFsbh/Pl9rctZ70kLJDiq0g2vqFd9J bsrw== X-Gm-Message-State: ALQs6tDm4rjK17R3J2DyvGdQFK7O5Bp7RE5Qr8t+kucmB7quKsvUfoNf ftHNDPIUczyLyM4ddcNhTxwwixq7LwE= X-Google-Smtp-Source: AB8JxZqcl4QQfpyn3ahfTdte11LDrZ3cuXMJHCRoOT0MhQenhljUBsktJqXtZUokmUlNxtBi3RNOLQ== X-Received: by 10.28.141.138 with SMTP id p132mr7430309wmd.49.1525099454500; Mon, 30 Apr 2018 07:44:14 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id w31-v6sm12646694wrb.93.2018.04.30.07.44.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:44:13 -0700 (PDT) From: luca.boccassi@gmail.com To: Ashish Jain Cc: dpdk stable Date: Mon, 30 Apr 2018 15:41:23 +0100 Message-Id: <20180430144223.18657-68-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430144223.18657-1-luca.boccassi@gmail.com> References: <20180430140606.4615-80-luca.boccassi@gmail.com> <20180430144223.18657-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'crypto/dpaa_sec: add portal presence check' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 14:44:15 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 1180a9ca1288dbec5b311269bc6766a1b29edae4 Mon Sep 17 00:00:00 2001 From: Ashish Jain Date: Mon, 2 Apr 2018 21:03:18 +0530 Subject: [PATCH] crypto/dpaa_sec: add portal presence check [ upstream commit 5b0f1bd36a83ef63a52bf14913566b9edb2067cc ] Adding a check to do portal configuration if not already configured before packet enqueue. This check is only done during dpaa_sec_attach_sess_q for initial packets, so this change wont affect the data path and hence performance. Fixes: e79416d10fa3 ("crypto/dpaa_sec: support multiple sessions per queue pair") Signed-off-by: Ashish Jain --- drivers/crypto/dpaa_sec/dpaa_sec.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c index 18681cf3a..9cf36b063 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.c +++ b/drivers/crypto/dpaa_sec/dpaa_sec.c @@ -1759,7 +1759,13 @@ dpaa_sec_attach_sess_q(struct dpaa_sec_qp *qp, dpaa_sec_session *sess) PMD_DRV_LOG(ERR, "Unable to prepare sec cdb"); return -1; } - + if (unlikely(!RTE_PER_LCORE(dpaa_io))) { + ret = rte_dpaa_portal_init((void *)0); + if (ret) { + PMD_DRV_LOG(ERR, "Failure in affining portal"); + return ret; + } + } ret = dpaa_sec_init_rx(sess->inq, dpaa_mem_vtop(&sess->cdb), qman_fq_fqid(&qp->outq)); if (ret) -- 2.14.2