From patchwork Thu Dec 27 06:22:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 154545 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6604078ljp; Wed, 26 Dec 2018 22:22:55 -0800 (PST) X-Google-Smtp-Source: ALg8bN5KFzGgTV8sLtD506rnOsh/088z+TXbHZNZG/FldK2mewAr96yQgeN72IbQlAqUJ19hhbim X-Received: by 2002:a1c:58ce:: with SMTP id m197mr21162124wmb.31.1545891775359; Wed, 26 Dec 2018 22:22:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545891775; cv=none; d=google.com; s=arc-20160816; b=Djzeygphm2+9NLw5ddKCVCipTwX+QN0CHyLH7z9MUwtnoVyE5anikhAuXna3FSUgtM NsvXVSLc5835H/g1VVZYT8oV9ES03PDoYxDyD0d4/1hATH77PDglXxa5udYk3X3dn01O gETnf4hSBGSWH2alacZDVSn60EsHkJn0nIlyGon6EtVeFMrfZ1crwfZKrr93qVullBLD +lMdnTXW0dBymnSbfqGh1h4e2RgYk3Kczf5FJ/BjGI/MrRvcmYtkNbA8NoviZ24YOcsI DVGFrMIZuc8oOBKx0Uue26q9opAAit4P0Tf02nUG66BoK5o2k/j7x+yF36NQwFScqob8 lK6g== 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:mime-version :content-transfer-encoding:spamdiagnosticmetadata :spamdiagnosticoutput:content-language:accept-language:message-id :date:thread-index:thread-topic:cc:to:from:dkim-signature; bh=kywVzzJ2NSgDis0dAiq3Aqsja5HCCCuqmoQS+L1iTec=; b=HMUSoFsGXLgZHScbA8bwL6b2fTY5e31g1pkzrxK5d2DnS0SL5HU++mq+HFLkY4KTIJ L7GBNLzh1sffOFEtaZ/LANnyGW/LE8Tv5N27pi3QDwOEsqK1EJOyB6dKP0r5vnslClEG 3lldqchLpeDPj1t+jXrEt06AMDMjqfq7tf52J1/ImjDgERIkfB3lBAk2mWx2aFdPeNaP rx1atpfxhoDs0Ib+78mYr9mrdUc4abXsaQz3ab2ZSKM10ncTst4YlORdniLHI25b0uL3 rGFtvqfBEcan4AgDQmjBSqPms8yk4N2fjEiWaDEJS/JTBGeEyi1VwD+An6GBJdiGp4ro Hwag== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=aiUOhskR; 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 i4si18157312wru.93.2018.12.26.22.22.54; Wed, 26 Dec 2018 22:22:55 -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; dkim=fail header.i=@nxp.com header.s=selector1 header.b=aiUOhskR; 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 BB8F83257; Thu, 27 Dec 2018 07:22:53 +0100 (CET) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140089.outbound.protection.outlook.com [40.107.14.89]) by dpdk.org (Postfix) with ESMTP id 567BB2C16 for ; Thu, 27 Dec 2018 07:22:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kywVzzJ2NSgDis0dAiq3Aqsja5HCCCuqmoQS+L1iTec=; b=aiUOhskRvVOK8LkuQqqGqGdz1V9acneH0pqafUl8nUeE0JrJ+f4krqGL61oO+boF3KzSP9VnXIByeOgku+teqZmQRECXk48znLSYqzw3eFPXd1EY+0SMpOoDaz7IVDMSjYgLaK6BtKlklCinZOsGcH9IHDGzuDbONwQZ8wpSrbE= Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com (10.168.65.19) by VI1PR0401MB2382.eurprd04.prod.outlook.com (10.169.134.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1471.20; Thu, 27 Dec 2018 06:22:50 +0000 Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::555e:164:f8f0:dbb4]) by VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::555e:164:f8f0:dbb4%2]) with mapi id 15.20.1471.019; Thu, 27 Dec 2018 06:22:50 +0000 From: Hemant Agrawal To: "dev@dpdk.org" CC: "ferruh.yigit@intel.com" , Shreyansh Jain Thread-Topic: [PATCH 00/20] NXP DPAA2 fixes and enhancements Thread-Index: AQHUnayXBHbeCyuXUEW/kMXBYys7nQ== Date: Thu, 27 Dec 2018 06:22:50 +0000 Message-ID: <20181227062233.30781-1-hemant.agrawal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.143.30.134] x-mailer: git-send-email 2.17.1 x-clientproxiedby: BM1PR01CA0120.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:40::14) To VI1PR0401MB2541.eurprd04.prod.outlook.com (2603:10a6:800:56::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0401MB2382; 6:DDpH8pE2JMSaK6PUXBsR1L6RNnrl9fsGfm8QXDZgBQdOiUKiK/pkclamE3clMxO1GJXN1cVK4LYdQABOa+KkJlJop2hPFHOzqAqJ0w2tdKJBozVTWoHMlKqKZFTH4mwx0PAwdaWk6Qzr1rpuSk6ILoLnjpjqrfu1JXCcB9/JRURyPe07u9pAuCI7wT5eU8x8LUDhlR448kemVCtLkAzsRNWdCXh5ndZtxL34MaO7CaJFz5d5uu9rHlYbho46j/ScyPeDelnxHq5ajRyxh6o8V1dnOljUZAe/dbxHfnExcEJA1ZYxwzuk34FLGpdGGClTYkfAtE9ioLzhfDoNQZ6rOcF8Czf0eNJyYlubG8zUsir3xc7C4C9QNwJIOd5Hh7LpqONNaVX23AwK5LpnawsQ1FTKucEVe4A474qudvkZNi9c99XR6Jq1SKybINsnCfQTgkCXDiehkP/+84XD6zCk4w==; 5:uksWDezYueAuwMlP7yfTZLRbUC42+JjPZOEAZDz98+cZg7/qans0ofP810cMHk2aFFE6kgsoURBu+/PRxAM8Xp9p5nJ4I91h07uMseIrJfw9sYdLn1wjj2pv3zSA7/uJ7DQ9mwGLm6VRcg5zV3hNCjRoHhNsfPgmcSxzYqatZ/M=; 7:l8ZBqF7GWAhN0ZTp4lh4mABnh6RMee9zzddT74m3Y85loyBlrac7Jwo0cvFOF6WRZInuQWzYW984usazPpakB3kO80/+WAQFRAIwB0KwlKAyc07lxGv7jDsC90CgEntXu6cfLis3YaF8pER1udZf2Q== x-ms-office365-filtering-correlation-id: d00b1fbc-f810-4c8c-ada0-08d66bc3ba1c x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0401MB2382; x-ms-traffictypediagnostic: VI1PR0401MB2382: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(2401047)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231475)(944501520)(52105112)(6055026)(6041310)(20161123560045)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:VI1PR0401MB2382; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0401MB2382; x-forefront-prvs: 0899B47777 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(396003)(366004)(376002)(39860400002)(346002)(199004)(189003)(5660300001)(1076003)(26005)(186003)(71200400001)(256004)(25786009)(105586002)(4326008)(6436002)(305945005)(106356001)(14444005)(44832011)(476003)(7736002)(55236004)(102836004)(78486014)(486006)(386003)(68736007)(52116002)(86362001)(6506007)(2616005)(71190400001)(66066001)(316002)(54906003)(6116002)(3846002)(2906002)(14454004)(36756003)(99286004)(50226002)(8936002)(1730700003)(81156014)(81166006)(8676002)(6512007)(53936002)(478600001)(97736004)(6486002)(6916009)(5640700003)(2351001)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2382; H:VI1PR0401MB2541.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: R+F2qHwMiyOC/eSTL/OIaTJAL4SNH2quc4m2DDi2X2zT2gfaMgsiuU5Tr+H7znph+3upl+TsZwJtFVgZLN9bSt4F6NF4rQlMrwDsPx9lcYUag+RnxYKOEAJSUYa7RWidI3KZbdZAS5orlnSymfd2cFHK5VsqART1Lf5TCzHA4KM+8zkt1x/7NDBJfGawQTq+0B7/L7WelaAwPPGILQh4N99u437N6iDMcvoMtH7co6PC2cmA5YTbs2XOwg9m/UA3oo3dRHCYiktSCPPGRvKdeeWLfa2Ku2ZLr6JEuOvUQaQKHX0EcsP0SardxA+XVnKY spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d00b1fbc-f810-4c8c-ada0-08d66bc3ba1c X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Dec 2018 06:22:50.8021 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2382 Subject: [dpdk-dev] [PATCH 00/20] NXP DPAA2 fixes and enhancements 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 set covers following: 1. Fixes in the existing NXP DPAA2 bus and net pmd 2. New object (DPDMUX) support in NIC driver for better classification 3. Improvements to support secondary process 4. Upgrade the low level QBMAN HW lib Akhil Goyal (1): net/dpaa2: enable optional timestamp in mbuf Hemant Agrawal (8): bus/fslmc: fix to use correct physical core for logical core net/dpaa2: fix bad check for not-null bus/fslmc: fix to convert error msg to warning net/dpaa2: fix device init for secondary process bus/fslmc: upgrade to latest qbman library bus/fslmc: add dynamic config for memback portal mode bus/fslmc: rename portal pi index to consumer index bus/fslmc: make portal func static Nipun Gupta (4): net/dpaa2: add dpdmux mc flib bus/fslmc: add support for scanning DPDMUX object net/dpaa2: add dpdmux initialization and configuration net/dpaa2: add API to support custom hash key Pankaj Chauhan (1): bus/fslmc: add function to map any addr via VFIO Sachin Saxena (1): bus/fslmc: fix to reset portal memory before use Shreyansh Jain (4): bus/fslmc: fix parse method for bus devices mempool/dpaa2: support saving context of buffer pool net/dpaa2: change ref of device to private device bus/fslmc: add support for secondary processes Youri Querry (1): bus/fslmc: fix the ring mode to use correct cache settings doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf.in | 1 + drivers/bus/fslmc/fslmc_bus.c | 38 +- drivers/bus/fslmc/fslmc_vfio.c | 97 +- drivers/bus/fslmc/fslmc_vfio.h | 1 + drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 100 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.h | 2 - drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 6 +- .../bus/fslmc/qbman/include/fsl_qbman_base.h | 11 +- drivers/bus/fslmc/qbman/qbman_portal.c | 123 ++- drivers/bus/fslmc/qbman/qbman_portal.h | 2 +- drivers/bus/fslmc/qbman/qbman_sys.h | 34 +- drivers/bus/fslmc/rte_bus_fslmc_version.map | 7 + drivers/bus/fslmc/rte_fslmc.h | 1 + drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 12 +- drivers/mempool/dpaa2/dpaa2_hw_mempool.h | 2 +- drivers/net/dpaa2/Makefile | 4 + drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 54 +- drivers/net/dpaa2/dpaa2_ethdev.c | 26 +- drivers/net/dpaa2/dpaa2_ethdev.h | 6 + drivers/net/dpaa2/dpaa2_mux.c | 222 +++++ drivers/net/dpaa2/dpaa2_rxtx.c | 41 +- drivers/net/dpaa2/mc/dpdmux.c | 929 ++++++++++++++++++ drivers/net/dpaa2/mc/fsl_dpdmux.h | 410 ++++++++ drivers/net/dpaa2/mc/fsl_dpdmux_cmd.h | 221 +++++ drivers/net/dpaa2/meson.build | 4 + drivers/net/dpaa2/rte_pmd_dpaa2.h | 90 ++ drivers/net/dpaa2/rte_pmd_dpaa2_version.map | 8 + 28 files changed, 2317 insertions(+), 136 deletions(-) create mode 100644 drivers/net/dpaa2/dpaa2_mux.c create mode 100644 drivers/net/dpaa2/mc/dpdmux.c create mode 100644 drivers/net/dpaa2/mc/fsl_dpdmux.h create mode 100644 drivers/net/dpaa2/mc/fsl_dpdmux_cmd.h create mode 100644 drivers/net/dpaa2/rte_pmd_dpaa2.h -- 2.17.1