From patchwork Thu Jan 25 09:53:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 125778 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp997365ljf; Thu, 25 Jan 2018 01:54:53 -0800 (PST) X-Google-Smtp-Source: AH8x2265aobK1oA+FM5UJ19Wi2kRKwEE3DunIa5vLjflauCYaiGAEe4ek7etgtr1t8WrawPl++L7 X-Received: by 10.28.10.206 with SMTP id 197mr6730959wmk.61.1516874093374; Thu, 25 Jan 2018 01:54:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516874093; cv=none; d=google.com; s=arc-20160816; b=N8Px/XAWgCPm6PHUEKtxLCf7XygR+Y8bX00nUZOnk7SZYGGYv2gbdQhKy52Kyz/jsX IwtDZf0Mh9VlrNzHTe/59LUQGVyKik9uL6Go1vW0hz8+7dqcihAmQIGZq5uAqDne4OyI qLtLeHktg9gb1cxgB5CB/rGkmUQdT2vhGWfDxvTkZsLtHeOYCBlN3IJg8thlvF4WzWyv fIR9pz+ysvl0byenG5XHSEzTQ0BvPpLtvFHfdmfrNwEaR8809OUvGoCjMlhCnY6lXrlX OF2tHBS/ZdmKKc03WakefxHFK9YMwwI0WaALa1UlmkktZ5boWYtw86brR4RDT0ChicD+ nvaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:arc-authentication-results; bh=rSqhrDjXmlpERIz+IpGYgsD5cYdqJzfRaZc7g97p8J0=; b=zs2Fi4nB/Cmgtik9J32ZHVD2a6rajt2F6CRBcnGre6fIQRCRY6b1u8AtvQf34ONoLA cI/vnQ0OEeMis5OYvlPraDeb7bOAxvzerVp2Ug9ptQMSC0bzGEbdPhglKvJltJq+UuyX IIpeVMHzlF/Zur3WzV1ciig12/U3jERXDdfQOP2OCVXznxIkN3yXOA99vvUtaFg3tmOu ooqegiN9pgfihdC16QNse2HXJyjjWee4ckbOWmtyd0ZQk0IUKoAtx1X2TtwHgk993Ltx hEBlbE1OYQpmpHO/mOeGXipnGyKPomkKn1H4Lt0olpGPnh03uGojFBP80ZBhOay4ytP8 SJsw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id h22si3527787wrb.220.2018.01.25.01.54.53; Thu, 25 Jan 2018 01:54:53 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4B02F1B171; Thu, 25 Jan 2018 10:54:52 +0100 (CET) Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0044.outbound.protection.outlook.com [104.47.38.44]) by dpdk.org (Postfix) with ESMTP id 6C6481B161; Thu, 25 Jan 2018 10:54:50 +0100 (CET) Received: from CY1PR03CA0015.namprd03.prod.outlook.com (2603:10b6:600::25) by BY1PR03MB1417.namprd03.prod.outlook.com (2a01:111:e400:5255::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Thu, 25 Jan 2018 09:54:48 +0000 Received: from BN1AFFO11FD037.protection.gbl (2a01:111:f400:7c10::184) by CY1PR03CA0015.outlook.office365.com (2603:10b6:600::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.444.14 via Frontend Transport; Thu, 25 Jan 2018 09:54:47 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD037.mail.protection.outlook.com (10.58.52.241) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.428.12 via Frontend Transport; Thu, 25 Jan 2018 09:54:47 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id w0P9sfR6022450; Thu, 25 Jan 2018 02:54:45 -0700 From: Hemant Agrawal To: CC: , Date: Thu, 25 Jan 2018 15:23:27 +0530 Message-ID: <1516874011-8760-2-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> References: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131613476877338254; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(376002)(39380400002)(396003)(39860400002)(346002)(2980300002)(1109001)(1110001)(339900001)(199004)(189003)(105606002)(86362001)(85426001)(36756003)(316002)(69596002)(53936002)(356003)(97736004)(2906002)(77096007)(26005)(6666003)(2351001)(6916009)(2950100002)(47776003)(106466001)(54906003)(16586007)(336011)(5660300001)(104016004)(48376002)(50466002)(450100002)(4326008)(68736007)(81156014)(8676002)(50226002)(51416003)(81166006)(8936002)(76176011)(305945005)(498600001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR03MB1417; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD037; 1:KObbL8A3ln8u0YZu802z0tGdgK2nMtXUZv5bA1WrlmSGefu61zMQer4H/3g884ta/sCcFUN0/k0j75H8KURqxm44qNOZyPOsJhDunp+0oaS7UmElEtMl4BPz+PE0AC/h MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 758485ca-52a1-47bc-252d-08d563d9ab62 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:BY1PR03MB1417; X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1417; 3:1ztt+VFJpNFN37g0BvltfUr1ERslRZ6ZeQnhvRna8zcsXW1bmqEzh9ostWbHJrGY6j+FmWQOiBvjrHeXh/aEh11wMywxAMw1u5YvgLxeb3ForCOOWGKyi+gzRqHIbQEglWgbklDzQhctb9ebcCLrYOfc88k8wEOBCBbsVuy7MFukryVw/gwWBE/8FLf0zLdKWBKEXKxSXVraDi4T5hnPFzG7N2jgcY2moZuZ4408Vq1xJfJJqVpjWS3CaiN2MKfQfo5OEJTNt2wieBkz/Npy7QcGjbBoTr/k/5sUnjseHNjfKXM6U0nBJX+6LWSENe0Stq9+YTgCTUrl2045EBnq6Q==; 25:76H1g/100M65+4PpajezmEszQranXvZvFt4x1zGyxtNP22efJALzVMMATaHno0xllGmQZLwTgKqc5MDFSqaYxQ6mTvOnX7P+8xJCPOgpjrKlnAgZLKaTRfltgRx41Xw0rE0pC7/ZYZhauCgEZTf5gIFOUjhJIL+shUGGbpYz/Ml4bEYe+uU/d7BlO4cSwj6sSK5FxlxswxDcUldgjAcfdGHSbsaOFYGnrkhq0AO9kJVZnR+nBMpSIqdcyNt9K+XbTcim7c/Uv8LCYmNsDwaiYoaKao0/UMt5QG0YfUeuWRrgxa9i2fYgLSVoTm/5EeNw8GxwK7CmUCVi9yke7FyXXg==; 31:tj7nslRSMSaoRnkfzMFs0v3NbVciuu4zPPXErwVJu8LvWQQkoUigMKpexxqIbDjaeZuxgiFelPo/pKZe+ahQIAJgxJyfviiPM2xE/xewtfXPQZVBlfXRUvwyHBPV+snEprvyYTA+Daq//HkvxK945eRQq2rf99+3epc50Md2dWHjnB7Ilz3496Ydy6b/tAV/6OtrTBg6NbZuNkP4OJRbXNlyZNHvKDsDkywmdu1bTJs= X-MS-TrafficTypeDiagnostic: BY1PR03MB1417: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(3231023)(2400081)(944501161)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(20161123565025)(20161123556025)(20161123563025)(20161123559100)(20161123561025)(201703131430075)(201703131433075)(201703131448075)(201703151042153)(201708071742011); SRVR:BY1PR03MB1417; BCL:0; PCL:0; RULEID:(400006); SRVR:BY1PR03MB1417; X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1417; 4:y4JYi5sCVnB04Uz0KiJQiuLhYWQfy626st77FhIBXtsprl1uT/bQTJbKjMMQmWUgPqSKfUpScuKReRHB4oxkswxcVoEs27ttJ2LyXKlXHlW9vGYpMYE3opRv+bS+hhwbTlj2YoxCdbYR3wybdAW8vq5A5TkeM3W9yVkJXra7SjaGwJo58BSobHkPBaXfhP5E/ynlFvDc99AM8BYdXEM73IySdk3AkM6EoxY8kC49N5SmcgW9pwtF1QI6SdnsdQYteVvXy/fkvT07nHO/BAINbvq8a8/KE+0vYsqq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l/3Xla7i5GS+BHLA4FFZ6T4BFJD SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2018 09:54:47.4530 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 758485ca-52a1-47bc-252d-08d563d9ab62 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1417 Subject: [dpdk-dev] [PATCH 1/5] bus/dpaa: fix compilation warnings with clang 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" fman.c:570:15: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat] __FILE__, __LINE__, __func__, fman/netcfg_layer.c:80:1: error: unused function 'get_num_netcfg_interfaces ' [-Werror,-Wunused-function] get_num_netcfg_interfaces(char *str) Fixes: 5b22cf744689 ("bus/dpaa: introducing FMan configurations") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 2 +- drivers/bus/dpaa/base/fman/netcfg_layer.c | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) -- 2.7.4 Acked-by: Shreyansh Jain diff --git a/drivers/bus/dpaa/base/fman/fman.c b/drivers/bus/dpaa/base/fman/fman.c index 1dd1f91..bda62e0 100644 --- a/drivers/bus/dpaa/base/fman/fman.c +++ b/drivers/bus/dpaa/base/fman/fman.c @@ -566,7 +566,7 @@ fman_finish(void) /* release the mapping */ _errno = munmap(__if->ccsr_map, __if->regs_size); if (unlikely(_errno < 0)) - fprintf(stderr, "%s:%hu:%s(): munmap() = %d (%s)\n", + fprintf(stderr, "%s:%d:%s(): munmap() = %d (%s)\n", __FILE__, __LINE__, __func__, -errno, strerror(errno)); printf("Tearing down %s\n", __if->node_path); diff --git a/drivers/bus/dpaa/base/fman/netcfg_layer.c b/drivers/bus/dpaa/base/fman/netcfg_layer.c index 24186c9..3e956ce 100644 --- a/drivers/bus/dpaa/base/fman/netcfg_layer.c +++ b/drivers/bus/dpaa/base/fman/netcfg_layer.c @@ -76,22 +76,6 @@ dump_netcfg(struct netcfg_info *cfg_ptr) } #endif /* RTE_LIBRTE_DPAA_DEBUG_DRIVER */ -static inline int -get_num_netcfg_interfaces(char *str) -{ - char *pch; - uint8_t count = 0; - - if (str == NULL) - return -EINVAL; - pch = strtok(str, ","); - while (pch != NULL) { - count++; - pch = strtok(NULL, ","); - } - return count; -} - struct netcfg_info * netcfg_acquire(void) { From patchwork Thu Jan 25 09:53:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 125779 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp997422ljf; Thu, 25 Jan 2018 01:54:59 -0800 (PST) X-Google-Smtp-Source: AH8x227O1YonfZ/YAk6s5yhtSW6biq6Go/A9GqpmH273aIYQCDoAPQGzqqVin2NpE/KN5hawleNQ X-Received: by 10.28.215.76 with SMTP id o73mr7440844wmg.51.1516874099204; Thu, 25 Jan 2018 01:54:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516874099; cv=none; d=google.com; s=arc-20160816; b=w+izL3nl5LD0MbW7sPRwmloAkEUOyEqjcsbtQNecEDk6xcY7qvJCKGiG/WflEQ/auE 9rQv+MVb9zdUzn5uBikGQP2p4T64uD+hQoqmngk+MSB18Jwg+42Nluj1nZoqDuzWfN22 qdSB93QSqTofb3VHuA4y5dmk8/26Qvwy37fRKinPQ/n/mF7i6qvk14SNxdrp7k+jai4T JIUtyTBFKJuhhH0kl/WKlqaeqKWaxEIAF0JPtoKkEcjd5vrbz9JWQX4yVxHH5nwvgrZP qP6DxBw2KFmju7t9ivCHDlgKANh6t6LjMn9jc+VGt3AoGi9he4/3l7cKOjz+WrPAJ2dG fc7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:arc-authentication-results; bh=MPEw4IsFXWZHfjsbEslKU1oBEcItjkDMxuBZ4sy7L+M=; b=i0SOZWWvas9zkoEHLGQSgFoTEpQtyXWba8evzfA0TMypLgdZ7dcSc1hpAkz+7m9r2o Z4H51gUPZj3HdQDdutSwUdfC+pDPpTWoAB7TYthz58qqMYPE6yS5Ep09rVFnAVTtwBvO 2DWwQ+d9GiO9vmwSqroK5NfTiDLGp8OEnSkM7ACpq/tH88I7WHtzhIsmVLQCY+Y9SPM9 eyRSDjcDdWR6qAVxFjQLLRxdoc0vTw5c5dslkpTSCgCMstPd9Ov/y0m6sxD9MiSABuYz Du8t5BLGTuOdAPZwZYSbtoF0K5YZ5nNMwdVR5vmloJlLCz/lbYi6h8mMtUs+YMtNCGXX B+OA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id t6si3695566wre.444.2018.01.25.01.54.59; Thu, 25 Jan 2018 01:54:59 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E9CC11B172; Thu, 25 Jan 2018 10:54:56 +0100 (CET) Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0054.outbound.protection.outlook.com [104.47.42.54]) by dpdk.org (Postfix) with ESMTP id D18CC1200A; Thu, 25 Jan 2018 10:54:51 +0100 (CET) Received: from BN6PR03CA0005.namprd03.prod.outlook.com (10.168.230.143) by BLUPR03MB1409.namprd03.prod.outlook.com (10.163.81.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Thu, 25 Jan 2018 09:54:50 +0000 Received: from BL2FFO11FD014.protection.gbl (2a01:111:f400:7c09::186) by BN6PR03CA0005.outlook.office365.com (2603:10b6:404:23::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.444.14 via Frontend Transport; Thu, 25 Jan 2018 09:54:50 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD014.mail.protection.outlook.com (10.173.160.222) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.428.12 via Frontend Transport; Thu, 25 Jan 2018 09:54:49 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id w0P9sfR7022450; Thu, 25 Jan 2018 02:54:47 -0700 From: Hemant Agrawal To: CC: , Date: Thu, 25 Jan 2018 15:23:28 +0530 Message-ID: <1516874011-8760-3-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> References: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131613476899829982; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39860400002)(346002)(396003)(39380400002)(376002)(2980300002)(1110001)(1109001)(339900001)(189003)(199004)(305945005)(336011)(2351001)(48376002)(50466002)(86362001)(8936002)(81156014)(50226002)(81166006)(106466001)(105606002)(97736004)(69596002)(77096007)(356003)(8676002)(36756003)(47776003)(26005)(85426001)(51416003)(76176011)(54906003)(104016004)(498600001)(53936002)(6666003)(68736007)(2906002)(5660300001)(16586007)(316002)(450100002)(6916009)(2950100002)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB1409; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD014; 1:X/vXqJ61dDtBWBMlvq7d61VG9ReYGwk1MyWWEDsMqpidl3NIeihc+vAPAcQx7Xr2b6nwuPMqyonKg1uDam/VdUv3jMPjVWFahHO75MYeSp9z+OdQIKTswGXdrUXGYydu MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 72d4ea74-87ee-4050-5781-08d563d9acb9 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:BLUPR03MB1409; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1409; 3:PMX8Is+E8RZbCDJIkWSDLVQI2K8MtoWIHAsQiq5jkv6DHazS3xUG8fQ85MyPPImm9BVGAlOuD7aqCiv8KSBvxgZK3RZnz/DHYLVdr4C9XrijnOZldYsDD0P3wrIlVJ0ZPie/gvH5dlb1NUSKTTrWIFvKzSv7RX3fsJfitJiK91wAnULIkfz0XjvC7uv8K7jmtP2v/avypMDEB+Zzjag+zxHhuSwt8FjgBQDRm0xlUIo9g14yTrZ/iUIeBJLpgtixu1TAYBnJE0PeSeml32hDaGd9/HrsLWnoRZ1vpYPq5jlRSb9drLcCh111AxXJcsEtVwrCutmfwgJECZavkSEJZA==; 25:hA3FS2BoHF8EhiCa98vmI9oHnB3tw6fr5paFj/8W2r6N2v0WkOOqrxavywv5xBFn3/Gi/hFHZMf0RTkgYiaEB/9SoyrgFKHK59QX8FTqAfRv+SvyeYEATrIrY1XYWhscH5zcuPHhWS6XtjWSsG2PQo3xHI48D1PJoHLr0dy+20HIEbqIp8QxV//7Bt7CHOo5itpofFVBaRDi254rc/OGAp8YFRFbcxZqrCx0cR1GPErb3szd/3eU1wzOseqWB8lKTnJ2lZb4Zti0jKLTdRVv9xO3fA25IowDVLX9F7nVHL85DFL1YU3CTSUSgrO3k2yQN8n8zcuoqr0PGN0557eo6w==; 31:7JIrCySadx1RZJjIoeHpSa/ezVzp3ucXMJ/N7CcV+sMpPiwD6AxzympMJdNo5GOx9kxsJgov06RaTWkktx8dHZYz5k2ytN4I4JIxVMOzWeNTE2Ed/RvA96vX46yFCfnqqgpxq2l0xAnL6wEHp6ijTafCQHPVVx++e8DgsxSiXOZDRAelrbAXKz5iEr+vyFHTbncejtPR0ESpwTWMdSmBLhtkYMunFORMLuBfaCMiic8= X-MS-TrafficTypeDiagnostic: BLUPR03MB1409: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(3231023)(2400081)(944501161)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123556025)(20161123563025)(20161123565025)(20161123561025)(20161123559100)(201703131430075)(201703131433075)(201703131448075)(201703151042153)(201708071742011); SRVR:BLUPR03MB1409; BCL:0; PCL:0; RULEID:(400006); SRVR:BLUPR03MB1409; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1409; 4:5dDMD/HG/FkbVoAW75ItBZFvLK/cpIhhLYzekQhP8L+munKeZbfcFpkKClDg0qtcvzZjUZ3VmL8C3dej5xDLHsaY8VsSS0g6LuXaT2hVgHj13Jl4g2mymbNhOMCL3f2zFWBIVV4IC5MbGr0CFlQwApsaIvnIayFXMIbjWW5NizBZvxDwpl9lBLFSY+yzx+E9wHPRkEHunFKz4cDW9wTEkEpx9zt+or4OrBK1RqF6lZ6Kmk26foWr8KjzuJ+LsVtz1cpJ9I/9WxmMN9hoHN0rMNiY8pdR2FUoqHiLU+Rq0yYI58ayryhsRfSnE345ljA5 X-Forefront-PRVS: 0563F2E8B7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB1409; 23:EirAylnWoqXInqQU8TrYoWlaBHYFlUilfSDca51ZT?= AtF8xFZ0KOFCzy8uhF3dEMRIZVbiYJ3Lp2s8hTw6zvBC3k6RMXc/0Yke+XH0NSayBALec3bpRGRb9ylZYyPEHdslUf3bCeJSgqnYO3NUOYV0LA4p9h/gnWGqyWav4q/wUhAVjjHj9lsOOf68D5AOlhKogeVn/ono4+9EhfZ200dtg17wNsmY9JxIRn5Z4xmHcrkOXkyktE0ZIswmzbiM0BzEsqZjoyc9ie+ZwBb5uI6+xfOToTaZUl7/8JChJARO7tA8dlYEgmTGR1UFssHtyp7/QfhFOO/eycMB0YzaHvnEi8cBjGb7CQgBIGPrh0wGc5lfmnmD3SeWpEdGZT74QY5gh9nur+2Uf/cRc+GQ/AuKyyzFnKwF+RawkZlUkOPr1idpBlv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glSg/TktVSw=; 5:iyz85hVpqgmxSt8lf8AoavDnXwrglOecXvtgxZZzuaj32W/JBm3iRxDQhanRp8WF0XSwf+hEi0fFyAjgi+nV91AMjF7ryBzTZl3a58/Rc44TRmB1mbL0bwo7PqLrvA7M18YmXbw0rdvSsyT2k2Sm61f38enIer/16DB6UxYvlXQ=; 24:ypV5l1FEmyQQKk77jQppRflac3cXp6ik1FCIxGoeOTZXHRV6yy8WWa+6x/83n25sjFjibZFa7PS4FvIRrU4vYTx5ggXKTujAq0vhMXU7Lz4=; 7:0mPsciF656s79JaK+LZkDsdH2cuH2a1N93kPyi2rYvm9/NrqoTu+jpuIEY6BdcFzcm5EPn/6RCDEUxNCMJYJW3bC1Le5zh4iLl1SFa8Dglit0CqCcxiiU6aBOYgESPnV00H84IgyN8Dza61iVUxQBlA77y5Dot8sy6KkhKgiGoIQtSNJlBXsBh3ylAid0pwPECGUm7riin+SIHjA+8LyJ7PpWFrc989xGb0dlu9smlb73f2FQUYn6qRb6qbgaIiy SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2018 09:54:49.7490 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 72d4ea74-87ee-4050-5781-08d563d9acb9 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB1409 Subject: [dpdk-dev] [PATCH 2/5] bus/dpaa: fix unused function warning with clang 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" fman/netcfg_layer.c:80:1: error: unused function 'get_num_netcfg_interfaces ' [-Werror,-Wunused-function] get_num_netcfg_interfaces(char *str) Fixes: 919eeaccb2ba ("bus/dpaa: introduce NXP DPAA bus driver skeleton") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 6 ------ 1 file changed, 6 deletions(-) -- 2.7.4 Acked-By: Shreyansh Jain diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dpaa/dpaa_bus.c index ba33566..1093b4d 100644 --- a/drivers/bus/dpaa/dpaa_bus.c +++ b/drivers/bus/dpaa/dpaa_bus.c @@ -63,12 +63,6 @@ dpaa_add_to_device_list(struct rte_dpaa_device *dev) TAILQ_INSERT_TAIL(&rte_dpaa_bus.device_list, dev, next); } -static inline void -dpaa_remove_from_device_list(struct rte_dpaa_device *dev) -{ - TAILQ_INSERT_TAIL(&rte_dpaa_bus.device_list, dev, next); -} - /* * Reads the SEC device from DTS * Returns -1 if SEC devices not available, 0 otherwise From patchwork Thu Jan 25 09:53:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 125799 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp1032278ljf; Thu, 25 Jan 2018 03:03:33 -0800 (PST) X-Google-Smtp-Source: AH8x224/603kuSY9PxRZhTGRdh5votUWmfo2casRJGVqM7IU83LzRhtTFyC5MDxX0Z/ygiEuvUXZ X-Received: by 10.28.157.139 with SMTP id g133mr7699082wme.114.1516878212874; Thu, 25 Jan 2018 03:03:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516878212; cv=none; d=google.com; s=arc-20160816; b=haUhG3PtQhji+HqeqwyuDspS0s2PFAouyxI5dHNgoB1mQDU5jPv10UFHQz3LeFjGjX IFtEXbT1D+/OTXlGNVLcHnrShQoFFIuCDbKAa/YBFKpGyzPgHjghN9mA9aD/JvfJvCav Xv2IEZ2m3V+uKwy6IS57rHm/7PXOZNwjN0cmX6ykHeOCfrxxsanloxArR/LjHqW/V6+V Id0yVW7hLBJyO7OJq6GpdClqYJ/mXlP192MCd8CnZdU7yCebB7zchMGzUONFk5FDIJaR kTc0QiGIyK5aHBu0+PFy4xmkzRtNBq1GsCv2dPshyaLs+E02JqiORsrbUZSYI1nxpFIg kB0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:arc-authentication-results; bh=gimpwpKHW0LPfC0mCd0bVMBMkbT1kd9bG0EmG/COLBo=; b=QTZ9IYFN/tcODemnReJpGzOY+SFMVKjerEppum0/695BxhBVDxFLl1CG3t5r1SDdby XTTttVTknZTPL4ib5B/zwvzhEmgoXAqGkB8C4jRC0d0CrOu9z12DPtNnE9PUUiC6ohrD gFcuYZc2Kyg91fXwV5SXhwbRZt58QeWtMPidE1UGesqkE74NwCCSBs4lc2hBd8u1M5/A zv622JSNtq26dK2W8zWHomU/QcPQg2duep9GqstJLlMrs4L+thOMrhQSjYXqwwiftuJi xJKQJAeMVdHXWmMLpNPwDA7sf9oVkd7/o2ux2usTNyVCNSaDUlGi4r1n1bYJLiiUvTOj zyuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id b66si693714wmb.24.2018.01.25.03.03.32; Thu, 25 Jan 2018 03:03:32 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 10FB21B173; Thu, 25 Jan 2018 12:03:25 +0100 (CET) Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0063.outbound.protection.outlook.com [104.47.38.63]) by dpdk.org (Postfix) with ESMTP id 994662BF3; Thu, 25 Jan 2018 12:03:21 +0100 (CET) Received: from DM5PR03CA0036.namprd03.prod.outlook.com (2603:10b6:4:3b::25) by BY1PR03MB1419.namprd03.prod.outlook.com (2a01:111:e400:5255::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Thu, 25 Jan 2018 11:03:20 +0000 Received: from BN1BFFO11FD031.protection.gbl (2a01:111:f400:7c10::1:139) by DM5PR03CA0036.outlook.office365.com (2603:10b6:4:3b::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.444.14 via Frontend Transport; Thu, 25 Jan 2018 11:03:19 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD031.mail.protection.outlook.com (10.58.144.94) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.428.12 via Frontend Transport; Thu, 25 Jan 2018 11:03:19 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id w0P9sfR8022450; Thu, 25 Jan 2018 02:54:49 -0700 From: Hemant Agrawal To: CC: , , Date: Thu, 25 Jan 2018 15:23:29 +0530 Message-ID: <1516874011-8760-4-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> References: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131613517994556058; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(396003)(39860400002)(346002)(39380400002)(376002)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(6666003)(69596002)(4326008)(498600001)(104016004)(356003)(2950100002)(450100002)(5660300001)(316002)(16586007)(336011)(86362001)(50226002)(68736007)(8936002)(6916009)(54906003)(106466001)(77096007)(2906002)(2351001)(105606002)(26005)(85426001)(48376002)(97736004)(76176011)(51416003)(53936002)(47776003)(36756003)(50466002)(8676002)(59450400001)(305945005)(81156014)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR03MB1419; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD031; 1:IQGFGY6gtMKf2mSm8L7mE4ynhwGLLomrxGqiMmNkQcpvXnKZq2oFxl1xY37+l6SgiQkzWYPnnRqe8wjsTxYlVTnbDCXarhJw423IYXP4v95vlLNyKxRSESDNo5teMF+q MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 614cb298-23be-449e-b7d8-08d563e33e26 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:BY1PR03MB1419; X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1419; 3:ttkPsiVFDj0xN6A08yYsqJt+F2Y/ZVEAw8HYUqAX9LwyVLMbbykIDbyj6hLYIU6KFA9f5JeL9c0IhNidKJVCPsY2DWl0/6biDWWpjjE4Hco2KEXwwj1YnH37ZZhakltkpcy9GeOsrl2X28Nb9nmoAqQSM2Dn7QI9d8AUubaD1UahFsgR51545XPuq1+Zi6AFCxqWwxA++wDd3lRdAT+xwJpqG05wGR2tYAIQeTNoLRwcTiytCs1LJVeI5ERusm9NR5u3HOaaidaHYTKDKSq6UkqWulnsCm5wCW4Nx3NRKa7jzUP+Bxf1EJpfsiz25uXR/Mv2dhcpRu2oN6j0Hbk7RawSA4ojDnsqtg+UZ9XXNyE=; 25:MPwkfCwrSTyOYbbq6XgPNOiWcBCJwV60L+Thk0+bC59D5RLvoPHqIBfX3Xd/wRzD0fQqkXrNPhthb4gSJ1pWBGZxy6WRUSxXYJHmoqoqsK3CIfenj7KueasLd/w3m4tje9t92qqc8QwiZKCJHp2KrKRA5Gd9xVauF9lCul+JwRIKMpvkTgSG0vzZktaQ9Mj6LgdML653JFOREhjFbwKiBk7BcOAc1KTsVDS7oAlmx1C31MyDXaGGfrlptUM8+HagSiGTcjWp3ZhTJJUyejjFkFlaHJZm3iZnkj3t7r8qgWXiMk0JF2bGI0b/MlclsFdMw0F07m+Wlbdij1hA98uBcwt8qhy8N8jLu3myHv4MSgA= X-MS-TrafficTypeDiagnostic: BY1PR03MB1419: X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1419; 31:hgBkyrjNL9580S9Qu3T14gav2hDNVihmgwESFRtU6twtKWl5yGBjHYIEJIsNzFg+mjtt5cU95InNf67FFjxHZT55spdJ7JUOGMKWr0RQflYy2eCFCdA3L5Hym0n4g8kjV5etz615jEaq/XGeivReDTPcdiiiNs37Mam2Qt+/NtDSuQKvBwhixk/eXFKj25CsBzOl8/iXbjMbEkWQFz89m/3eGD6dx/JRtP04eorqDiE=; 4:E0J+cNTH0lC+uCi08j/20Vopn/O+fJDmbajyoPngX2bFqv8af/h4d7CxBlrrV7sGFXCXjP+8DE9RG0N5reBx5R5VZMTIGksC0x4fnifJODSR5X77X4cAjoN/vtnjmGF1lp0QOMbV1h9/alpfd9EgOE9/JGHYmSCOJZz72FPbutGUkVU6PdILjoPa9UkK2ahC/Qnhm6RR6Z/u6wLGBvKxgGDpw8EOZJNOqjqrPr1/01/wgJjoJGdOBHxdvVa+zsoGfvprf36Sw/zpgoUfa6Zgsv7STxRAabYNexf+BSqAdskY6NcbpEsgatyr7iNlGR3f X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231053)(2400081)(944501161)(3002001)(6055026)(6096035)(20161123565025)(20161123556025)(20161123559100)(20161123563025)(201703131430075)(201703131448075)(201703131433075)(201703151042153)(20161123561025)(201708071742011); SRVR:BY1PR03MB1419; BCL:0; PCL:0; RULEID:(400006); SRVR:BY1PR03MB1419; X-Forefront-PRVS: 0563F2E8B7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR03MB1419; 23:2eOzfVIgqig4X5Ppe0PbNTNntdVBBwxI7peCxERv+?= aSop94eFu+keHj8T9rYjpfpURtlKqsNkTYrxCDNTleHYn2EjR9XvkTEN3hordJto29HxWx4Dx/L+HuGowPDkLF3wfAM8hIiIk+Yz7EVgQ3xZzVtvsWBz3fZp9yfUWKMA+Ozo+ymEoAyHdVY85eJubXx0ENOA8AG8H491dA2z6GRF0DCB1UuMnFgHpr0pZx/oMeF9/BEt4uiHTZ8ZFZjHpAKARoIt02M0/5sgPxxgj0k3F++RpGnUXQ9wdTRMkUpA7kfx4/qTfhpCEzATjFS/RMXTnR7yyrLKQvTbC74C7m6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kTQsWy/TkLa3RNAAekG/E3EXLQoNyRqJHX8Z4pAFWWY/bAs37EIiJHMNqU2Oty6wbDy8fq21dF5B7rsBIhEZlTRTvOhoewVmJDBTMl5Bo4z8JsU6xyibjk/VttWnaZQ5EEQkFUONIMEjK4=; 5:NAQfRq4DrQrz8xpGHWTBdrLJX3Zzd2WHBNJgjdlzPsLYcY4vf01vObSN8vy1CrR0dokM+2oQmI6MqB2748H1/WSSwgel9ts+bVtfBg5ndjMDTz6tAPRZZlHMdn3fF2TWZvZhW3BpsbKlaI0NWvCS/P6l8sIEi6GR/1a4yDAeWnE=; 24:O3YK5WwyQPVPmpHXA6jHpnJbID3i5I0Nym1IS+zLfOyd1FlAC9j4rAm+ObfwxsJLYI4z2yiUDbprFWZGOLOjq//DbU5mXLr1zXZYWByRJ/c=; 7:M+Gy/cHNAn1qKIhqupuVQfqPgnnQ6HAkZwjCD5a/gGyHTitOhrEEOQWlgxJpRN5br5HV0P20Dv6a/NjGYoJxMisfW1I1lN+Nj1MYZlAi9+qC2ccDWML/v98WOq6Nq+Frtwsz7w9Ghxaw/ouT2bRe1sOfuRJhMR0L9VyCP+JxIUJ24glM95KRhw/31Z5UNIG5+BdZyFb2zVF+5qc8fVp4gEhC9idugFD+Mx1EdAsj8ezJCoIxdAR32F+Sd8yAFIPl SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2018 11:03:19.2060 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 614cb298-23be-449e-b7d8-08d563e33e26 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1419 Subject: [dpdk-dev] [PATCH 3/5] crypto/dpaa2_sec: fix enum conversion for GCM 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" dpaa2_sec/dpaa2_sec_dpseci.c:1287:25: error: implicit conversion from enumeration type 'enum rte_crypto_aead_algorithm' to different enumeration type 'enum rte_crypto_cipher_algorithm' [-Werror,-Wenum-conversion] session->cipher_alg = RTE_CRYPTO_AEAD_AES_GCM; Fixes: 13273250eec5 ("crypto/dpaa2_sec: support AES-GCM and CTR") Cc: stable@dpdk.org Cc: akhil.goyal@nxp.com Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 2 +- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index a67d979..80ceaa2 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -1284,7 +1284,7 @@ dpaa2_sec_aead_init(struct rte_cryptodev *dev, case RTE_CRYPTO_AEAD_AES_GCM: aeaddata.algtype = OP_ALG_ALGSEL_AES; aeaddata.algmode = OP_ALG_AAI_GCM; - session->cipher_alg = RTE_CRYPTO_AEAD_AES_GCM; + session->aead_alg = RTE_CRYPTO_AEAD_AES_GCM; break; case RTE_CRYPTO_AEAD_AES_CCM: RTE_LOG(ERR, PMD, "Crypto: Unsupported AEAD alg %u\n", diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h b/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h index c76b082..e8ac95b 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h @@ -143,6 +143,7 @@ typedef struct dpaa2_sec_session_entry { uint8_t dir; /*!< Operation Direction */ enum rte_crypto_cipher_algorithm cipher_alg; /*!< Cipher Algorithm*/ enum rte_crypto_auth_algorithm auth_alg; /*!< Authentication Algorithm*/ + enum rte_crypto_aead_algorithm aead_alg; /*!< AEAD Algorithm*/ union { struct { uint8_t *data; /**< pointer to key data */ From patchwork Thu Jan 25 09:53:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 125798 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp1032168ljf; Thu, 25 Jan 2018 03:03:25 -0800 (PST) X-Google-Smtp-Source: AH8x2258g2YfWY5ljMXc/4uRPyKNUhuCY7HFto3zWLqKLYVE5ziylkywlemxxRhV8mrtoSmI/F2i X-Received: by 10.28.138.146 with SMTP id m140mr1213427wmd.85.1516878205165; Thu, 25 Jan 2018 03:03:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516878205; cv=none; d=google.com; s=arc-20160816; b=rmfjy6zGnzIbKMhQyrrW5qwJ/15NPHDXtT8vS2VO0LHxLCPd98GASvdIs1eDSm1EGX kYu/tFAiMKcP3F4TyWA09B+hjhhyI5xE1HwPlI/ZWrCJMKyQniPEd2lSFemLl+jxgTtB tQdKgMZS6Cm6eYGWUZTLz/qpwY9l5Dc3NKGRU0p9LSdUlTVYeIjqgujlpoXavFFaGno1 yf67zpYeufoEaks50Ip7YM/JLt5upFFtcGK19yFrDKKimtx+h6BH/0SB26m0A3gaq7HH 4vYVD5ZCRO+BO6wDSSryO0eW7am6YpBA7daJLc4H7qPa+Nuapzohg+bnUuzwgEq6FVar RLrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:arc-authentication-results; bh=s2LT2q4QIAFlQHiKl50+/bRAuERvRaa2pCxQimqq3mY=; b=Dlk229Ldgn9Fu669JkHLdkvp1bSZHgMw7W+mtmdp/Lzb77RuAfLF7XfRB8LMTSaMHv n+iccorIV5i9HWM1lzVtgKlsmo6+dklxJwRtkPSnFn9QHXA4HSi2esSVjw3BDnmllWWK pchegCwliAnAU7N1JEj+GrUiQCpvkd8IX2wPnTMZ4CwcRc89vioNISeC2xUWkJyp8zJ4 bF/MDQrCbRdD8Bpaaf8ow9rftoa5DjOk5nH1QggNAW/AtqpsMeR6jnSHZlb/Zs4Qhf0/ 3fAHr45b2GRd/xYcNJHzssVDj1xp6RZnRJsBCM9aEelMb0BWgS/4AMV29RMQK/DfL36q hFeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id b12si698936wma.181.2018.01.25.03.03.24; Thu, 25 Jan 2018 03:03:25 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BE5EEA84C; Thu, 25 Jan 2018 12:03:23 +0100 (CET) Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0045.outbound.protection.outlook.com [104.47.38.45]) by dpdk.org (Postfix) with ESMTP id 8748211D4; Thu, 25 Jan 2018 12:03:21 +0100 (CET) Received: from MWHPR03CA0010.namprd03.prod.outlook.com (10.175.133.148) by BN3PR03MB1414.namprd03.prod.outlook.com (10.163.34.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Thu, 25 Jan 2018 11:03:20 +0000 Received: from BN1BFFO11FD002.protection.gbl (2a01:111:f400:7c10::1:140) by MWHPR03CA0010.outlook.office365.com (2603:10b6:300:117::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.444.14 via Frontend Transport; Thu, 25 Jan 2018 11:03:19 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD002.mail.protection.outlook.com (10.58.144.65) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.444.13 via Frontend Transport; Thu, 25 Jan 2018 11:03:19 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id w0P9sfR9022450; Thu, 25 Jan 2018 02:54:52 -0700 From: Hemant Agrawal To: CC: , , Date: Thu, 25 Jan 2018 15:23:30 +0530 Message-ID: <1516874011-8760-5-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> References: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131613517994318949; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(376002)(39380400002)(39860400002)(396003)(346002)(2980300002)(1109001)(1110001)(339900001)(199004)(189003)(36756003)(5660300001)(81166006)(2950100002)(8676002)(305945005)(8936002)(106466001)(97736004)(85426001)(77096007)(81156014)(6916009)(336011)(6666003)(2906002)(53936002)(2351001)(48376002)(86362001)(104016004)(498600001)(69596002)(51416003)(59450400001)(105606002)(26005)(76176011)(50466002)(4326008)(50226002)(450100002)(47776003)(356003)(68736007)(54906003)(316002)(16586007); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB1414; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD002; 1:p0kYRyJBC50IMOY47p1lU/GWcLPR2HTUztRotBrpxA2Bnf9XbWgmPN5o/qKA/KvCuIQj0EOCW2wxL1daRUCVB4dJ3hsdjlbE0IAp20A74CBnuFHO4/4Z8H9ZYp87b8b3 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0f16de29-3839-460b-7b06-08d563e33e25 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:BN3PR03MB1414; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1414; 3:NpjFNNYKdhmXEhO6zN0v0KuieKYHznfWHTKyBwvKsMsieNOmmqdYxDc+mSYctAssZxegkcmrlQvNevPwfi4sGt8jPWwXhQX94DMBi3JIfZpUsTUtCIBdNeazJhv/GP526D7tMD1wOqMaOrc1D0uqGQtpTXzuuglPDt+fqtFt4iG58sNeAqLb+0YYQVz4audK66pZn94y8dFpWvXEddk4TJVEGPiJgzhCBnZ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XLkxxD3z1pTtCLdF6xtCfMAynpLuA/ftmx6lSG4z X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(3231023)(2400081)(944501161)(6055026)(6096035)(20161123565025)(20161123563025)(20161123556025)(20161123559100)(20161123561025)(201703131430075)(201703131448075)(201703131433075)(201703151042153)(201708071742011); SRVR:BN3PR03MB1414; BCL:0; PCL:0; RULEID:(400006); SRVR:BN3PR03MB1414; X-Forefront-PRVS: 0563F2E8B7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR03MB1414; 23:fnvigsMCCYDgivqGlTa9Uson9Nnu4EHCsOq2DS+8G?= kf4Gxv4KeZ3m4FKeivoN8WQ84dPl9YrliT52OuJ1EFxQrNlEOP82DpAR9SHYlTEgAuzU7rj3IMNWiVnDORPU5Srj73lr26J4cjpNuQDMxKzmepg9bIP2slVgjQShq8zFctH+E2eYQInGmykXsUnK1SoLx5KNGKkb8Rpn4znajliF4BhKCyNAxqBzevHR5+EOAlHiNVEOa1+jWFS6GSPyMDUiAppAf2D/cSggsPEmfJnyhCqexJKzKHxf0fPkpAAxcpTJ7s4VggsSWD5ZAFKUAsLss5Qvv0dd7ww9rljM2XSqg1GwI/QcwoZo1ugmtjnvawxmBpAa4YYexwM4cVIoaCs96OUf3GGkrDbjC+goSxpYEedTcjHO6fjrjKUYWqyoXkid/nCzMdhHCih5ioQefgEimJO12IJjvupi316gSxlSkq7xAk3sWXg6lDQx6GGJVs320pqHpG5T/Ri3gEcGZ+scjZa7UiUF1xYQ+d5qrwIIQf0QTgIW0S4lLsxW6w+St7DWWFXC6uv0kYXQiZXybzx5gMjiZQLRTa4Iaahm9dpjXV8Qphzy7EY2HhMdDolp5O1X3/ejE64G6RJwdL1xB94efMijpFpZOlZGOW7RQbDQYV88kDYSNM/2OBS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Opx6Y+o57D/nKDveHOdp0ZAvvzx1Vucdh/h7KqNIMsxMk+DqgVVkrYGXgB6tQw78hS7Sy95qSEzmvhwiU2mkjVnYZUcB+XJI=; 7:aSQeMofOWiDjh8UZvjZ5bBDG80zVuq5Ua2wC5D2teJSswVTAmYgc2RRry3+Nwnh0c47k3ovRRZpe4BIDfJSFnofwHEGz03o/xgYy6AK4CxAfAdqtdg/4Grw+RAu01jIri6Mz80chNEIt1idKPc1CfBzkpGW7rNaqVxzZoaEcctkLOocp9t9wY0Swrx4+KucQZbpcnXME074OCpMMDzD2oFldCXrmPLs+aUpycDmJlA+XIUr/7513QdQyVXGZf66q SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2018 11:03:19.1978 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0f16de29-3839-460b-7b06-08d563e33e25 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB1414 Subject: [dpdk-dev] [PATCH 4/5] crypto/dpaa_sec: fix enum conversion for GCM 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" dpaa_sec/dpaa_sec.h:297:13: error: implicit conversion from enumeration type 'enum rte_crypto_aead_algorithm' to different enumeration type 'enum rte_crypto_auth_algorithm' [-Werror,-Wenum-conversion] .algo = RTE_CRYPTO_AEAD_AES_GCM, Fixes: c3e85bdcc6e6 ("crypto/dpaa_sec: add crypto driver for NXP DPAA platform") Cc: stable@dpdk.org Cc: akhil.goyal@nxp.com Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa_sec/dpaa_sec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h b/drivers/crypto/dpaa_sec/dpaa_sec.h index c53d9ae..f45b36c 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.h +++ b/drivers/crypto/dpaa_sec/dpaa_sec.h @@ -293,7 +293,7 @@ static const struct rte_cryptodev_capabilities dpaa_sec_capabilities[] = { .op = RTE_CRYPTO_OP_TYPE_SYMMETRIC, {.sym = { .xform_type = RTE_CRYPTO_SYM_XFORM_AEAD, - {.auth = { + {.aead = { .algo = RTE_CRYPTO_AEAD_AES_GCM, .block_size = 16, .key_size = { From patchwork Thu Jan 25 09:53:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 125801 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp1032558ljf; Thu, 25 Jan 2018 03:03:53 -0800 (PST) X-Google-Smtp-Source: AH8x2255doI1+rbg0LC/rTI114SiqGrIHz4NKYVOmMsO9EcaBeknPXIM6/Jfg0mfACHRWki3T1G4 X-Received: by 10.28.51.146 with SMTP id z140mr7732574wmz.78.1516878233065; Thu, 25 Jan 2018 03:03:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516878233; cv=none; d=google.com; s=arc-20160816; b=fEhdikmdwbEDD8ytIS/iOpf1JZoP9189rw3QiJbQ30rC74kdYyzUgPAPze5zTA83b6 eL5fRyz4DLvpiCpGThOelJh22P4VfkDlF5bMkX8vgqyv8ypdytbiAkeEjCPMH4eaqdGc nhEc4hRHnVpLSBqTBka9fziWb4U2ppccrWVewwWcYxqE+gGXKTwdc7mVD+Wc7QiJb2+1 3aNi1p60oTo9XXFjyGXwD9t2o7PvH0OWjdeKZ0qq/oZa3ArpkB08dPXVD7HJYjXwHYFb NCIMz3LJ9eBRT19QSxBOdP94lAPTmSX3nj8EyT1G/HjKJf262Icaily8FqTU0RxU/ZLv T2gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:arc-authentication-results; bh=P7GrQTAyBQHoRq1VLeWSm61tMVdzFlf9FnYgYrPLlu0=; b=OBA5ZX/JWk1xi8ZdNq+Wypm/zTGqoHhmZQMZXr+Pnce8NaTaOrBBejFhPpSYRi6rEu SpKg9UQx6D4+KO5vbr/O/qTMG0yqnNBC9mBfWBykqaW+HkElbwnFqZUFf1l73eFYIktc euIwsMYjnV+gTs2DaKHLnRAgMGCFuUEoaje0PTAH10SFdDtp66fNxcfuCwUDOjOq3VTy 91lchLyQk6e7ObgU5jdNCxUwc4zDtAw0TF8QotVIZ7foHyaX3ju5nexZLgJYed4QDW61 M1zmmFy4EoMbtbGCCTT6AeOt4UMPqbH/Qwih8ujEhCU152nxyW6rqkiWgOqfp2msy+5i Jdgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id 5si695090wmg.226.2018.01.25.03.03.52; Thu, 25 Jan 2018 03:03:53 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BF09B1B1AD; Thu, 25 Jan 2018 12:03:27 +0100 (CET) Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0078.outbound.protection.outlook.com [104.47.41.78]) by dpdk.org (Postfix) with ESMTP id C31D8A49F for ; Thu, 25 Jan 2018 12:03:21 +0100 (CET) Received: from CY4PR03CA0002.namprd03.prod.outlook.com (10.168.162.12) by BY2PR03MB476.namprd03.prod.outlook.com (10.141.141.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Thu, 25 Jan 2018 11:03:20 +0000 Received: from BY2FFO11FD019.protection.gbl (2a01:111:f400:7c0c::162) by CY4PR03CA0002.outlook.office365.com (2603:10b6:903:33::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.444.14 via Frontend Transport; Thu, 25 Jan 2018 11:03:19 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11FD019.mail.protection.outlook.com (10.1.14.107) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.428.12 via Frontend Transport; Thu, 25 Jan 2018 11:03:18 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id w0P9sfRA022450; Thu, 25 Jan 2018 02:54:54 -0700 From: Hemant Agrawal To: CC: Date: Thu, 25 Jan 2018 15:23:31 +0530 Message-ID: <1516874011-8760-6-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> References: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131613517991751751; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(979002)(39860400002)(376002)(396003)(39380400002)(346002)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(356003)(68736007)(69596002)(2351001)(2906002)(105606002)(53936002)(47776003)(106466001)(8936002)(16586007)(97736004)(26005)(2950100002)(81166006)(5660300001)(6666003)(6916009)(59450400001)(51416003)(86362001)(8676002)(48376002)(50226002)(50466002)(36756003)(81156014)(316002)(498600001)(107886003)(336011)(77096007)(104016004)(76176011)(4326008)(85426001)(305945005)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB476; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD019; 1:t0M52HBv6ONFxQwJ+ph1SrnZ2pNt7R0z5dXgI9xePwOQvl+hpEOUELy4ME7ydsGMauKVWV+yd4XTWQSNIt9hQZ5m+Wli15idMMzJueE6xBAfwmy+c0LiD2rL9RUEhBSc MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3b230a3c-b2c8-419b-a577-08d563e33ded X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:BY2PR03MB476; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB476; 3:znX34y7GXIJ/C88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PsyRkTO04wrnYMlT2MHQTWhGjp/1EGxmBb0D1BdSb4WCaRjzqbJbkwrSX6mwL7VeB3UzDl3yI1XaiUXUAxWdnHIASNZ/ECS2OS6ort00zQdJRnhKxyQyhVtrZKjPZoIOj5AOn/Fz9X6irLCmKI+0YHgR9D1EQ9qVaSs1NCyzHl+wJkow51C/i7wM75pf4FR5ykTge1xK9pumI/HbJdbQSyiff7nCHpt563n4sXUELAkGDR8f9JhVzjO2YO3PjsxyoVupP X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(10201501046)(3231023)(2400081)(944501161)(3002001)(93006095)(93001095)(6055026)(6096035)(201703131430075)(201703131433075)(201703131448075)(201703151042153)(20161123556025)(20161123563025)(20161123561025)(20161123565025)(20161123559100)(201708071742011); SRVR:BY2PR03MB476; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR03MB476; X-Forefront-PRVS: 0563F2E8B7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB476; 23:1lkX28a/At1HPS/6AeD7rYVIVD4xxwBYdgrTZzBAqy?= 6GFZFmmSIe0oItdqcRc5eI6NXec+FuK96dFwvIponbJmJfMW2ICOc6R2RVITGhL20eiQKDM0m84QFARG3aW5IFp401ZzCmHFPXI/VY86E3+Y6Fs89HbNKLE8HC00l+9jJ9ykW6rIlbB+7ejMxP4eMw2UM8+M1EKuvomlBMsez7zHeumdR+Q1LFjfIMOXoqxS4SSIcec+mtIVcWgbnV/b9hC1dDAu2ukRIc4O6/rlSSBw+XKa1gvFZsdjfQbFE5LvPEdHJsR4M9uSK9AHtuJrgOfTVplODxQt1hyJ2/wk3RzlIH+WsEZhhYTUvWWwMgjT2CDlffO3M6piYSk5VVOMdNtzLcQ4gUj9RIx9KlCCJIC+ijABvnlchG1nMySfpwEXAhe+mXTv6N+yt9WV6wwwsYt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/YPlorcibgHo81pZJ17ENTn/xJPyYBGzo5vCQ9nQKtJabjrw9paTMDSw4VJw6J3kJVqxMyj1hz2PyhBGoBe7/ZgqznSM8j9Kl0WFUgL8o=; 5:RucBbyrNdVAfGE5Cwr4RooHxQgsNJazghLvHMAYZ9BWoYxa1OnkIQA3HvCS0DCCP4zMk84Uy1obfZg5MXbPza9SPjE0+RtYW8fnTnjcuHydJJJaNOd0UNqppw+ImIBID0nN11ULGlTgxUQXe/fcyH6QlCdAszE0srNweI1LTusY=; 24:heAjvlJgRr1eUmEpW0PG266UjsJL6ZpAGG9035ZlXDKw/0Lg/RnhHkwcvixDbLc81HKxUKD9N62DOy5JhwMCA2Ez8dYQaYNrz+cxrq3sGgo=; 7:2Zjm/H3za1qQNX+WfdSr5QRKQ5LuuBbyj8HEiwYq9ItGvPJmc4hwdL2m/eN8p94YaZwxR5dMzgKrZVhSUJZQhgbb7Act405aARBoDD9+9PvF8bOfBWZUi4FglTQvIiWCxysPXYV4oo6KdRUNaoZjIjKaz5a2d0AEMvdjOoe460bch0C4RtspysSZW6nD/xaYn8PV7UbU57h7G0HFKUnx5y3gMfQat6Co1qBbJVrjdF6/US0N5LXUXyMBxV2tuCaZ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2018 11:03:18.9567 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3b230a3c-b2c8-419b-a577-08d563e33ded X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB476 Subject: [dpdk-dev] [PATCH 5/5] config: enable dpaaX drivers compilation for ARMv8 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" This patch enables the NXP DPAA & DPAA2 drivers for ARMV8 targets. They can be used with standard armv8 config with command line mempool argument or newly introduced platform mempool internal registration mechanism. Note that the dpaa(x) specific config files are still preserved to continue customer support. They also contain some of the ARM performance tuning flags. e.g the default ARM cache size of 128 is not optimal for NXP platforms. However, these configs will eventually be removed once a dynamic mechanisms are developed to detect the performance settings. Signed-off-by: Hemant Agrawal --- config/common_armv8a_linuxapp | 58 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) -- 2.7.4 diff --git a/config/common_armv8a_linuxapp b/config/common_armv8a_linuxapp index 790e716..572db11 100644 --- a/config/common_armv8a_linuxapp +++ b/config/common_armv8a_linuxapp @@ -34,3 +34,61 @@ CONFIG_RTE_LIBRTE_SFC_EFX_PMD=n CONFIG_RTE_LIBRTE_AVP_PMD=n CONFIG_RTE_SCHED_VECTOR=n + +# +# ARMv8 Specific driver compilation flags +# + +# +# Compile NXP DPAA Bus +# +CONFIG_RTE_LIBRTE_DPAA_BUS=y +CONFIG_RTE_LIBRTE_DPAA_HWDEBUG=n + +# +# Compile NXP DPAA2 FSL-MC Bus +# +CONFIG_RTE_LIBRTE_FSLMC_BUS=y + +# +# Compile NXP DPAA Mempool +# +CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=y + +# +# Compile NXP DPAA2 Mempool +# +CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL=y + +# +# Compile bust-oriented NXP DPAA PMD +# +CONFIG_RTE_LIBRTE_DPAA_PMD=y + +# +# Compile burst-oriented NXP DPAA2 PMD driver +# +CONFIG_RTE_LIBRTE_DPAA2_PMD=y + +# +# Compile schedule-oriented NXP DPAA Event Dev PMD +# +CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV=y + +# +# Compile schedule-oriented NXP DPAA2 EVENTDEV driver +# +CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=y + +# +# Compile NXP DPAA caam - crypto driver +# +CONFIG_RTE_LIBRTE_PMD_DPAA_SEC=y +CONFIG_RTE_LIBRTE_DPAA_MAX_CRYPTODEV=4 +CONFIG_RTE_DPAA_SEC_PMD_MAX_NB_SESSIONS=2048 + +# +# Compile NXP DPAA2 crypto sec driver for CAAM HW +# +CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=y +CONFIG_RTE_DPAA2_SEC_PMD_MAX_NB_SESSIONS=2048