From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0054.outbound.protection.outlook.com [104.47.33.54]) by dpdk.org (Postfix) with ESMTP id CD3AE99B6 for ; Thu, 25 May 2017 20:09:26 +0200 (CEST) Received: from BLUPR0301CA0015.namprd03.prod.outlook.com (10.162.113.153) by BY1PR0301MB0904.namprd03.prod.outlook.com (10.160.195.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Thu, 25 May 2017 18:09:25 +0000 Received: from BY2FFO11OLC003.protection.gbl (2a01:111:f400:7c0c::146) by BLUPR0301CA0015.outlook.office365.com (2a01:111:e400:5259::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9 via Frontend Transport; Thu, 25 May 2017 18:09:24 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11OLC003.mail.protection.outlook.com (10.1.15.183) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1075.5 via Frontend Transport; Thu, 25 May 2017 18:09:23 +0000 Received: from b27504-OptiPlex-790.ap.freescale.net (b27504-OptiPlex-790.ap.freescale.net [10.232.132.60]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v4PI84WK022340; Thu, 25 May 2017 11:09:20 -0700 From: Nipun Gupta To: CC: , , , , , , Nipun Gupta Date: Thu, 25 May 2017 23:37:40 +0530 Message-ID: <1495735671-4917-10-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1495735671-4917-1-git-send-email-nipun.gupta@nxp.com> References: <1495735671-4917-1-git-send-email-nipun.gupta@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131402093638801851; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39400400002)(39860400002)(39380400002)(39410400002)(39840400002)(39850400002)(39450400003)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(9170700003)(356003)(110136004)(38730400002)(498600001)(6666003)(189998001)(2906002)(50466002)(48376002)(305945005)(5660300001)(53936002)(36756003)(54906002)(2950100002)(76176999)(8656002)(50986999)(6916009)(5003940100001)(4326008)(85426001)(50226002)(77096006)(8676002)(81166006)(104016004)(86362001)(8936002)(105606002)(106466001)(2351001)(33646002)(47776003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0301MB0904; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC003; 1:8vBOjz6cpbRGzOzrq8aBgnIrfe3vCIorCdiq943Ds5PxcvFNMG0h11Y/rpe3RxIZey+KzzsEd0eYoiyOmYee+KiNja3yn7D64Kk/FYHWlUWLmrOS2MkTE3Uox9revupqIru7Slzd494GhJ7LlXZhGU3qrRmL/u6rQzheYf0KyZjaSeIrjyKjatcrs2Ud4i+RckddKB31OFGYVaodL/Zqw8jRJCdJstHyXzbAbtXKa8HjiHN4ccac5TyBAq3erGUqxCucLNdqsLDswwNpXv+lBkW7NpLv90haNcSdfTRumpX88IKIEKFcvMfcgVJ753A+W9n9uZIMY8d/i/8HTUKka4hb40t39q6WsVhm7TyZcsPHBYj/Zk+e7TmmNuBo7pUcjJ9H8xJa+JBjNQaCsUQoTGMCSXlCBGQCi5a4NZimGJsI05ZcERoszutWpiEnsT+3BHGK+xP0nA7jME1GDKjFToY+HPqsq98B44YUIrcOsh4FQP2Ahls7S6R8NnbTPKXlWyW2LeccJ4Cm0CA96DdrD4Qn0LGilyvl5HXk7xkm1jZuD0PwLvvaud2auFSkxUtqr2V2t/fWJx86VuDcOC/pzlfppi7LsLE803Ye6fAmapUc2tJT3VkNFPlrCNPBEUqVDlsO5anlR8WeSReOHUB981sKNvPuEr8Vxl8kbgG8uQlxirCR0f2wLFw6B7ZlMtvx11sWC/1XjmIdKyIH9e2qP9sayB0craKOzRTIQsLGc+4Tkh40bZvy5Qu9tuvx/Tm+BFvz9FpCxrxjXVEoXgxNcw== MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY1PR0301MB0904: X-MS-Office365-Filtering-Correlation-Id: b3af8c1c-e7bd-4eaa-4edb-08d4a3992c79 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BY1PR0301MB0904; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB0904; 3:GXgA5HNw1gF+1gvGThwrNFD7ur56vof//Cb6rFPjgR7iJH8ZjnxpH9VbFGggQQDC4YEFY2FfRy0r8ptLxHUbJdoWBF+fWLtrVSbK0jrpv8NtQyJHqwT0G47iFuAO2swzEFCFeyYIK7Cx0nr1Tu7KHgAvx3hjphIm6VMgpNm1wGP3hmltp8CAJAjfm9d2+NtplrhrIwa2IIUV69y8NPSKrdH71dwP1okDe1OvDlqMgQhxpX7XQYq5gxA1VCqXrF056SoxGTp0YN39ud/um2lvQKkLFYhJ/4YJHAhOr0Oz4WMLLlafyWEMlAoBVGmxrL3WxbmuPntLurV+qGFS4+A3uTCW2LEMST1tv8PZ8ZBscPgBxV3+FUW7bRChocEyhUPvXOnyjSQEa9gfZhFD90WTX4ZsV7gOYne5iE1MILScnfPb10kCnfMRIbRu5iy2Snvx; 25:u6/laR8vOl4mWGNtzw8G8lfHjUGPNHY4iJs4Zk63s3bkhToDcUF0IoX7EijeUqwTZ4/F1efgh7mFwVNq8J2nwhdnn2iGBsjN+MEkV27QomCVegAzb2M7sdiGZjU12b3+2TtAukXb9eZoHcho9B7UCMk20ud8Yz9Li4XFNWaRBmVoR7U5Qlu4ICySJ0d8updP6V5xkAxkGb0CumL//6869EZ1Io+d57RMddf/Vqh+zZrA7P8sx4AreU5UoOD8VnMIMTKzNuTN7B06NA/9gwUpl4nHrvW1kRNGHFaLMnWV+LpQI4HaWoguLcDJ/8DFn8fKdQ3cIKp2hIoL/y8kRa1+BiiB3n8IJmHlPZ1iXuaoy1alSAS9C3QWXwVlRkeFBFDlpMFvHH8QpxrHZX9PtjTYiE70fp4/GEt1xedlKWnu7X9Z72MCOfCTzysNxqUfZ5pfezClFg9kG3wEnZqtCknX4d+IzyJ/OUku50v35vkNIY4= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB0904; 31:olojCSjJNx8DWIAYUdtfPIK7UWr8nVLeiQ0+WCrqL7HOtm3tn5HBxopcVrYWzDlQdEdpI24rfeoAvJ+IwDev8kMayb4N2zvBYIiDlWt+cIXrprs++1DOuaDwePxzrURXOAUTsFsoCQvEWIROBxptYD6SHewTw9ObhXhWxWEU7yUYFHiqGVeWVq/TqmONE3jlssVaq63R8L+KcUjLBc101JxgK3q6WmoZaB/e2L1SEni8ENfNBPnCK0fOMZC13Isvx0XaUa+yybNLqZDDpIiXSQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(13017025)(13015025)(5005006)(13024025)(13023025)(8121501046)(13018025)(3002001)(93006095)(93001095)(10201501046)(6055026)(6096035)(20161123561025)(20161123556025)(20161123563025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123565025)(20161123559100); SRVR:BY1PR0301MB0904; BCL:0; PCL:0; RULEID:(400006); SRVR:BY1PR0301MB0904; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB0904; 4:fzoY+HLbYLybapwP0pZ7AnUvgZy0n+ncZX98NinA?= =?us-ascii?Q?qrGDs0BB1fGhSdKi6twU43HDl9CjsCM86Me/leeI00E0pHuXRgfdxAJuS4fh?= =?us-ascii?Q?jKH5TnGArtKl/fC9MWg9jesoNLrYSJBeXnk6AUxYoe6XYXZv5HzbCWVp7Wzm?= =?us-ascii?Q?2BLyv19bmjozToj1WP0tY9bXp4OvG6HyFYxhG2LcY5FIaZbG3KDlspe30kzT?= =?us-ascii?Q?0kpJ8d54NhiZhdwVsfkcP0GfQif1oL9PIz6GwuMwQai52ITRzpLR8ztaVzxf?= =?us-ascii?Q?QgfBCSMKae9Spx3ArFvfrsZbZPwy2GA0Sp/Ag8RdEL+PuyVfmgaWBDJVL7Na?= =?us-ascii?Q?AtrJ1gU3P34TdbWeyvVu0Iyjtc22CDLQYN6B26SNFq6bi43ehvel28M7AbwF?= =?us-ascii?Q?9yl06I2EvAjt1S0X5HvSMBNA8L5M5MGX/IVEFEkQ1HA4QQ1lxDPx3peFNRcy?= =?us-ascii?Q?N+4opfXCmVcS88YctNLsImgykzPqWmKCc+ukHbLdmCbT31qjrDXNBZDJI+Td?= =?us-ascii?Q?W7pTqIwZeX4qV84HwPQwt7WqXx5mP0MNIluhJdP9J9stvEtpInF1jLFNnd6Y?= =?us-ascii?Q?bAN9jqMCOlQSo1RJ3I5hIEZnG5uKAKfXfR3lGofSckaWzPAxviG+W7ShqTY4?= =?us-ascii?Q?LFHFQi00kQSmHMXz48/iOuyZriUs/+Z5+GZAwTvTqh657NeJN22J/6sLmenp?= =?us-ascii?Q?UKA0lwXlZFZ2lD2qq4Y+u9kUKBZNqTp5ZzTuXcsAewToiUsGqJqVNE1bCzng?= =?us-ascii?Q?GKRMCazlL7FEvWQ7x/ENOC+NZ/hgVdR/V05Rbo92lh2EPtCebWQrp//HMbFa?= =?us-ascii?Q?97stKYD7zTxTVWxd+TqdqFUqLfoIPB94wBHgErM2gp9+Ru6yChrCZwB1pOro?= =?us-ascii?Q?AyP90d+GNaibkDrY+Cuo0deuyL8NbPhzJ/lXPsZt/vAQt0w7VkIMnvC8byJm?= =?us-ascii?Q?84L2/joUDfsQAP2iy/IjzoErPu3B8O/EhsfACXHZ8pYu9sRvbufjaS1aqRhe?= =?us-ascii?Q?cqzLzIu4InXuBs7CNm8tT+Fo?= X-Forefront-PRVS: 0318501FAE X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB0904; 23:N+T832Z2FRcNI/w4WPI79VtqX2alG5PxHNQ/OEM?= =?us-ascii?Q?hYCdI26AtIQ+t68LxG1NbgWtjpxFbMECxWgfOlWPX9Y20FcrIDHvY02zWPBW?= =?us-ascii?Q?NuU4J0twPDBMbG85Mihkw3MLIDfppgN7Jut9cwShg8p0u/BUqjH/OLL2g5L7?= =?us-ascii?Q?cyGIyJsdPaNCLzqIV+37bNmB3iK+fsUjiZjwv5t11bMBZs+pIGgjdbdUmyX7?= =?us-ascii?Q?QmCZXd41XkofioD0MlkYxqeTR16T5q6aylil2QS/mQ78WjF6E80F2OhcWPFv?= =?us-ascii?Q?f2zEffSHqCU4AJzYoBdSAgZrhd8o9rz/o/1XJTfIqC9TC4EgOl/VknPTeJNa?= =?us-ascii?Q?fWVH+4TzJ8E0gBuIY5YmBEhmmzuwbLdltdFS78C9RF8nFw0cgf02m0euwC+7?= =?us-ascii?Q?oQF+9x8G2IgTLmBCRNwbI+UdyCwqroF9XZPcXHZiF1Rlg80yITrWKxnB5SBH?= =?us-ascii?Q?BgMmj+XXG+DhlK24On3eOpPjpElneKxuAnoJQr3/wnhyjffhBD72DArmaqf3?= =?us-ascii?Q?lYy2IFdafV9RFO1acqiIUJdcV4r4zu57YaS6+IMAhLWMZkMW0EsDdvll0kEU?= =?us-ascii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iYjUK1acA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2017 18:09:23.5681 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB0904 Subject: [dpdk-dev] [PATCH 09/20] bus/fslmc: adding cpu support in stashing config 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, 25 May 2017 18:09:27 -0000 Stashing can also be configured by other drivers (for instance event driver) passing cpu_id as an argument. This change facilitates the same. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 14 ++++++-------- drivers/bus/fslmc/portal/dpaa2_hw_dpio.h | 4 ++++ drivers/bus/fslmc/rte_bus_fslmc_version.map | 2 ++ 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c index 1dcc91f..f88d490 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c @@ -172,13 +172,11 @@ } static int -dpaa2_configure_stashing(struct dpaa2_dpio_dev *dpio_dev) +dpaa2_configure_stashing(struct dpaa2_dpio_dev *dpio_dev, int cpu_id) { - int sdest; - int cpu_id, ret; + int sdest, ret; /* Set the Stashing Destination */ - cpu_id = rte_lcore_id(); if (cpu_id < 0) { cpu_id = rte_get_master_lcore(); if (cpu_id < 0) { @@ -206,7 +204,7 @@ return 0; } -static inline struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(void) +struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(int cpu_id) { struct dpaa2_dpio_dev *dpio_dev = NULL; int ret; @@ -222,7 +220,7 @@ static inline struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(void) PMD_DRV_LOG(DEBUG, "New Portal=0x%x (%d) affined thread - %lu", dpio_dev, dpio_dev->index, syscall(SYS_gettid)); - ret = dpaa2_configure_stashing(dpio_dev); + ret = dpaa2_configure_stashing(dpio_dev, cpu_id); if (ret) PMD_DRV_LOG(ERR, "dpaa2_configure_stashing failed"); @@ -262,7 +260,7 @@ static inline struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(void) } /* Populate the dpaa2_io_portal structure */ - dpaa2_io_portal[lcore_id].dpio_dev = dpaa2_get_qbman_swp(); + dpaa2_io_portal[lcore_id].dpio_dev = dpaa2_get_qbman_swp(lcore_id); if (dpaa2_io_portal[lcore_id].dpio_dev) { RTE_PER_LCORE(_dpaa2_io).dpio_dev @@ -308,7 +306,7 @@ static inline struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(void) } /* Populate the dpaa2_io_portal structure */ - dpaa2_io_portal[lcore_id].sec_dpio_dev = dpaa2_get_qbman_swp(); + dpaa2_io_portal[lcore_id].sec_dpio_dev = dpaa2_get_qbman_swp(lcore_id); if (dpaa2_io_portal[lcore_id].sec_dpio_dev) { RTE_PER_LCORE(_dpaa2_io).sec_dpio_dev diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.h b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.h index f2e1168..4269800 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.h +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.h @@ -53,6 +53,10 @@ struct dpaa2_io_portal_t { #define DPAA2_PER_LCORE_SEC_DPIO RTE_PER_LCORE(_dpaa2_io).sec_dpio_dev #define DPAA2_PER_LCORE_SEC_PORTAL DPAA2_PER_LCORE_SEC_DPIO->sw_portal +extern struct dpaa2_io_portal_t dpaa2_io_portal[RTE_MAX_LCORE]; + +struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(int cpu_id); + /* Affine a DPIO portal to current processing thread */ int dpaa2_affine_qbman_swp(void); diff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map b/drivers/bus/fslmc/rte_bus_fslmc_version.map index 4f62e08..fdc6e21 100644 --- a/drivers/bus/fslmc/rte_bus_fslmc_version.map +++ b/drivers/bus/fslmc/rte_bus_fslmc_version.map @@ -53,6 +53,8 @@ DPDK_17.05 { DPDK_17.08 { global: + dpaa2_io_portal; + dpaa2_get_qbman_swp; dpci_set_rx_queue; dpcon_open; dpcon_get_attributes; -- 1.9.1