From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0083.outbound.protection.outlook.com [104.47.37.83]) by dpdk.org (Postfix) with ESMTP id 8D563F929 for ; Thu, 29 Dec 2016 06:15:00 +0100 (CET) Received: from BN6PR03CA0016.namprd03.prod.outlook.com (10.168.230.154) by CY1PR0301MB0748.namprd03.prod.outlook.com (10.160.159.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11; Thu, 29 Dec 2016 05:14:57 +0000 Received: from BL2FFO11FD016.protection.gbl (2a01:111:f400:7c09::135) by BN6PR03CA0016.outlook.office365.com (2603:10b6:404:23::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10 via Frontend Transport; Thu, 29 Dec 2016 05:14:57 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; 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 BL2FFO11FD016.mail.protection.outlook.com (10.173.160.224) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.789.10 via Frontend Transport; Thu, 29 Dec 2016 05:14:56 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.87]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id uBT5DOHs010218; Wed, 28 Dec 2016 22:14:52 -0700 From: Shreyansh Jain To: CC: , , , , , Hemant Agrawal Date: Thu, 29 Dec 2016 10:46:31 +0530 Message-ID: <1482988612-6638-13-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1482988612-6638-1-git-send-email-shreyansh.jain@nxp.com> References: <1482180853-18823-1-git-send-email-hemant.agrawal@nxp.com> <1482988612-6638-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131274620968370070; (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)(6009001)(336005)(7916002)(39860400002)(39840400002)(39380400002)(39850400002)(39400400002)(39410400002)(39450400003)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(48376002)(50226002)(5660300001)(97736004)(50466002)(106466001)(86362001)(105606002)(305945005)(77096006)(36756003)(81156014)(38730400001)(356003)(81166006)(69596002)(8676002)(85426001)(33646002)(2906002)(50986999)(4326007)(8936002)(5003940100001)(8656002)(104016004)(68736007)(76176999)(189998001)(47776003)(626004)(92566002)(110136003)(2351001)(6916009)(6666003)(2950100002)(7059030)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0748; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD016; 1:tmt+nwUJYHLb9gtMQ1FXUkv73K4g0MUCdeixSFxahx1WH524xUZjioHa0tghHyMU1SLWWg2MBqTcHxg1iuLK0YPwAaSd0fyTDbSjLEV9GjW46qZyttt26RiXZJTJzUm5WfcUV+TTHFhjYST2+4TO816vQmY9nGrdq8ltsGAmqJ5XH63fMeZdXAY/GCIALj6kcnxPdqbq869QdBkUx7GWd6p0zLmNjJJzuWXu78Hx+ewvCHFy1cIDHM+xrle9JBuATo426O+Q28BV/lGtGJ+v+28KIP15b65TsmwQb3EC2SKvbouxbY3udT3EOiSZ5SvspCI9ojKlftNnr205Omh4e9LnXbVll6LMLodO5usMc1DCMw/6hf3VAygdsGSnVge2RClcpUgGDJ6fUHLsXP9IQU3eLEkzym7PcgEhVfshvLAUSyoEiChahMjD62OebNZmL+JdpJgUrHqGlxoR8WUJ26mBkRaBUEuQ6L7FdI+Du8xqxEr3XMp6omvvBfeu8OGfavd9bmKOOLEEj66jikA4yf+O2xmEr9eMQQH79yuORszDZuLH6DKo/vTbIcIgwJnuxVSZh/zpN6zYbiP+3YzhBdMdjnxUq9X36Yd0U6pMQ5L5dvNKFGB3Hf6qXbmMIne6I6NVqartCwiYE29e1N471ioXutEFjih83BSynEF8ObvGks3Zz9MXYHQiWeHRAv//detBdt3++GvOUEF3YKQrWpHFjls6dZqceEwSCCM1lF84Nd6vXFq81aq9NpLVfiyWD+4AUe8ILVinSpPwnQWImNMs/X2o34jqZnnP1LOq+Bk= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: eec70a45-3247-4444-932d-08d42fa9a139 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY1PR0301MB0748; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0748; 3:GTTyTOVVoPvVUKrU6taKVAno6mHvvEFmrm10edDKE6HARlR6hQlrW1oQCe038WolpcG6jlchEVWzCLpoUchzMBdiLcMrhRM4v7/jh7W21v2b0ATy6z57x49z8/Lv6f64jV1PJu+P8jNXICrakwMIPqTjhNNJu3nuvZRno4l2H3/esalqHoP8BYbQ10xyLRiggY3ywC3VYnkAZ0GosTDKbe0HTcOvcH/Ko2b5p7UgFBp84wgqJynibT9wkMjkT2h62PIZHr23wYsvlx8sUGmrU2N1Eb/b/oJp2apKWHjBUcCNS/GKRmmwzhMQcTEun9tZYhVdKInfCiM9p1VUmKLAPOR0QVgwFgnLj53t5oDN+VA= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0748; 25:i9BZs9a/1U6d2G+Jy5frdgCCpLtrdEgGxOslONAoaLWmpURuB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w== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13024025)(13023025)(13015025)(13017025)(13018025)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(20161123559025)(20161123556025)(20161123565025)(20161123563025); SRVR:CY1PR0301MB0748; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB0748; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0748; 4:ECjbRPCqP/DB7gP9+pfd/8JEAwzY4F7PLVMapI65YhgHJ1JGqTYRdddliVaCWQ37lk9fTESPUsbgNCITyP3lFGTog5I9zd+5cxo3fuMZrU8lGH59YjHkdvrm5ARLpvi/LCHKWZyDZ5U/Cm2xJSMjisYovriFntGIQ6h6CLNwW7QlVgb76/pbeymTNgCXRRRO25hRmVE9iobcquZqvVFR+B6AnHP/2FQUnyPwIbSL7VJItdhMFGi1aASIFHnX43UF/xrAuWcnj5bGgMFtLFg3PwOsO7X3FmM2KPgUapemxwOxATh1cTDfTFFQa6+/+n2YWHfYTu8GyHm6voEL+/bsRqtJRl/gCmEaZwyshFF7ojIfUGACQSedkAVhnKlpoV/81o9hqIsq/ZTmIsLeatF4kIAtFPU62BNjA3griAn2R2Oz2Q12leRd9//YRGj2yR5/3g0c6MILIvHFTOgxkmWvphqs5Bl0WldGhcDNR/u4LeSfarGwi3KEZHkYSekyzmXEoNYwG3ZG7xnGiJ6W9wEE6z8NA9sCyFNfuryeWAQBXAnaTkTETUw5xEeQMUON0uNEtOiEjzE/TGl3UlrDqKxtYLYU21E5KstVuNQcWulOL6GHLDLPa0y9O/eZvSKf9pICJuexc5VPBpguj3AIF7NQOyL5DDuGhSJpg7YpNZvykXTYgyI9UiBlegINQsrZfH29i1tlIg1yVvDduL7z4RvxC9MP/4Imf1IIkWsAtCMEzHbuqdq5HSAfhJVmS5NAkmI2 X-Forefront-PRVS: 01713B2841 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0748; 23:0bNLcd6aCP7QSDMA0e2s8hSH3Yozzaswkx+5vWD?= =?us-ascii?Q?fxyivzXqFj2y56ruijgRv+kVNyF6c270oehVWP+ZHZLjs7PfTppWStDNTaC1?= =?us-ascii?Q?SvZ5qByv6Aaw4v0RYej1bTJyk441SY+sT4mJrEgdj3ja/3z+Q+B2UE7PPRnd?= =?us-ascii?Q?FSwVz8qeFmZFveH54pACshd0L/T5Mj8yNSrDoG86jN8NuJvezPimms3rEOPl?= =?us-ascii?Q?keQKbul68SNtXHGA11Wd2AtCES/1mDmxlnFdQZwtrdqdTaftOhSpmOxg1Ncp?= =?us-ascii?Q?Ug0nbJnOGGJj064LRzBATmM1/G0oGKwbN+wrIO+b3PxdmhZwgf/nyHg7U159?= =?us-ascii?Q?em//vnVsK87iXlyzbuQHytIaR2jCdDxYK+edX1SCUf9cQxseckIqG9tly2mX?= =?us-ascii?Q?UqvK0f6eEhqr7R1APjuk01dorfq9xlsqmNbLVfB7Qv9sr4voyzFYKVRat/zd?= =?us-ascii?Q?lTNxjA+kQJQzvSFNzKh39XWW5+g8dijmgdoAQ9bIleGcAxOJ69wpYutVK8iu?= =?us-ascii?Q?CEC2l/SWHaHIFjQx0jg1Mb6k3PAOYoU0VLWsc+GL/kMaUUiPOK7ba2IaVk00?= =?us-ascii?Q?jQgymOInNrYrEd7WsHr99+GvhcoOtCh5eAgeUeoUHNGZlXL3wzczH1h/bTP/?= =?us-ascii?Q?eIrllLlMewuZvGsWHKVM2E/lIR0S+85zXYzNu8NWpUuLQ8hPtz9XtpMHhdgG?= =?us-ascii?Q?Jj37AGaJIs7TA/BW5pNuf5vI8QW+YXPpWFZC0qvkSUF6MTHym8CW46z6gHYP?= =?us-ascii?Q?SnlMbKFlIiN5EyKjSH44evi45GpqdWjSzn4MNUmYTlj/MSK7LhSwqYSrVE/t?= =?us-ascii?Q?g5kJzVLiSMU50022W/jf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Vamow1WH++4fK9cN5NsmhJfMfTQVSg84k3H/Gx0VwY4b6gZ9QKdO1ZB1T5TnwlQ2OXjI9gJvPCu9Q0gL0RaupiaFDeT91VCps0za0; 5:eEpnm7OBfE7BgyvUwlKWUZsfhdiMZXc1LAckRjxFHVBS8DvoMbSAj/0fxlWxLJP4SW0P+u0DbqJBB2+M6EPVMvX/Ji/VOCXGli9OEcetpVktSYYfnHFKt0qVzpK4ATKzquhOtO/4IqmYnEo0UBtX4YvDwP0Y8/v1BDg36z1xfWoeeO/js2d98k4z6VQ7uMrf; 24:Bi2OsC9WTl+wwcGI9KPWcnpV0mgKpiKK8xiSsDm2t3t4KMTMUhFIesI9VHkvJB4V9yCeRdiMF7g5hueZ54V9W52BIJ/csUjOu2XaX+UnX3E= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0748; 7:QIEX623ZqWch7icYp7y8Hdo8fv150VP3uhTTv90HvRIh4XjxJkjILye3CsXN6yHEmGS5h76693ccP+MHoFMOSTg01PWaKrqnC2L/PS1O5NoIFkGaRIWUf4Tgc1yuUqowwU5b0zZNxDZFZhpOaNeUFHLEa9a3pzTXhS/8vw8Zef5U8xva9E+JuzrWIlHHfqQq1CdDJpmxyi2n6b0x+H+Cdw+6jqSBFxo8f0QHhJGfVujrjk8HXx7jr1U52nRO8HGZlWrKXQfZau6sTKfgOmAXAak6YtNpDH/f3eNHDtERtCXfiLzeuysL12D0ySIL3eJhsUCdVz14q8yUTgWoph3sIqmzlwQjV0AmHk04AjFvQyujDX2GYGjtYv+lUBcfID4jqy1QgAOCiUGAEfppmfcO6CTmKlSYwFfsnBPOxPquHCuPb+Qe8X3mV8Ses9q+szPpckThIpo3bMwRXt6LSX5D3Q== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Dec 2016 05:14:56.4626 (UTC) 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: CY1PR0301MB0748 Subject: [dpdk-dev] [PATCH v3 12/33] bus/fslmc: scan for net and sec devices 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: , X-List-Received-Date: Thu, 29 Dec 2016 05:15:01 -0000 From: Hemant Agrawal This patch will add support in fslmc vfio process to scan and parse the dpni and dpseci object for net and crypto devices. It will add the scanned devices to the fslmc bus. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_bus.c | 2 +- drivers/bus/fslmc/fslmc_vfio.c | 64 ++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 63 insertions(+), 3 deletions(-) diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c index d90f2b6..fe719fe 100644 --- a/drivers/bus/fslmc/fslmc_bus.c +++ b/drivers/bus/fslmc/fslmc_bus.c @@ -58,7 +58,7 @@ int rte_fslmc_scan(struct rte_bus *bus_d) FSLMC_BUS_LOG(ERR, "fslmc: Unable to setup devices"); return -1; } - RTE_LOG(INFO, EAL, "fslmc: Bus scan completed"); + RTE_LOG(INFO, EAL, "fslmc: Bus scan completed\n"); return 0; } diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index 54467d3..b133b55 100644 --- a/drivers/bus/fslmc/fslmc_vfio.c +++ b/drivers/bus/fslmc/fslmc_vfio.c @@ -209,15 +209,56 @@ static int64_t vfio_map_mcp_obj(struct fslmc_vfio_group *group, char *mcp_obj) return v_addr; } +static inline int +dpaa2_compare_dpaa2_dev(const struct rte_dpaa2_device *dev, + const struct rte_dpaa2_device *dev2) +{ + /*not the same family device */ + if (dev->dev_type != DPAA2_MC_DPNI_DEVID || + dev->dev_type != DPAA2_MC_DPSECI_DEVID) + return -1; + + if (dev->object_id == dev2->object_id) + return 0; + else + return 1; +} + +static void +fslmc_bus_add_device(struct rte_bus *bus, struct rte_dpaa2_device *dev) +{ + /* device is valid, add in list (sorted) */ + if (TAILQ_EMPTY(&bus->device_list)) { + rte_eal_bus_add_device(bus, &dev->device); + } else { + struct rte_dpaa2_device *dev2; + struct rte_device *r_dev2; + int ret; + + TAILQ_FOREACH(r_dev2, &bus->device_list, next) { + dev2 = container_of(r_dev2, struct rte_dpaa2_device, + device); + ret = dpaa2_compare_dpaa2_dev(dev, dev2); + if (ret <= 0) + continue; + + rte_eal_bus_insert_device(bus, &dev2->device, + &dev->device); + return; + } + rte_eal_bus_add_device(bus, &dev->device); + } +} + /* Following function shall fetch total available list of MC devices * from VFIO container & populate private list of devices and other * data structures */ -int fslmc_vfio_process_group(struct rte_bus *bus __rte_unused) +int fslmc_vfio_process_group(struct rte_bus *bus) { struct fslmc_vfio_device *vdev; struct vfio_device_info device_info = { .argsz = sizeof(device_info) }; - char *temp_obj, *object_type __rte_unused, *mcp_obj, *dev_name; + char *temp_obj, *object_type, *mcp_obj, *dev_name; int32_t object_id, i, dev_fd; DIR *d; struct dirent *dir; @@ -347,6 +388,25 @@ int fslmc_vfio_process_group(struct rte_bus *bus __rte_unused) FSLMC_VFIO_LOG(ERR, "DPAA2 VFIO_DEVICE_GET_INFO fail"); goto FAILURE; } + if (!strcmp(object_type, "dpni") || + !strcmp(object_type, "dpseci")) { + struct rte_dpaa2_device *dev; + + dev = malloc(sizeof(struct rte_dpaa2_device)); + if (dev == NULL) + return -1; + + memset(dev, 0, sizeof(*dev)); + /* store hw_id of dpni/dpseci device */ + dev->object_id = object_id; + dev->dev_type = (strcmp(object_type, "dpseci")) ? + DPAA2_MC_DPNI_DEVID : DPAA2_MC_DPSECI_DEVID; + + FSLMC_VFIO_LOG(DEBUG, "DPAA2: Added [%s-%d]\n", + object_type, object_id); + + fslmc_bus_add_device(bus, dev); + } } closedir(d); -- 2.7.4